aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/CMakeLists.txt
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2018-12-11 14:10:54 -0500
committerjueminyang <jueminyang@google.com>2018-12-12 11:54:22 -0500
commit6ef59138137280ffb3c01f41f527abc2bd3249d0 (patch)
tree7ceb60331a1b08682eb54770b81e3db698a224da /googlemock/CMakeLists.txt
parentb545089f511753905c0911d545ed2d25c867f563 (diff)
downloadgoogletest-6ef59138137280ffb3c01f41f527abc2bd3249d0.tar.gz
googletest-6ef59138137280ffb3c01f41f527abc2bd3249d0.tar.bz2
googletest-6ef59138137280ffb3c01f41f527abc2bd3249d0.zip
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
Diffstat (limited to 'googlemock/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions