mocking a static template method

2,262 views
Skip to first unread message

Jim

unread,
Jan 17, 2017, 2:12:17 PM1/17/17
to Google C++ Mocking Framework
Could anyone provided advise on how to mock the following method:

static TypeT DoSomething()
{
 return <TypeT>;
}

Appreciate any help from the pros. :)

Keith Ray

unread,
Jan 17, 2017, 3:52:36 PM1/17/17
to Jim, Google C++ Mocking Framework
--

---
You received this message because you are subscribed to the Google Groups "Google C++ Mocking Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googlemock+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/googlemock/8ee71bcc-a7f8-4092-ac1c-1f9fbbe610ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages