Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Google C++ Mocking Framework
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
Mocking static template method
157 views
Skip to first unread message
Jim
unread,
Jan 17, 2017, 2:12:17 PM
1/17/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google C++ Mocking Framework
Hi,
Could anyone provide guidance on how to mock a template method as below:
static TypeT GetId()
{
...
return <the specific type>;
}
I'm not sure how to mock this.
Thank you for any help.
Reply all
Reply to author
Forward
0 new messages