diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-03-01 07:10:07 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-03-01 07:10:07 +0000 |
commit | c896504e4175f08cd229ea151861558ba9380f50 (patch) | |
tree | c78f2e310a74687fb6ca7d0ea214c30979895146 /test/gmock_output_test_.cc | |
parent | 20d1a235bcfba95d1f436c9335bd46e9d62b64a2 (diff) | |
download | googletest-c896504e4175f08cd229ea151861558ba9380f50.tar.gz googletest-c896504e4175f08cd229ea151861558ba9380f50.tar.bz2 googletest-c896504e4175f08cd229ea151861558ba9380f50.zip |
Improves the tests for nice, naggy, and strict mocks.
Diffstat (limited to 'test/gmock_output_test_.cc')
-rw-r--r-- | test/gmock_output_test_.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/gmock_output_test_.cc b/test/gmock_output_test_.cc index c8e6b831..44cba342 100644 --- a/test/gmock_output_test_.cc +++ b/test/gmock_output_test_.cc @@ -43,6 +43,7 @@ using testing::_; using testing::AnyNumber; using testing::Ge; using testing::InSequence; +using testing::NaggyMock; using testing::Ref; using testing::Return; using testing::Sequence; @@ -61,7 +62,7 @@ class MockFoo { class GMockOutputTest : public testing::Test { protected: - MockFoo foo_; + NaggyMock<MockFoo> foo_; }; TEST_F(GMockOutputTest, ExpectedCall) { |