googletest/googlemock/include/gmock
Abseil Team 6ef5913813 Googletest export
The gmock matchers have a concept of MatchAndExpain; where the details of the
matching are written to a "result listener". A matcher can avoid creating
expensive debug info by checking result_listener->IsInterested(); but,
unfortunately, the default matcher code (called from EXPECT_THAT) is always
"interested".

This change implements EXPECT_THAT matching to first run the matcher in a "not
interested" mode; and then run it a second time ("interested") only if the
match fails.

PiperOrigin-RevId: 225036073
2018-12-12 11:54:22 -05:00
..
internal Googletest export 2018-11-20 13:29:40 -05:00
gmock-actions.h Googletest export 2018-12-03 12:54:11 -05:00
gmock-cardinalities.h Googletest export 2018-10-29 13:46:16 -04:00
gmock-function-mocker.h Googletest export 2018-11-20 13:29:40 -05:00
gmock-generated-actions.h Googletest export 2018-11-20 13:29:55 -05:00
gmock-generated-actions.h.pump Googletest export 2018-11-20 13:29:55 -05:00
gmock-generated-function-mockers.h Googletest export 2018-11-08 14:49:12 -05:00
gmock-generated-function-mockers.h.pump Googletest export 2018-11-08 14:49:12 -05:00
gmock-generated-matchers.h Googletest export 2018-12-03 12:54:02 -05:00
gmock-generated-matchers.h.pump Googletest export 2018-12-03 12:54:02 -05:00
gmock-generated-nice-strict.h Googletest export 2018-12-03 12:54:11 -05:00
gmock-generated-nice-strict.h.pump Googletest export 2018-12-03 12:54:11 -05:00
gmock-matchers.h Googletest export 2018-12-12 11:54:22 -05:00
gmock-more-actions.h Googletest export 2018-11-20 13:29:12 -05:00
gmock-more-matchers.h googletest export 2018-08-15 17:15:36 -04:00
gmock-spec-builders.h Googletest export 2018-12-03 12:54:11 -05:00
gmock.h Googletest export 2018-11-15 16:11:19 -05:00