Lines Matching refs:EXPECT_TRUE
241 EXPECT_TRUE(DummyMatchResultListener().stream() == NULL);
242 EXPECT_TRUE(StreamMatchResultListener(NULL).stream() == NULL);
248 EXPECT_TRUE(StringMatchResultListener().IsInterested());
249 EXPECT_TRUE(StreamMatchResultListener(&std::cout).IsInterested());
301 EXPECT_TRUE(m.Matches(2));
316 EXPECT_TRUE(m.Matches(4));
323 EXPECT_TRUE(m1.Matches(5));
330 EXPECT_TRUE(m1.Matches(NULL));
339 EXPECT_TRUE(m1.Matches(false));
344 EXPECT_TRUE(m1.Matches(true));
359 EXPECT_TRUE(m.MatchAndExplain(42, &listener1));
371 EXPECT_TRUE(m1.Matches("hi"));
375 EXPECT_TRUE(m2.Matches("hi"));
383 EXPECT_TRUE(m1.Matches("hi"));
387 EXPECT_TRUE(m2.Matches("hi"));
396 EXPECT_TRUE(m1.Matches("cats"));
400 EXPECT_TRUE(m2.Matches("cats"));
408 EXPECT_TRUE(m1.Matches("cats"));
412 EXPECT_TRUE(m2.Matches("cats"));
420 EXPECT_TRUE(m1.Matches("cats"));
424 EXPECT_TRUE(m2.Matches("cats"));
465 EXPECT_TRUE(m1.Matches(0));
467 EXPECT_TRUE(m1.Matches(g_bar));
473 EXPECT_TRUE(m2.Matches(0.0));
508 EXPECT_TRUE(m1.Matches(42));
519 EXPECT_TRUE(m2.Matches('\x42'));
532 EXPECT_TRUE(m.Matches(5));
558 EXPECT_TRUE(m2.Matches(2));
566 EXPECT_TRUE(m4.Matches(1));
574 EXPECT_TRUE(m2.Matches(0));
582 EXPECT_TRUE(m2.Matches(0));
590 EXPECT_TRUE(m2.Matches(0));
599 EXPECT_TRUE(m2.Matches(n));
608 EXPECT_TRUE(m2.Matches(0));
632 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1)));
639 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1)));
656 EXPECT_TRUE(m.Matches(n));
678 EXPECT_TRUE(m2.Matches(' '));
688 EXPECT_TRUE(m2.Matches(1.0f));
692 EXPECT_TRUE(m3.Matches('a'));
702 EXPECT_TRUE(m2.Matches(&d));
707 EXPECT_TRUE(m4.Matches(d));
717 EXPECT_TRUE(m2.Matches(n));
725 EXPECT_TRUE(m2.Matches(0));
734 EXPECT_TRUE(m2.Matches(n));
743 EXPECT_TRUE(m2.Matches(0));
749 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1)));
756 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1)));
764 EXPECT_TRUE(m.Matches(n));
786 EXPECT_TRUE(m1.Matches(91.43));
787 EXPECT_TRUE(m1.Matches(-15.32));
793 EXPECT_TRUE(m2.Matches(a));
794 EXPECT_TRUE(m2.Matches(b));
815 EXPECT_TRUE(m1.Matches(9143));
816 EXPECT_TRUE(m1.Matches(-1532));
822 EXPECT_TRUE(m2.Matches(a));
823 EXPECT_TRUE(m2.Matches(b));
836 EXPECT_TRUE(m1.Matches(123));
837 EXPECT_TRUE(m1.Matches(-242));
843 EXPECT_TRUE(m2.Matches(a));
844 EXPECT_TRUE(m2.Matches(b));
860 EXPECT_TRUE(m1.Matches(a1));
888 EXPECT_TRUE(m1.Matches(1));
892 EXPECT_TRUE(m2.Matches('\1'));
899 EXPECT_TRUE(m1.Matches('a'));
903 EXPECT_TRUE(m2.Matches(6));
935 EXPECT_TRUE(m1.Matches(1));
936 EXPECT_TRUE(m1.Matches(0));
949 EXPECT_TRUE(m1.Matches(1.0));
963 EXPECT_TRUE(m1.Matches('a'));
964 EXPECT_TRUE(m1.Matches('b'));
977 EXPECT_TRUE(m1.Matches("Abc"));
991 EXPECT_TRUE(m1.Matches(1));
992 EXPECT_TRUE(m1.Matches(-1));
1007 EXPECT_TRUE(m1.Matches(p1));
1012 EXPECT_TRUE(m2.Matches(p2));
1026 EXPECT_TRUE(m3.Matches(p3));
1036 EXPECT_TRUE(m.Matches(null_p));
1045 EXPECT_TRUE(m.Matches(null_p));
1053 EXPECT_TRUE(m.Matches(std::function<void()>()));
1071 EXPECT_TRUE(m1.Matches(&n));
1076 EXPECT_TRUE(m2.Matches("hi"));
1085 EXPECT_TRUE(m.Matches(non_null_p));
1094 EXPECT_TRUE(m.Matches(non_null_p));
1101 EXPECT_TRUE(m.Matches([]{}));
1118 EXPECT_TRUE(m.Matches(a));
1137 EXPECT_TRUE(m.Matches(a));
1149 EXPECT_TRUE(m1.Matches(base));
1154 EXPECT_TRUE(m1.Matches(derived));
1173 EXPECT_TRUE(m.Matches("Hello"));
1178 EXPECT_TRUE(m2.Matches("Hello"));
1198 EXPECT_TRUE(m.Matches(""));
1199 EXPECT_TRUE(m.Matches(NULL));
1203 EXPECT_TRUE(m2.Matches("hello"));
1214 EXPECT_TRUE(m.Matches("Hello"));
1215 EXPECT_TRUE(m.Matches("hello"));
1220 EXPECT_TRUE(m2.Matches("hello"));
1232 EXPECT_TRUE(m1.Matches(str2));
1241 EXPECT_TRUE(m3.Matches(str2));
1256 EXPECT_TRUE(m.Matches("Hi"));
1257 EXPECT_TRUE(m.Matches(NULL));
1262 EXPECT_TRUE(m2.Matches(""));
1274 EXPECT_TRUE(m1.Matches(string("I love food.")));
1278 EXPECT_TRUE(m2.Matches(std::string("I love food.")));
1285 EXPECT_TRUE(m1.Matches(const_cast<char*>("I love food.")));
1290 EXPECT_TRUE(m2.Matches("I love food."));
1464 EXPECT_TRUE(m1.Matches("Hi"));
1465 EXPECT_TRUE(m1.Matches(""));
1469 EXPECT_TRUE(m2.Matches("Hi"));
1470 EXPECT_TRUE(m2.Matches("Hi Hi!"));
1471 EXPECT_TRUE(m2.Matches("High"));
1485 EXPECT_TRUE(m1.Matches("Hi"));
1486 EXPECT_TRUE(m1.Matches(""));
1490 EXPECT_TRUE(m2.Matches("Hi"));
1491 EXPECT_TRUE(m2.Matches("Wow Hi Hi"));
1492 EXPECT_TRUE(m2.Matches("Super Hi"));
1506 EXPECT_TRUE(m1.Matches("az"));
1507 EXPECT_TRUE(m1.Matches("abcz"));
1511 EXPECT_TRUE(m2.Matches("azbz"));
1528 EXPECT_TRUE(m1.Matches("az"));
1529 EXPECT_TRUE(m1.Matches("0abcz1"));
1533 EXPECT_TRUE(m2.Matches("azbz"));
1534 EXPECT_TRUE(m2.Matches("az1"));
1550 EXPECT_TRUE(m.Matches(L"Hello"));
1555 EXPECT_TRUE(m2.Matches(L"Hello"));
1559 EXPECT_TRUE(m3.Matches(L"\xD3\x576\x8D3\xC74D"));
1565 EXPECT_TRUE(m4.Matches(str));
1568 EXPECT_TRUE(m5.Matches(str));
1591 EXPECT_TRUE(m.Matches(L""));
1592 EXPECT_TRUE(m.Matches(NULL));
1596 EXPECT_TRUE(m2.Matches(L"hello"));
1607 EXPECT_TRUE(m.Matches(L"Hello"));
1608 EXPECT_TRUE(m.Matches(L"hello"));
1613 EXPECT_TRUE(m2.Matches(L"hello"));
1625 EXPECT_TRUE(m1.Matches(str2));
1634 EXPECT_TRUE(m3.Matches(str2));
1649 EXPECT_TRUE(m.Matches(L"Hi"));
1650 EXPECT_TRUE(m.Matches(NULL));
1655 EXPECT_TRUE(m2.Matches(L""));
1667 EXPECT_TRUE(m1.Matches(::std::wstring(L"I love food.")));
1671 EXPECT_TRUE(m2.Matches(::std::wstring(L"I love food.")));
1678 EXPECT_TRUE(m1.Matches(const_cast<wchar_t*>(L"I love food.")));
1683 EXPECT_TRUE(m2.Matches(L"I love food."));
1698 EXPECT_TRUE(m1.Matches(L"Hi"));
1699 EXPECT_TRUE(m1.Matches(L""));
1703 EXPECT_TRUE(m2.Matches(L"Hi"));
1704 EXPECT_TRUE(m2.Matches(L"Hi Hi!"));
1705 EXPECT_TRUE(m2.Matches(L"High"));
1719 EXPECT_TRUE(m1.Matches(L"Hi"));
1720 EXPECT_TRUE(m1.Matches(L""));
1724 EXPECT_TRUE(m2.Matches(L"Hi"));
1725 EXPECT_TRUE(m2.Matches(L"Wow Hi Hi"));
1726 EXPECT_TRUE(m2.Matches(L"Super Hi"));
1741 EXPECT_TRUE(m.Matches(L"Hello"));
1746 EXPECT_TRUE(m2.Matches(L"Hello"));
1750 EXPECT_TRUE(m3.Matches(L"\xD3\x576\x8D3\xC74D"));
1756 EXPECT_TRUE(m4.Matches(str));
1759 EXPECT_TRUE(m5.Matches(str));
1782 EXPECT_TRUE(m.Matches(L""));
1783 EXPECT_TRUE(m.Matches(NULL));
1787 EXPECT_TRUE(m2.Matches(L"hello"));
1798 EXPECT_TRUE(m.Matches(L"Hello"));
1799 EXPECT_TRUE(m.Matches(L"hello"));
1804 EXPECT_TRUE(m2.Matches(L"hello"));
1816 EXPECT_TRUE(m1.Matches(str2));
1825 EXPECT_TRUE(m3.Matches(str2));
1840 EXPECT_TRUE(m.Matches(L"Hi"));
1841 EXPECT_TRUE(m.Matches(NULL));
1846 EXPECT_TRUE(m2.Matches(L""));
1858 EXPECT_TRUE(m1.Matches(::wstring(L"I love food.")));
1862 EXPECT_TRUE(m2.Matches(::wstring(L"I love food.")));
1869 EXPECT_TRUE(m1.Matches(const_cast<wchar_t*>(L"I love food.")));
1874 EXPECT_TRUE(m2.Matches(L"I love food."));
1889 EXPECT_TRUE(m1.Matches(L"Hi"));
1890 EXPECT_TRUE(m1.Matches(L""));
1894 EXPECT_TRUE(m2.Matches(L"Hi"));
1895 EXPECT_TRUE(m2.Matches(L"Hi Hi!"));
1896 EXPECT_TRUE(m2.Matches(L"High"));
1910 EXPECT_TRUE(m1.Matches(L"Hi"));
1911 EXPECT_TRUE(m1.Matches(L""));
1915 EXPECT_TRUE(m2.Matches(L"Hi"));
1916 EXPECT_TRUE(m2.Matches(L"Wow Hi Hi"));
1917 EXPECT_TRUE(m2.Matches(L"Super Hi"));
1936 EXPECT_TRUE(m.Matches(Tuple2(5L, 5)));
1950 EXPECT_TRUE(m.Matches(Tuple2(5L, 4)));
1951 EXPECT_TRUE(m.Matches(Tuple2(5L, 5)));
1965 EXPECT_TRUE(m.Matches(Tuple2(5L, 4)));
1980 EXPECT_TRUE(m.Matches(Tuple2(5L, 6)));
1981 EXPECT_TRUE(m.Matches(Tuple2(5L, 5)));
1995 EXPECT_TRUE(m.Matches(Tuple2(5L, 6)));
2010 EXPECT_TRUE(m.Matches(Tuple2(5L, 6)));
2011 EXPECT_TRUE(m.Matches(Tuple2(5L, 4)));
2025 EXPECT_TRUE(m.Matches(3));
2048 EXPECT_TRUE(m.Matches(0));
2052 EXPECT_TRUE(m.Matches(num + 1));
2060 EXPECT_TRUE(m.Matches(1));
2061 EXPECT_TRUE(m.Matches(2));
2066 EXPECT_TRUE(m.Matches(3));
2072 EXPECT_TRUE(m.Matches(4));
2079 EXPECT_TRUE(m.Matches(0));
2080 EXPECT_TRUE(m.Matches(1));
2248 EXPECT_TRUE(m.Matches(i));
2258 EXPECT_TRUE(m.Matches(1));
2259 EXPECT_TRUE(m.Matches(4));
2263 EXPECT_TRUE(m.Matches(-1));
2264 EXPECT_TRUE(m.Matches(1));
2265 EXPECT_TRUE(m.Matches(2));
2269 EXPECT_TRUE(m.Matches(-1));
2270 EXPECT_TRUE(m.Matches(1));
2271 EXPECT_TRUE(m.Matches(2));
2272 EXPECT_TRUE(m.Matches(3));
2276 EXPECT_TRUE(m.Matches(0));
2277 EXPECT_TRUE(m.Matches(11));
2278 EXPECT_TRUE(m.Matches(3));
2464 EXPECT_TRUE(m.Matches(2.0));
2471 EXPECT_TRUE(m.Matches(6));
2494 EXPECT_TRUE(m.Matches(1));
2509 EXPECT_TRUE(m.Matches(foo));
2517 EXPECT_TRUE(Matches(Ge(0))(1));
2525 EXPECT_TRUE(Matches(AllOf(Ref(n), Eq(0)))(n));
2533 EXPECT_TRUE(Matches(eq5)(5));
2541 EXPECT_TRUE(Value("hi", StartsWith("h")));
2547 EXPECT_TRUE(Value(0, is_zero));
2552 EXPECT_TRUE(Value(n, ref_n));
2558 EXPECT_TRUE(ExplainMatchResult(PolymorphicIsEven(), 42, &listener1));
2569 EXPECT_TRUE(ExplainMatchResult(is_even, 42, &listener1));
2738 EXPECT_TRUE(m1.Matches(-0.0));
2739 EXPECT_TRUE(m1.Matches(close_to_positive_zero_));
2740 EXPECT_TRUE(m1.Matches(close_to_negative_zero_));
2747 EXPECT_TRUE(m3.Matches(close_to_one_));
2754 EXPECT_TRUE(m4.Matches(-close_to_infinity_));
2757 EXPECT_TRUE(m5.Matches(close_to_infinity_));
2766 EXPECT_TRUE(m6.Matches(-0.0));
2767 EXPECT_TRUE(m6.Matches(close_to_positive_zero_));
2774 EXPECT_TRUE(m7.Matches(x));
2827 EXPECT_TRUE(m1.Matches(0.0));
2828 EXPECT_TRUE(m1.Matches(-0.0));
2834 EXPECT_TRUE(m2.Matches(0.0));
2835 EXPECT_TRUE(m2.Matches(-0.0));
2836 EXPECT_TRUE(m2.Matches(1.0));
2837 EXPECT_TRUE(m2.Matches(-1.0));
2844 EXPECT_TRUE(m3.Matches(ParentType::infinity_));
2849 EXPECT_TRUE(m4.Matches(-ParentType::infinity_));
2855 EXPECT_TRUE(m5.Matches(ParentType::max_));
2860 EXPECT_TRUE(m6.Matches(-ParentType::max_));
2863 EXPECT_TRUE(m7.Matches(ParentType::max_));
2868 EXPECT_TRUE(m8.Matches(-ParentType::max_));
2874 EXPECT_TRUE(m8.Matches(-ParentType::max_));
2879 EXPECT_TRUE(m10.Matches(-0.0));
2880 EXPECT_TRUE(m10.Matches(ParentType::close_to_positive_zero_));
2887 EXPECT_TRUE(m11.Matches(x));
2889 EXPECT_TRUE(m11.Matches(x));
2891 EXPECT_TRUE(m11.Matches(x));
2921 EXPECT_TRUE(m.Matches(nan1_));
2922 EXPECT_TRUE(m.Matches(nan2_));
3009 EXPECT_TRUE(m.Matches(nan1_));
3010 EXPECT_TRUE(m.Matches(nan2_));
3036 EXPECT_TRUE(m.Matches(nan1_));
3037 EXPECT_TRUE(m.Matches(nan2_));
3105 EXPECT_TRUE(explanation == "which is 1.2e-10 from 2.1" || // GCC
3137 EXPECT_TRUE(m.Matches(nan1_));
3138 EXPECT_TRUE(m.Matches(nan2_));
3146 EXPECT_TRUE(m.Matches(&n));
3156 EXPECT_TRUE(m.Matches(&x));
3166 EXPECT_TRUE(m.Matches(&n));
3177 EXPECT_TRUE(m.Matches(p));
3259 EXPECT_TRUE(matcher.Matches(&derived));
3309 EXPECT_TRUE(m.Matches(o));
3310 EXPECT_TRUE(m.Matches(co));
3326 EXPECT_TRUE(m.Matches(&n));
3405 EXPECT_TRUE(m.Matches(a));
3415 EXPECT_TRUE(m.Matches(a));
3425 EXPECT_TRUE(m.Matches(a));
3435 EXPECT_TRUE(m.Matches(a));
3442 EXPECT_TRUE(m.Matches(a));
3452 EXPECT_TRUE(m.Matches(a));
3465 EXPECT_TRUE(m.Matches(d));
3478 EXPECT_TRUE(m.Matches(a));
3510 EXPECT_TRUE(m.Matches(&a));
3520 EXPECT_TRUE(m.Matches(&a));
3530 EXPECT_TRUE(m.Matches(&a));
3549 EXPECT_TRUE(m.Matches(&d));
3618 EXPECT_TRUE(m.Matches(a));
3631 EXPECT_TRUE(m.Matches(a));
3647 EXPECT_TRUE(m.Matches(a));
3657 EXPECT_TRUE(m.Matches(a));
3672 EXPECT_TRUE(m.Matches(d));
3686 EXPECT_TRUE(m.Matches(a));
3720 EXPECT_TRUE(m.Matches(&a));
3732 EXPECT_TRUE(m.Matches(&a));
3745 EXPECT_TRUE(m.Matches(&a));
3766 EXPECT_TRUE(m.Matches(&d));
3807 EXPECT_TRUE(matcher.Matches(1));
3839 EXPECT_TRUE(matcher.Matches(42));
3856 EXPECT_TRUE(matcher.Matches(x));
3865 EXPECT_TRUE(matcher2.Matches(obj));
3878 EXPECT_TRUE(matcher.Matches(s));
3888 EXPECT_TRUE(matcher.Matches(36));
3904 EXPECT_TRUE(matcher.Matches(1));
3919 EXPECT_TRUE(matcher.Matches(1));
3935 EXPECT_TRUE(matcher_int.Matches(10));
3940 EXPECT_TRUE(matcher_string.Matches("long string"));
3955 EXPECT_TRUE(matcher2.Matches(n));
3959 EXPECT_TRUE(matcher3.Matches(n));
4060 EXPECT_TRUE(m.Matches(n1));
4070 EXPECT_TRUE(m.Matches(n2));
4184 EXPECT_TRUE(m.Matches(my_set));
4284 EXPECT_TRUE(m.Matches(my_set));
4302 EXPECT_TRUE(m.Matches(my_map));
4710 EXPECT_TRUE(ExplainMatchResult(UnorderedElementsAreArray(a),
4721 EXPECT_TRUE(ExplainMatchResult(UnorderedElementsAreArray(expected),
4811 EXPECT_TRUE(ExplainMatchResult(UnorderedElementsAre(1, 2, 3),
4855 EXPECT_TRUE(ExplainMatchResult(UnorderedElementsAreArray(mv),
4874 EXPECT_TRUE(ExplainMatchResult(UnorderedElementsAreArray(mv),
5118 EXPECT_TRUE(graph.HasEdge(ilhs, irhs));
5219 EXPECT_TRUE(IsReadableTypeName("int"));
5220 EXPECT_TRUE(IsReadableTypeName("const unsigned char*"));
5221 EXPECT_TRUE(IsReadableTypeName("MyMap<int, void*>"));
5222 EXPECT_TRUE(IsReadableTypeName("void (*)(int, bool)"));
5226 EXPECT_TRUE(IsReadableTypeName("my_long_namespace::MyClassName"));
5227 EXPECT_TRUE(IsReadableTypeName("int [5][6][7][8][9][10][11]"));
5228 EXPECT_TRUE(IsReadableTypeName("my_namespace::MyOuterClass::MyInnerClass"));