summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock_output_test_golden.txt
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-04-05 16:09:17 -0400
committerGennadiy Civil <misterg@google.com>2018-04-05 16:09:17 -0400
commitfe402c27790ff1cc9a7e17c5d0aea4ebe7fd8a71 (patch)
tree8ba4de15422544aa4995d4dc269c61167866b00e /googlemock/test/gmock_output_test_golden.txt
parent7e5f90d3780d553cb86771141fb81349f3a63508 (diff)
downloadgoogletest-fe402c27790ff1cc9a7e17c5d0aea4ebe7fd8a71.tar.gz
googletest-fe402c27790ff1cc9a7e17c5d0aea4ebe7fd8a71.zip
Merging gMock, 2
Diffstat (limited to 'googlemock/test/gmock_output_test_golden.txt')
-rw-r--r--googlemock/test/gmock_output_test_golden.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/googlemock/test/gmock_output_test_golden.txt b/googlemock/test/gmock_output_test_golden.txt
index 689d5eeb..dbcb2118 100644
--- a/googlemock/test/gmock_output_test_golden.txt
+++ b/googlemock/test/gmock_output_test_golden.txt
@@ -288,6 +288,12 @@ Stack trace:
[ OK ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
[ RUN ] GMockOutputTest.CatchesLeakedMocks
[ OK ] GMockOutputTest.CatchesLeakedMocks
+[ RUN ] GMockOutputTest.PrintsMatcher
+FILE:#: Failure
+Value of: (std::pair<int, bool>(42, true))
+Expected: is pair (is >= 48, true)
+ Actual: (42, true) (of type std::pair<int, bool>)
+[ FAILED ] GMockOutputTest.PrintsMatcher
[ FAILED ] GMockOutputTest.UnexpectedCall
[ FAILED ] GMockOutputTest.UnexpectedCallToVoidFunction
[ FAILED ] GMockOutputTest.ExcessiveCall
@@ -302,9 +308,10 @@ Stack trace:
[ FAILED ] GMockOutputTest.MismatchArgumentsAndWith
[ FAILED ] GMockOutputTest.UnexpectedCallWithDefaultAction
[ FAILED ] GMockOutputTest.ExcessiveCallWithDefaultAction
+[ FAILED ] GMockOutputTest.PrintsMatcher
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#.
FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
-ERROR: 3 leaked mock objects found at program exit.
+ERROR: 3 leaked mock objects found at program exit. Expectations on a mock object is verified when the object is destructed. Leaking a mock means that its expectations aren't verified, which is usually a test bug. If you really intend to leak a mock, you can suppress this error using testing::Mock::AllowLeak(mock_object), or you may use a fake or stub instead of a mock.
OpenPOWER on IntegriCloud