diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-09-16 05:50:53 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-09-16 05:50:53 +0000 |
commit | 30518fb7c721b4d7b2f13c8eeab4566d8d0dfede (patch) | |
tree | 43ff0831f305681e1507a522d5485c201ec91894 | |
parent | 0364be7dfbb68cf9fb5344aa602022eab9f29228 (diff) | |
download | googlemock-30518fb7c721b4d7b2f13c8eeab4566d8d0dfede.tar.gz |
fixes the bug reported by Andrzej Jarzabek where 2 gmock tests fail when built with VS
git-svn-id: http://googlemock.googlecode.com/svn/trunk@450 8415998a-534a-0410-bf83-d39667b30386
-rw-r--r-- | test/gmock-spec-builders_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gmock-spec-builders_test.cc b/test/gmock-spec-builders_test.cc index 92e7d34..843681c 100644 --- a/test/gmock-spec-builders_test.cc +++ b/test/gmock-spec-builders_test.cc @@ -886,7 +886,7 @@ TEST(ExpectCallTest, TakesDefaultActionWhenWillListIsExhausted) { " - returning default value.")); } -TEST(FunctionMockerTest, ReportsExpectCallLocationForExhausedActions) { +TEST(FunctionMockerMessageTest, ReportsExpectCallLocationForExhausedActions) { MockB b; std::string expect_call_location = FormatFileLocation(__FILE__, __LINE__ + 1); EXPECT_CALL(b, DoB()).Times(AnyNumber()).WillOnce(Return(1)); @@ -900,7 +900,7 @@ TEST(FunctionMockerTest, ReportsExpectCallLocationForExhausedActions) { EXPECT_PRED_FORMAT2(IsSubstring, expect_call_location, output); } -TEST(FunctionMockerTest, +TEST(FunctionMockerMessageTest, ReportsDefaultActionLocationOfUninterestingCallsForNaggyMock) { std::string on_call_location; CaptureStdout(); |