simonwangw / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Some tests fail when built together in gmock_test #145

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Yes, I have the same issue with VC 2010.

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

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed in trunk r450.

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