diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-04-05 16:20:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 16:20:18 -0400 |
commit | 82febb8eafc0425601b0d46567dc66c7750233ff (patch) | |
tree | 8ba4de15422544aa4995d4dc269c61167866b00e /googlemock/test/gmock_output_test_golden.txt | |
parent | d0905653ed34e3ded601d38237be2eb1870e759f (diff) | |
parent | bee1d13fcc71b1c0d557fd71498015408ba506f8 (diff) | |
download | googletest-82febb8eafc0425601b0d46567dc66c7750233ff.tar.gz googletest-82febb8eafc0425601b0d46567dc66c7750233ff.tar.bz2 googletest-82febb8eafc0425601b0d46567dc66c7750233ff.zip |
Merge pull request #1549 from gennadiycivil/master
Merging gMock, 2
Diffstat (limited to 'googlemock/test/gmock_output_test_golden.txt')
-rw-r--r-- | googlemock/test/gmock_output_test_golden.txt | 9 |
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. |