Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Google C++ Mocking Framework
Conversations
About
Google C++ Mocking Framework
Contact owners and managers
1â30 of 708
Mark all as read
Report group
0 selected
David Wallace
2
4/18/17
Upgrading from 1.6 to 1.8.0 - CMake issues
I found the problem - deleting the "add_subdirectory(googletest)" from my top-level CMake
unread,
Upgrading from 1.6 to 1.8.0 - CMake issues
I found the problem - deleting the "add_subdirectory(googletest)" from my top-level CMake
4/18/17
Jim
,Â
Keith Ray
2
1/17/17
mocking a static template method
http://stackoverflow.com/questions/8942330/google-mock-unit-testing-static-methods-c http://
unread,
mocking a static template method
http://stackoverflow.com/questions/8942330/google-mock-unit-testing-static-methods-c http://
1/17/17
Jim
1/17/17
Mocking static template method
Hi, Could anyone provide guidance on how to mock a template method as below: static TypeT GetId() { .
unread,
Mocking static template method
Hi, Could anyone provide guidance on how to mock a template method as below: static TypeT GetId() { .
1/17/17
mrp
,Â
Samuel Benzaquen
3
1/17/17
Invoke a function on a passed argument
Thanks Samuel. I modified my EXPECT_CALL as : EXPECT_CALL(_http, post(testing::_, testing::_, testing
unread,
Invoke a function on a passed argument
Thanks Samuel. I modified my EXPECT_CALL as : EXPECT_CALL(_http, post(testing::_, testing::_, testing
1/17/17
Tomasz Michalski
12/16/16
how to make EXPECT_CALL on union object
Hi Due to some reason passing to EXPECT_CALL struct or union argument is designed by gmock people in
unread,
how to make EXPECT_CALL on union object
Hi Due to some reason passing to EXPECT_CALL struct or union argument is designed by gmock people in
12/16/16
Alex Shaver
12/1/16
GoogleMock CMake overrides 'BUILD_SHARED_LIBS' variable (gmock 1.8.0 release)
I have a project where I have set BUILD_SHARED_LIBS ON at the top level. I have placed status
unread,
GoogleMock CMake overrides 'BUILD_SHARED_LIBS' variable (gmock 1.8.0 release)
I have a project where I have set BUILD_SHARED_LIBS ON at the top level. I have placed status
12/1/16
Alex Shaver
,Â
Samuel Benzaquen
3
11/15/16
Is there any way to access a Mocked object created from some other factory function.
mBar is private, so I can't just access it like that. I think you may be right that this is a
unread,
Is there any way to access a Mocked object created from some other factory function.
mBar is private, so I can't just access it like that. I think you may be right that this is a
11/15/16
dev123
, â¦Â
Vikash Kumar
3
11/9/16
Cannot build gmock on Solaris 10
Anyone has figured it out yet? Still getting the error on solaris 10 On Monday, April 7, 2014 at 10:
unread,
Cannot build gmock on Solaris 10
Anyone has figured it out yet? Still getting the error on solaris 10 On Monday, April 7, 2014 at 10:
11/9/16
VÃctor Jiménez
11/7/16
Moving a mock object
This discussion clearly states the reasons why mock objects are not copyable. But, I wonder if there
unread,
Moving a mock object
This discussion clearly states the reasons why mock objects are not copyable. But, I wonder if there
11/7/16
Cindy
11/7/16
Question regarding abstract interfaces and mocks
I apologize if this is a stupid question, but I'm new to C++, GTest, and GMock and am trying my
unread,
Question regarding abstract interfaces and mocks
I apologize if this is a stupid question, but I'm new to C++, GTest, and GMock and am trying my
11/7/16
Mark Levy
, â¦Â
mohamed tebourbi
5
11/7/16
Compiling problems
Hi please can you help me with these errors /sr/gldev/delivery/gtest/gtest-1.7.0/include/gmock/
unread,
Compiling problems
Hi please can you help me with these errors /sr/gldev/delivery/gtest/gtest-1.7.0/include/gmock/
11/7/16
Edwin Vane
11/1/16
Reasons why an exception thrown from googlemock can't be caught
Hi, This strange problem is probably not an issue with googlemock itself but perhaps in the way it is
unread,
Reasons why an exception thrown from googlemock can't be caught
Hi, This strange problem is probably not an issue with googlemock itself but perhaps in the way it is
11/1/16
Erica Bradnick
10/9/16
BuiltInDefaultValue issue with boost::tuple and non-default constructor
I am migrating code from C++98 to C++11 and running into a compile error with gmock (compiles fine C+
unread,
BuiltInDefaultValue issue with boost::tuple and non-default constructor
I am migrating code from C++98 to C++11 and running into a compile error with gmock (compiles fine C+
10/9/16
Francois Echantillac
,Â
Samuel Benzaquen
3
9/28/16
Gmock race when setting expectations
Fair enough. Thanks for the pointer, I overlooked that important note :) On 09/28/2016 02:15 PM,
unread,
Gmock race when setting expectations
Fair enough. Thanks for the pointer, I overlooked that important note :) On 09/28/2016 02:15 PM,
9/28/16
Maurice van der Pot
,Â
Samuel Benzaquen
2
8/10/16
MATCHERs vs ACTIONs for printing details about large structures that didn't match
On Wed, Aug 10, 2016 at 2:56 AM, Maurice van der Pot <
[email protected]
> wrote: In some of
unread,
MATCHERs vs ACTIONs for printing details about large structures that didn't match
On Wed, Aug 10, 2016 at 2:56 AM, Maurice van der Pot <
[email protected]
> wrote: In some of
8/10/16
Nagaraj CH
,Â
Samuel Benzaquen
2
8/10/16
Actual function call count doesn't match EXPECT_CALL
On Fri, Aug 5, 2016 at 4:34 AM, Nagaraj CH <
[email protected]
> wrote: class imUtils {
unread,
Actual function call count doesn't match EXPECT_CALL
On Fri, Aug 5, 2016 at 4:34 AM, Nagaraj CH <
[email protected]
> wrote: class imUtils {
8/10/16
benoit vedrenne
, â¦Â
[email protected]
7
8/10/16
PrintTo link issue
Ahh, I'm sorry about that, changing the settings for the gmock project did the trick for me too..
unread,
PrintTo link issue
Ahh, I'm sorry about that, changing the settings for the gmock project did the trick for me too..
8/10/16
Gavriloiu Alexandru
7/6/16
Complex Tutorial
Where can I find a more complex tutorial of using google test? I already know the basics. Thanks for
unread,
Complex Tutorial
Where can I find a more complex tutorial of using google test? I already know the basics. Thanks for
7/6/16
Nikita Verma
6/20/16
Definition not found for MOCK_METHOD*
Hi All, I am using Visual Studio 2015 and this is my first test case with gmock. I am getting error:
unread,
Definition not found for MOCK_METHOD*
Hi All, I am using Visual Studio 2015 and this is my first test case with gmock. I am getting error:
6/20/16
nomec
,Â
Samuel Benzaquen
2
4/15/16
Gmock EXPECT_CALL Pointer as Input Parameter
On Wed, Apr 13, 2016 at 8:38 AM, 'nomec' via Google C++ Mocking Framework <googlemock@
unread,
Gmock EXPECT_CALL Pointer as Input Parameter
On Wed, Apr 13, 2016 at 8:38 AM, 'nomec' via Google C++ Mocking Framework <googlemock@
4/15/16
Brenda Martis
,Â
Alex Shaver
2
4/13/16
NiceMock vs StrickMock
Before moving to github, the documentation used to have a lot better table of contents/indexing. This
unread,
NiceMock vs StrickMock
Before moving to github, the documentation used to have a lot better table of contents/indexing. This
4/13/16
Harrish Jeyabalu
4/12/16
Segmentation fault on executing EXPECT_CALL in GMock framework
Hi Team, I am facing a GMock Run time Segmentation fault issue. When i run the object of the GMock
unread,
Segmentation fault on executing EXPECT_CALL in GMock framework
Hi Team, I am facing a GMock Run time Segmentation fault issue. When i run the object of the GMock
4/12/16
Yogish Acharya
, â¦Â
Vlad Losev
3
3/3/16
Google Mock not able to mock LPCTSTR parameter
LPCTSTR is just a pointer, so EXPECT_CALL(*objBasicSection, GetData(key)) ends up expecting the
unread,
Google Mock not able to mock LPCTSTR parameter
LPCTSTR is just a pointer, so EXPECT_CALL(*objBasicSection, GetData(key)) ends up expecting the
3/3/16
Yogish Acharya
,Â
Corey Kosak
2
3/3/16
Visual studio 8, problem with mocking methods which is having LPCTSTR parameters
It's always better for us if we have real code to work with rather than something put together in
unread,
Visual studio 8, problem with mocking methods which is having LPCTSTR parameters
It's always better for us if we have real code to work with rather than something put together in
3/3/16
David Wallace
2/25/16
How to move mocked method without breaking unit tests
This is a problem that may start with a possible "abuse" of gmock. I've got a legacy
unread,
How to move mocked method without breaking unit tests
This is a problem that may start with a possible "abuse" of gmock. I've got a legacy
2/25/16
Max Davies-Smith
,Â
Corey Kosak
2
2/24/16
Gmock returning a mock by value
I don't see how this could ever work. The mock class is a subclass of the original class. If your
unread,
Gmock returning a mock by value
I don't see how this could ever work. The mock class is a subclass of the original class. If your
2/24/16
Troels
,Â
Uri Goren
2
2/22/16
Replacing an ON_CALL default action
Hi, I also want the exact same thing, though for a somewhat different reason. I use saveArg to store
unread,
Replacing an ON_CALL default action
Hi, I also want the exact same thing, though for a somewhat different reason. I use saveArg to store
2/22/16
Saad Ur Rahman
, â¦Â
User
10
2/10/16
Build failure with VS2015
It should also help to check that the Google Mock library compiled correctly. Also note that some
unread,
Build failure with VS2015
It should also help to check that the Google Mock library compiled correctly. Also note that some
2/10/16
Dave Rathnow
, â¦Â
Corey Kosak
8
1/20/16
How to use ElementsAreArray with C-Style arrays.
Yeah, that whole section of the documentation refers to the case where the argument being matched is
unread,
How to use ElementsAreArray with C-Style arrays.
Yeah, that whole section of the documentation refers to the case where the argument being matched is
1/20/16
[email protected]
,Â
Corey Kosak
2
1/19/16
EXPECT_CALL not happening in File I/O
Hm. Your test actually passes for me, once I give test_file a value (you leave it undefined) FILE*
unread,
EXPECT_CALL not happening in File I/O
Hm. Your test actually passes for me, once I give test_file a value (you leave it undefined) FILE*
1/19/16