calvert1991/googlemock

Some tests fail when built together in gmock_test

Closed this issue · 4 comments

Tests FunctionMockerTest.ReportsExpectCallLocationForExhausedActions  and
FunctionMockerTest.ReportsDefaultActionLocationOfUninterestingCalls (from 
gmock-speck-builders_test.cc) fail because they are defined using TEST() while 
there are tests in gmock-generated-function-mockers_test.cc that use 
FunctionMockerTest as their test fixture.

We need to rename or to move the tests in gmock-speck-builders_test.cc so that 
there is no name collision. possibly add gmock_test to CMakeLists.txt, too.

Original issue reported on code.google.com by vladlosev on 29 Aug 2011 at 5:04

I'm not sure about other environments, however, I can confirm these tests fail 
when compiled with Visual Studio 2010.

Original comment by travis.m...@gmail.com on 23 Oct 2012 at 6:33

Yes, I have the same issue with VC 2010.

Original comment by che...@garena.com on 10 Jul 2013 at 11:14

[deleted comment]
Fixed in trunk r450.

Original comment by w...@google.com on 16 Sep 2013 at 4:23

  • Changed state: Fixed