From 6e0fba4de0c506dff05598799fcc56fccfdcc669 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Mon, 16 Sep 2013 05:50:53 +0000 Subject: fixes the bug reported by Andrzej Jarzabek where 2 gmock tests fail when built with VS --- test/gmock-spec-builders_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/gmock-spec-builders_test.cc b/test/gmock-spec-builders_test.cc index 92e7d343..843681cf 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(); -- cgit v1.2.3