Lines Matching refs:MatchAndExplain
170 virtual bool MatchAndExplain(int lhs,
259 virtual bool MatchAndExplain(int x,
278 // Tests implementing a monomorphic matcher using MatchAndExplain().
282 virtual bool MatchAndExplain(int x, MatchResultListener* listener) const {
355 // Tests Matcher<T>::MatchAndExplain().
356 TEST(MatcherTest, MatchAndExplain) {
359 EXPECT_TRUE(m.MatchAndExplain(42, &listener1));
363 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2));
443 bool MatchAndExplain(const T& x,
478 // Tests implementing a polymorphic matcher using MatchAndExplain().
489 bool MatchAndExplain(const T& x, MatchResultListener* listener) const {
2677 // virtual bool MatchAndExplain(T x, ...) const {
2678 // return source_matcher_.MatchAndExplain(static_cast<U>(x), ...);
3969 bool MatchAndExplain(const T& n, MatchResultListener* listener) const {
5413 bool MatchAndExplain(const tuple<T1, T2>& a_pair,