summaryrefslogtreecommitdiff
path: root/test/gmock_output_test_golden.txt
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-04-22 22:25:31 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-04-22 22:25:31 +0000
commitacba0d1a96875ea0bbc69b9e91e7adb99ad8b15f (patch)
tree9c04a37b5aa0cf26aff318ae43cbf4cacca1755f /test/gmock_output_test_golden.txt
parentc9da04c70d95f5a9a4a67d93ae20fbb91caf42e9 (diff)
downloadgooglemock-acba0d1a96875ea0bbc69b9e91e7adb99ad8b15f.tar.gz
Implements --gmock_catch_leaked_mocks and Mock::AllowLeak.
git-svn-id: http://googlemock.googlecode.com/svn/trunk@139 8415998a-534a-0410-bf83-d39667b30386
Diffstat (limited to 'test/gmock_output_test_golden.txt')
-rw-r--r--test/gmock_output_test_golden.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/gmock_output_test_golden.txt b/test/gmock_output_test_golden.txt
index 374e665..50ef7b7 100644
--- a/test/gmock_output_test_golden.txt
+++ b/test/gmock_output_test_golden.txt
@@ -1,4 +1,3 @@
-Running main() from gmock_main.cc
[ RUN ] GMockOutputTest.ExpectedCall
FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked
@@ -280,6 +279,8 @@ Called 2 times, but only 1 WillOnce() is specified - taking default action speci
FILE:#:
Stack trace:
[ OK ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
+[ RUN ] GMockOutputTest.CatchesLeakedMocks
+[ OK ] GMockOutputTest.CatchesLeakedMocks
[ FAILED ] GMockOutputTest.UnexpectedCall
[ FAILED ] GMockOutputTest.UnexpectedCallToVoidFunction
[ FAILED ] GMockOutputTest.ExcessiveCall
@@ -294,3 +295,7 @@ Stack trace:
[ FAILED ] GMockOutputTest.UnexpectedCallWithDefaultAction
[ FAILED ] GMockOutputTest.ExcessiveCallWithDefaultAction
+
+FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
+FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
+ERROR: 2 leaked mock objects found at program exit.