Home | History | Annotate | Download | only in test

Lines Matching refs:MatchAndExplain

146   virtual bool MatchAndExplain(int lhs,
229 virtual bool MatchAndExplain(int x,
248 // Tests implementing a monomorphic matcher using MatchAndExplain().
252 virtual bool MatchAndExplain(int x, MatchResultListener* listener) const {
325 // Tests Matcher<T>::MatchAndExplain().
326 TEST(MatcherTest, MatchAndExplain) {
329 EXPECT_TRUE(m.MatchAndExplain(42, &listener1));
333 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2));
375 bool MatchAndExplain(const T& x,
410 // Tests implementing a polymorphic matcher using MatchAndExplain().
421 bool MatchAndExplain(const T& x, MatchResultListener* listener) const {
2438 // virtual bool MatchAndExplain(T x, ...) const {
2439 // return source_matcher_.MatchAndExplain(static_cast<U>(x), ...);
3400 bool MatchAndExplain(const T& n, MatchResultListener* listener) const {
3902 bool MatchAndExplain(const tuple<T1, T2>& a_pair,