Lines Matching full:matches

108 // matches the matcher.
178 EXPECT_TRUE(m.Matches(&n)); in TEST()
180 EXPECT_FALSE(m.Matches(&n)); in TEST()
181 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
188 EXPECT_TRUE(m.Matches(&x)); in TEST()
190 EXPECT_FALSE(m.Matches(&x)); in TEST()
191 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
198 EXPECT_TRUE(m.Matches(&n)); in TEST()
200 EXPECT_FALSE(m.Matches(&n)); in TEST()
201 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
209 EXPECT_TRUE(m.Matches(p)); in TEST()
211 EXPECT_FALSE(m.Matches(p)); in TEST()
213 EXPECT_FALSE(m.Matches(p)); in TEST()
220 EXPECT_TRUE(m.Matches(n)); in TEST()
230 EXPECT_TRUE(m.Matches(n)); in TEST()
237 EXPECT_TRUE(m.Matches(&n)); in TEST()
240 EXPECT_FALSE(m.Matches(p)); in TEST()
241 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
248 EXPECT_TRUE(m.Matches(&n)); in TEST()
251 EXPECT_FALSE(m.Matches(p)); in TEST()
252 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
260 EXPECT_TRUE(m.Matches(n)); in TEST()
272 EXPECT_FALSE(m.Matches(p)); in TEST()
302 EXPECT_TRUE(m.Matches(o)); in TEST()
303 EXPECT_TRUE(m.Matches(co)); in TEST()
305 EXPECT_FALSE(m.Matches(o)); in TEST()
306 EXPECT_FALSE(m.Matches(ConstPropagatingPtr<int>())); in TEST()
311 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
319 EXPECT_TRUE(m.Matches(&n)); in TEST()
321 EXPECT_FALSE(m.Matches(&n)); in TEST()
322 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
395 EXPECT_TRUE(m.Matches(a)); in TEST()
396 EXPECT_TRUE(m_with_name.Matches(a)); in TEST()
398 EXPECT_FALSE(m.Matches(a)); in TEST()
399 EXPECT_FALSE(m_with_name.Matches(a)); in TEST()
408 EXPECT_TRUE(m.Matches(a)); in TEST()
409 EXPECT_TRUE(m_with_name.Matches(a)); in TEST()
412 EXPECT_FALSE(m.Matches(a)); in TEST()
413 EXPECT_FALSE(m_with_name.Matches(a)); in TEST()
421 EXPECT_TRUE(m.Matches(a)); in TEST()
423 EXPECT_FALSE(m.Matches(a)); in TEST()
431 EXPECT_TRUE(m.Matches(a)); in TEST()
433 EXPECT_FALSE(m.Matches(a)); in TEST()
438 EXPECT_TRUE(m.Matches(a)); in TEST()
440 EXPECT_FALSE(m.Matches(a)); in TEST()
448 EXPECT_TRUE(m.Matches(a)); in TEST()
450 EXPECT_FALSE(m.Matches(a)); in TEST()
461 EXPECT_TRUE(m.Matches(d)); in TEST()
463 EXPECT_FALSE(m.Matches(d)); in TEST()
473 EXPECT_TRUE(m.Matches(a)); in TEST()
475 EXPECT_FALSE(m.Matches(a)); in TEST()
528 EXPECT_TRUE(m.Matches(&a)); in TEST()
530 EXPECT_FALSE(m.Matches(&a)); in TEST()
538 EXPECT_TRUE(m.Matches(&a)); in TEST()
540 EXPECT_FALSE(m.Matches(&a)); in TEST()
548 EXPECT_TRUE(m.Matches(&a)); in TEST()
550 EXPECT_FALSE(m.Matches(&a)); in TEST()
556 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
567 EXPECT_TRUE(m.Matches(&d)); in TEST()
569 EXPECT_FALSE(m.Matches(&d)); in TEST()
668 EXPECT_TRUE(m.Matches(a)); in TEST()
669 EXPECT_TRUE(m_with_name.Matches(a)); in TEST()
672 EXPECT_FALSE(m.Matches(a)); in TEST()
673 EXPECT_FALSE(m_with_name.Matches(a)); in TEST()
685 EXPECT_TRUE(m.Matches(a)); in TEST()
686 EXPECT_TRUE(m_with_name.Matches(a)); in TEST()
689 EXPECT_FALSE(m.Matches(a)); in TEST()
690 EXPECT_FALSE(m_with_name.Matches(a)); in TEST()
702 EXPECT_TRUE(m.Matches(a)); in TEST()
703 EXPECT_TRUE(m_with_name.Matches(a)); in TEST()
706 EXPECT_FALSE(m.Matches(a)); in TEST()
707 EXPECT_FALSE(m_with_name.Matches(a)); in TEST()
717 EXPECT_FALSE(m.Matches(a)); in TEST()
720 EXPECT_TRUE(m.Matches(a)); in TEST()
730 EXPECT_TRUE(m.Matches(a)); in TEST()
733 EXPECT_FALSE(m.Matches(a)); in TEST()
745 EXPECT_TRUE(m.Matches(d)); in TEST()
748 EXPECT_FALSE(m.Matches(d)); in TEST()
761 EXPECT_TRUE(m.Matches(a)); in TEST()
762 EXPECT_TRUE(m_with_name.Matches(a)); in TEST()
764 EXPECT_FALSE(m.Matches(a)); in TEST()
765 EXPECT_FALSE(m_with_name.Matches(a)); in TEST()
820 EXPECT_TRUE(m.Matches(&a)); in TEST()
823 EXPECT_FALSE(m.Matches(&a)); in TEST()
832 EXPECT_TRUE(m.Matches(&a)); in TEST()
835 EXPECT_FALSE(m.Matches(&a)); in TEST()
845 EXPECT_TRUE(m.Matches(&a)); in TEST()
848 EXPECT_FALSE(m.Matches(&a)); in TEST()
854 EXPECT_FALSE(m.Matches(nullptr)); in TEST()
866 EXPECT_TRUE(m.Matches(&d)); in TEST()
869 EXPECT_FALSE(m.Matches(&d)); in TEST()
935 EXPECT_TRUE(matcher.Matches(1)); in TEST()
936 EXPECT_FALSE(matcher.Matches(2)); in TEST()
993 EXPECT_TRUE(matcher.Matches(42)); in TEST()
994 EXPECT_FALSE(matcher.Matches(36)); in TEST()
1010 EXPECT_TRUE(matcher.Matches(x)); in TEST()
1011 EXPECT_FALSE(matcher.Matches(x2)); in TEST()
1018 EXPECT_TRUE(matcher2.Matches(obj)); in TEST()
1019 EXPECT_FALSE(matcher2.Matches(obj2)); in TEST()
1031 EXPECT_TRUE(matcher.Matches(s)); in TEST()
1032 EXPECT_FALSE(matcher.Matches(s2)); in TEST()
1041 EXPECT_TRUE(matcher.Matches(36)); in TEST()
1042 EXPECT_FALSE(matcher.Matches(42)); in TEST()
1058 EXPECT_TRUE(matcher.Matches(1)); in TEST()
1059 EXPECT_FALSE(matcher.Matches(2)); in TEST()
1071 EXPECT_TRUE(matcher.Matches(1)); in TEST()
1072 EXPECT_FALSE(matcher.Matches(2)); in TEST()
1088 EXPECT_TRUE(matcher_int.Matches(10)); in TEST()
1089 EXPECT_FALSE(matcher_int.Matches(2)); in TEST()
1093 EXPECT_TRUE(matcher_string.Matches("long string")); in TEST()
1094 EXPECT_FALSE(matcher_string.Matches("shrt")); in TEST()
1101 EXPECT_TRUE(matcher.Matches(&n)); in TEST()
1102 EXPECT_FALSE(matcher.Matches(nullptr)); in TEST()
1111 EXPECT_TRUE(matcher.Matches(3)); in TEST()
1112 EXPECT_FALSE(matcher.Matches(1)); in TEST()
1121 EXPECT_TRUE(matcher.Matches(std::unique_ptr<int>(new int(3)))); in TEST()
1122 EXPECT_FALSE(matcher.Matches(std::unique_ptr<int>(new int(1)))); in TEST()
1136 EXPECT_TRUE(matcher2.Matches(n)); in TEST()
1137 EXPECT_FALSE(matcher2.Matches(n2)); in TEST()
1140 EXPECT_TRUE(matcher3.Matches(n)); in TEST()
1141 EXPECT_FALSE(matcher3.Matches(n2)); in TEST()
1206 EXPECT_EQ("whose size 0 matches", Explain(m2, container)); in TEST()
1207 EXPECT_EQ("whose size 0 matches", Explain(m3, container)); in TEST()
1211 EXPECT_EQ("whose size 2 matches", Explain(m1, container)); in TEST()
1214 EXPECT_EQ("whose size 2 matches", Explain(m4, container)); in TEST()
1476 EXPECT_EQ("whose distance between begin() and end() 0 matches", in TEST_P()
1478 EXPECT_EQ("whose distance between begin() and end() 0 matches", in TEST_P()
1486 EXPECT_EQ("whose distance between begin() and end() 2 matches", in TEST_P()
1493 "whose distance between begin() and end() 2 matches, which is 1 more " in TEST_P()
1950 // The element with value '3' matches nothing: fail fast. in TEST_F()
2104 // We have to be a bit loose here, because there are 4 valid max matches. in TEST_F()
2643 "whose element #0 matches, which is 9 more than 1,\n" in TEST_P()
2644 "and whose element #2 matches, which is 98 more than 2", in TEST_P()
2741 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
2749 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
2760 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
3070 EXPECT_EQ("whose element #1 matches", Explain(m, a)); in TEST_P()
3076 EXPECT_EQ("whose element #0 matches, which is 1 more than 0", Explain(m, a)); in TEST_P()