Abseil Team 06bb8d4d6d 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: 224929783
2018-12-11 10:11:01 -05:00
..
2018-11-20 13:29:40 -05:00
2018-12-03 12:54:11 -05:00
2018-10-29 13:46:16 -04:00
2018-11-20 13:29:40 -05:00
2018-11-20 13:29:55 -05:00
2018-12-03 12:54:02 -05:00
2018-12-11 10:11:01 -05:00
2018-11-20 13:29:12 -05:00
2018-08-15 17:15:36 -04:00
2018-12-03 12:54:11 -05:00
2018-11-15 16:11:19 -05:00