Lines Matching defs:MatchAndExplain
150 virtual bool MatchAndExplain(int lhs,
233 virtual bool MatchAndExplain(int x,
252 // Tests implementing a monomorphic matcher using MatchAndExplain().
256 virtual bool MatchAndExplain(int x, MatchResultListener* listener) const {
329 // Tests Matcher<T>::MatchAndExplain().
330 TEST(MatcherTest, MatchAndExplain) {
333 EXPECT_TRUE(m.MatchAndExplain(42, &listener1));
337 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2));
379 bool MatchAndExplain(const T& x,
414 // Tests implementing a polymorphic matcher using MatchAndExplain().
425 bool MatchAndExplain(const T& x, MatchResultListener* listener) const {
2509 // virtual bool MatchAndExplain(T x, ...) const {
2510 // return source_matcher_.MatchAndExplain(static_cast<U>(x), ...);
3503 bool MatchAndExplain(const T& n, MatchResultListener* listener) const {
4082 bool MatchAndExplain(const tuple<T1, T2>& a_pair,