Lines Matching refs:MatchAndExplain
166 virtual bool MatchAndExplain(int lhs,
255 virtual bool MatchAndExplain(int x,
274 // Tests implementing a monomorphic matcher using MatchAndExplain().
278 virtual bool MatchAndExplain(int x, MatchResultListener* listener) const {
351 // Tests Matcher<T>::MatchAndExplain().
352 TEST(MatcherTest, MatchAndExplain) {
355 EXPECT_TRUE(m.MatchAndExplain(42, &listener1));
359 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2));
439 bool MatchAndExplain(const T& x,
474 // Tests implementing a polymorphic matcher using MatchAndExplain().
485 bool MatchAndExplain(const T& x, MatchResultListener* listener) const {
2618 // virtual bool MatchAndExplain(T x, ...) const {
2619 // return source_matcher_.MatchAndExplain(static_cast<U>(x), ...);
3786 bool MatchAndExplain(const T& n, MatchResultListener* listener) const {
5132 bool MatchAndExplain(const tuple<T1, T2>& a_pair,