Lines Matching defs:MatchAndExplain
94 bool MatchAndExplain(int x,
111 // Tests implementing a monomorphic matcher using MatchAndExplain().
115 bool MatchAndExplain(int x, MatchResultListener* listener) const override {
201 // Tests Matcher<T>::MatchAndExplain().
202 TEST_P(MatcherTestP, MatchAndExplain) {
205 EXPECT_TRUE(m.MatchAndExplain(42, &listener1));
209 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2));
303 bool MatchAndExplain(const T& x, MatchResultListener* /* listener */) const {
337 // Tests implementing a polymorphic matcher using MatchAndExplain().
346 bool MatchAndExplain(const T& x, MatchResultListener* listener) const {
2297 bool MatchAndExplain(const T& n, MatchResultListener* listener) const {