Lines Matching refs:Matches
109 using testing::Matches;
297 EXPECT_TRUE(m.Matches(2)); in TEST()
298 EXPECT_FALSE(m.Matches(3)); in TEST()
312 EXPECT_TRUE(m.Matches(4)); in TEST()
313 EXPECT_FALSE(m.Matches(5)); in TEST()
319 EXPECT_TRUE(m1.Matches(5)); in TEST()
320 EXPECT_FALSE(m1.Matches(6)); in TEST()
326 EXPECT_TRUE(m1.Matches(NULL)); in TEST()
328 EXPECT_FALSE(m1.Matches(&n)); in TEST()
335 EXPECT_TRUE(m1.Matches(false)); in TEST()
336 EXPECT_FALSE(m1.Matches(true)); in TEST()
340 EXPECT_TRUE(m1.Matches(true)); in TEST()
341 EXPECT_FALSE(m1.Matches(false)); in TEST()
367 EXPECT_TRUE(m1.Matches("hi")); in TEST()
368 EXPECT_FALSE(m1.Matches("hello")); in TEST()
371 EXPECT_TRUE(m2.Matches("hi")); in TEST()
372 EXPECT_FALSE(m2.Matches("hello")); in TEST()
379 EXPECT_TRUE(m1.Matches("hi")); in TEST()
380 EXPECT_FALSE(m1.Matches("hello")); in TEST()
383 EXPECT_TRUE(m2.Matches("hi")); in TEST()
384 EXPECT_FALSE(m2.Matches("hello")); in TEST()
392 EXPECT_TRUE(m1.Matches("cats")); in TEST()
393 EXPECT_FALSE(m1.Matches("dogs")); in TEST()
396 EXPECT_TRUE(m2.Matches("cats")); in TEST()
397 EXPECT_FALSE(m2.Matches("dogs")); in TEST()
404 EXPECT_TRUE(m1.Matches("cats")); in TEST()
405 EXPECT_FALSE(m1.Matches("dogs")); in TEST()
408 EXPECT_TRUE(m2.Matches("cats")); in TEST()
409 EXPECT_FALSE(m2.Matches("dogs")); in TEST()
416 EXPECT_TRUE(m1.Matches("cats")); in TEST()
417 EXPECT_FALSE(m1.Matches("dogs")); in TEST()
420 EXPECT_TRUE(m2.Matches("cats")); in TEST()
421 EXPECT_FALSE(m2.Matches("dogs")); in TEST()
461 EXPECT_TRUE(m1.Matches(0)); in TEST()
463 EXPECT_TRUE(m1.Matches(g_bar)); in TEST()
464 EXPECT_FALSE(m1.Matches(1)); in TEST()
469 EXPECT_TRUE(m2.Matches(0.0)); in TEST()
470 EXPECT_FALSE(m2.Matches(0.1)); in TEST()
504 EXPECT_TRUE(m1.Matches(42)); in TEST()
505 EXPECT_FALSE(m1.Matches(43)); in TEST()
515 EXPECT_TRUE(m2.Matches('\x42')); in TEST()
516 EXPECT_FALSE(m2.Matches('\x43')); in TEST()
528 EXPECT_TRUE(m.Matches(5)); in TEST()
529 EXPECT_FALSE(m.Matches(6)); in TEST()
554 EXPECT_TRUE(m2.Matches(2)); in TEST()
555 EXPECT_FALSE(m2.Matches(3)); in TEST()
562 EXPECT_TRUE(m4.Matches(1)); in TEST()
563 EXPECT_FALSE(m4.Matches(0)); in TEST()
570 EXPECT_TRUE(m2.Matches(0)); in TEST()
571 EXPECT_FALSE(m2.Matches(1)); in TEST()
578 EXPECT_TRUE(m2.Matches(0)); in TEST()
579 EXPECT_FALSE(m2.Matches(1)); in TEST()
586 EXPECT_TRUE(m2.Matches(0)); in TEST()
587 EXPECT_FALSE(m2.Matches(1)); in TEST()
595 EXPECT_TRUE(m2.Matches(n)); in TEST()
597 EXPECT_FALSE(m2.Matches(n)); in TEST()
604 EXPECT_TRUE(m2.Matches(0)); in TEST()
605 EXPECT_FALSE(m2.Matches(1)); in TEST()
628 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
629 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
635 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
636 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
645 EXPECT_TRUE(m2.Matches(' ')); in TEST()
646 EXPECT_FALSE(m2.Matches('\n')); in TEST()
655 EXPECT_TRUE(m2.Matches(1.0f)); in TEST()
656 EXPECT_FALSE(m2.Matches(2.0f)); in TEST()
659 EXPECT_TRUE(m3.Matches('a')); in TEST()
660 EXPECT_FALSE(m3.Matches('b')); in TEST()
669 EXPECT_TRUE(m2.Matches(&d)); in TEST()
670 EXPECT_FALSE(m2.Matches(&d2)); in TEST()
674 EXPECT_TRUE(m4.Matches(d)); in TEST()
675 EXPECT_FALSE(m4.Matches(d2)); in TEST()
684 EXPECT_TRUE(m2.Matches(n)); in TEST()
685 EXPECT_FALSE(m2.Matches(n1)); in TEST()
692 EXPECT_TRUE(m2.Matches(0)); in TEST()
693 EXPECT_FALSE(m2.Matches(1)); in TEST()
701 EXPECT_TRUE(m2.Matches(n)); in TEST()
703 EXPECT_FALSE(m2.Matches(n)); in TEST()
710 EXPECT_TRUE(m2.Matches(0)); in TEST()
711 EXPECT_FALSE(m2.Matches(1)); in TEST()
716 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
717 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
723 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
724 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
731 EXPECT_TRUE(m1.Matches(91.43)); in TEST()
732 EXPECT_TRUE(m1.Matches(-15.32)); in TEST()
738 EXPECT_TRUE(m2.Matches(a)); in TEST()
739 EXPECT_TRUE(m2.Matches(b)); in TEST()
760 EXPECT_TRUE(m1.Matches(9143)); in TEST()
761 EXPECT_TRUE(m1.Matches(-1532)); in TEST()
767 EXPECT_TRUE(m2.Matches(a)); in TEST()
768 EXPECT_TRUE(m2.Matches(b)); in TEST()
781 EXPECT_TRUE(m1.Matches(123)); in TEST()
782 EXPECT_TRUE(m1.Matches(-242)); in TEST()
788 EXPECT_TRUE(m2.Matches(a)); in TEST()
789 EXPECT_TRUE(m2.Matches(b)); in TEST()
805 EXPECT_TRUE(m1.Matches(a1)); in TEST()
806 EXPECT_FALSE(m1.Matches(a2)); in TEST()
829 EXPECT_TRUE(m1.Matches(1)); in TEST()
830 EXPECT_FALSE(m1.Matches(2)); in TEST()
833 EXPECT_TRUE(m2.Matches('\1')); in TEST()
834 EXPECT_FALSE(m2.Matches('a')); in TEST()
840 EXPECT_TRUE(m1.Matches('a')); in TEST()
841 EXPECT_FALSE(m1.Matches('b')); in TEST()
844 EXPECT_TRUE(m2.Matches(6)); in TEST()
845 EXPECT_FALSE(m2.Matches(7)); in TEST()
876 EXPECT_TRUE(m1.Matches(1)); in TEST()
877 EXPECT_TRUE(m1.Matches(0)); in TEST()
878 EXPECT_FALSE(m1.Matches(-1)); in TEST()
890 EXPECT_TRUE(m1.Matches(1.0)); in TEST()
891 EXPECT_FALSE(m1.Matches(0.0)); in TEST()
892 EXPECT_FALSE(m1.Matches(-1.0)); in TEST()
904 EXPECT_TRUE(m1.Matches('a')); in TEST()
905 EXPECT_TRUE(m1.Matches('b')); in TEST()
906 EXPECT_FALSE(m1.Matches('c')); in TEST()
918 EXPECT_TRUE(m1.Matches("Abc")); in TEST()
919 EXPECT_FALSE(m1.Matches("Hello")); in TEST()
920 EXPECT_FALSE(m1.Matches("Hello, world!")); in TEST()
932 EXPECT_TRUE(m1.Matches(1)); in TEST()
933 EXPECT_TRUE(m1.Matches(-1)); in TEST()
934 EXPECT_FALSE(m1.Matches(0)); in TEST()
948 EXPECT_TRUE(m1.Matches(p1)); in TEST()
949 EXPECT_FALSE(m1.Matches(&n)); in TEST()
953 EXPECT_TRUE(m2.Matches(p2)); in TEST()
954 EXPECT_FALSE(m2.Matches("hi")); in TEST()
967 EXPECT_TRUE(m3.Matches(p3)); in TEST()
968 EXPECT_FALSE(m3.Matches(reinterpret_cast<void*>(0xbeef))); in TEST()
977 EXPECT_TRUE(m.Matches(null_p)); in TEST()
978 EXPECT_FALSE(m.Matches(non_null_p)); in TEST()
986 EXPECT_TRUE(m.Matches(null_p)); in TEST()
987 EXPECT_FALSE(m.Matches(non_null_p)); in TEST()
995 EXPECT_TRUE(m.Matches(null_p)); in TEST()
996 EXPECT_FALSE(m.Matches(non_null_p)); in TEST()
1011 EXPECT_FALSE(m1.Matches(p1)); in TEST()
1012 EXPECT_TRUE(m1.Matches(&n)); in TEST()
1016 EXPECT_FALSE(m2.Matches(p2)); in TEST()
1017 EXPECT_TRUE(m2.Matches("hi")); in TEST()
1025 EXPECT_FALSE(m.Matches(null_p)); in TEST()
1026 EXPECT_TRUE(m.Matches(non_null_p)); in TEST()
1034 EXPECT_FALSE(m.Matches(null_p)); in TEST()
1035 EXPECT_TRUE(m.Matches(non_null_p)); in TEST()
1043 EXPECT_FALSE(m.Matches(null_p)); in TEST()
1044 EXPECT_TRUE(m.Matches(non_null_p)); in TEST()
1059 EXPECT_TRUE(m.Matches(a)); in TEST()
1060 EXPECT_FALSE(m.Matches(b)); in TEST()
1078 EXPECT_TRUE(m.Matches(a)); in TEST()
1079 EXPECT_FALSE(m.Matches(b)); in TEST()
1090 EXPECT_TRUE(m1.Matches(base)); in TEST()
1091 EXPECT_FALSE(m1.Matches(base2)); in TEST()
1092 EXPECT_FALSE(m1.Matches(derived)); in TEST()
1095 EXPECT_TRUE(m1.Matches(derived)); in TEST()
1096 EXPECT_FALSE(m1.Matches(base)); in TEST()
1097 EXPECT_FALSE(m1.Matches(base2)); in TEST()
1114 EXPECT_TRUE(m.Matches("Hello")); in TEST()
1115 EXPECT_FALSE(m.Matches("hello")); in TEST()
1116 EXPECT_FALSE(m.Matches(NULL)); in TEST()
1119 EXPECT_TRUE(m2.Matches("Hello")); in TEST()
1120 EXPECT_FALSE(m2.Matches("Hi")); in TEST()
1139 EXPECT_TRUE(m.Matches("")); in TEST()
1140 EXPECT_TRUE(m.Matches(NULL)); in TEST()
1141 EXPECT_FALSE(m.Matches("Hello")); in TEST()
1144 EXPECT_TRUE(m2.Matches("hello")); in TEST()
1145 EXPECT_FALSE(m2.Matches("Hello")); in TEST()
1155 EXPECT_TRUE(m.Matches("Hello")); in TEST()
1156 EXPECT_TRUE(m.Matches("hello")); in TEST()
1157 EXPECT_FALSE(m.Matches("Hi")); in TEST()
1158 EXPECT_FALSE(m.Matches(NULL)); in TEST()
1161 EXPECT_TRUE(m2.Matches("hello")); in TEST()
1162 EXPECT_FALSE(m2.Matches("Hi")); in TEST()
1169 EXPECT_FALSE(m0.Matches(str2 + string(1, '\0'))); in TEST()
1173 EXPECT_TRUE(m1.Matches(str2)); in TEST()
1179 EXPECT_FALSE(m2.Matches(str2)); in TEST()
1182 EXPECT_TRUE(m3.Matches(str2)); in TEST()
1184 EXPECT_FALSE(m3.Matches(str2 + "x")); in TEST()
1186 EXPECT_FALSE(m3.Matches(str2)); in TEST()
1187 EXPECT_FALSE(m3.Matches(string(str2, 0, 9))); in TEST()
1197 EXPECT_TRUE(m.Matches("Hi")); in TEST()
1198 EXPECT_TRUE(m.Matches(NULL)); in TEST()
1199 EXPECT_FALSE(m.Matches("Hello")); in TEST()
1200 EXPECT_FALSE(m.Matches("hello")); in TEST()
1203 EXPECT_TRUE(m2.Matches("")); in TEST()
1204 EXPECT_FALSE(m2.Matches("Hello")); in TEST()
1215 EXPECT_TRUE(m1.Matches(string("I love food."))); in TEST()
1216 EXPECT_FALSE(m1.Matches(string("tofo"))); in TEST()
1219 EXPECT_TRUE(m2.Matches(std::string("I love food."))); in TEST()
1220 EXPECT_FALSE(m2.Matches(std::string("tofo"))); in TEST()
1226 EXPECT_TRUE(m1.Matches(const_cast<char*>("I love food."))); in TEST()
1227 EXPECT_FALSE(m1.Matches(const_cast<char*>("tofo"))); in TEST()
1228 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1231 EXPECT_TRUE(m2.Matches("I love food.")); in TEST()
1232 EXPECT_FALSE(m2.Matches("tofo")); in TEST()
1233 EXPECT_FALSE(m2.Matches(NULL)); in TEST()
1405 EXPECT_TRUE(m1.Matches("Hi")); in TEST()
1406 EXPECT_TRUE(m1.Matches("")); in TEST()
1407 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1410 EXPECT_TRUE(m2.Matches("Hi")); in TEST()
1411 EXPECT_TRUE(m2.Matches("Hi Hi!")); in TEST()
1412 EXPECT_TRUE(m2.Matches("High")); in TEST()
1413 EXPECT_FALSE(m2.Matches("H")); in TEST()
1414 EXPECT_FALSE(m2.Matches(" Hi")); in TEST()
1426 EXPECT_TRUE(m1.Matches("Hi")); in TEST()
1427 EXPECT_TRUE(m1.Matches("")); in TEST()
1428 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1431 EXPECT_TRUE(m2.Matches("Hi")); in TEST()
1432 EXPECT_TRUE(m2.Matches("Wow Hi Hi")); in TEST()
1433 EXPECT_TRUE(m2.Matches("Super Hi")); in TEST()
1434 EXPECT_FALSE(m2.Matches("i")); in TEST()
1435 EXPECT_FALSE(m2.Matches("Hi ")); in TEST()
1447 EXPECT_TRUE(m1.Matches("az")); in TEST()
1448 EXPECT_TRUE(m1.Matches("abcz")); in TEST()
1449 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1452 EXPECT_TRUE(m2.Matches("azbz")); in TEST()
1453 EXPECT_FALSE(m2.Matches("az1")); in TEST()
1454 EXPECT_FALSE(m2.Matches("1az")); in TEST()
1469 EXPECT_TRUE(m1.Matches("az")); in TEST()
1470 EXPECT_TRUE(m1.Matches("0abcz1")); in TEST()
1471 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1474 EXPECT_TRUE(m2.Matches("azbz")); in TEST()
1475 EXPECT_TRUE(m2.Matches("az1")); in TEST()
1476 EXPECT_FALSE(m2.Matches("1a")); in TEST()
1491 EXPECT_TRUE(m.Matches(L"Hello")); in TEST()
1492 EXPECT_FALSE(m.Matches(L"hello")); in TEST()
1493 EXPECT_FALSE(m.Matches(NULL)); in TEST()
1496 EXPECT_TRUE(m2.Matches(L"Hello")); in TEST()
1497 EXPECT_FALSE(m2.Matches(L"Hi")); in TEST()
1500 EXPECT_TRUE(m3.Matches(L"\xD3\x576\x8D3\xC74D")); in TEST()
1501 EXPECT_FALSE(m3.Matches(L"\xD3\x576\x8D3\xC74E")); in TEST()
1506 EXPECT_TRUE(m4.Matches(str)); in TEST()
1509 EXPECT_TRUE(m5.Matches(str)); in TEST()
1532 EXPECT_TRUE(m.Matches(L"")); in TEST()
1533 EXPECT_TRUE(m.Matches(NULL)); in TEST()
1534 EXPECT_FALSE(m.Matches(L"Hello")); in TEST()
1537 EXPECT_TRUE(m2.Matches(L"hello")); in TEST()
1538 EXPECT_FALSE(m2.Matches(L"Hello")); in TEST()
1548 EXPECT_TRUE(m.Matches(L"Hello")); in TEST()
1549 EXPECT_TRUE(m.Matches(L"hello")); in TEST()
1550 EXPECT_FALSE(m.Matches(L"Hi")); in TEST()
1551 EXPECT_FALSE(m.Matches(NULL)); in TEST()
1554 EXPECT_TRUE(m2.Matches(L"hello")); in TEST()
1555 EXPECT_FALSE(m2.Matches(L"Hi")); in TEST()
1562 EXPECT_FALSE(m0.Matches(str2 + ::std::wstring(1, L'\0'))); in TEST()
1566 EXPECT_TRUE(m1.Matches(str2)); in TEST()
1572 EXPECT_FALSE(m2.Matches(str2)); in TEST()
1575 EXPECT_TRUE(m3.Matches(str2)); in TEST()
1577 EXPECT_FALSE(m3.Matches(str2 + L"x")); in TEST()
1579 EXPECT_FALSE(m3.Matches(str2)); in TEST()
1580 EXPECT_FALSE(m3.Matches(::std::wstring(str2, 0, 9))); in TEST()
1590 EXPECT_TRUE(m.Matches(L"Hi")); in TEST()
1591 EXPECT_TRUE(m.Matches(NULL)); in TEST()
1592 EXPECT_FALSE(m.Matches(L"Hello")); in TEST()
1593 EXPECT_FALSE(m.Matches(L"hello")); in TEST()
1596 EXPECT_TRUE(m2.Matches(L"")); in TEST()
1597 EXPECT_FALSE(m2.Matches(L"Hello")); in TEST()
1608 EXPECT_TRUE(m1.Matches(::std::wstring(L"I love food."))); in TEST()
1609 EXPECT_FALSE(m1.Matches(::std::wstring(L"tofo"))); in TEST()
1612 EXPECT_TRUE(m2.Matches(::std::wstring(L"I love food."))); in TEST()
1613 EXPECT_FALSE(m2.Matches(::std::wstring(L"tofo"))); in TEST()
1619 EXPECT_TRUE(m1.Matches(const_cast<wchar_t*>(L"I love food."))); in TEST()
1620 EXPECT_FALSE(m1.Matches(const_cast<wchar_t*>(L"tofo"))); in TEST()
1621 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1624 EXPECT_TRUE(m2.Matches(L"I love food.")); in TEST()
1625 EXPECT_FALSE(m2.Matches(L"tofo")); in TEST()
1626 EXPECT_FALSE(m2.Matches(NULL)); in TEST()
1639 EXPECT_TRUE(m1.Matches(L"Hi")); in TEST()
1640 EXPECT_TRUE(m1.Matches(L"")); in TEST()
1641 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1644 EXPECT_TRUE(m2.Matches(L"Hi")); in TEST()
1645 EXPECT_TRUE(m2.Matches(L"Hi Hi!")); in TEST()
1646 EXPECT_TRUE(m2.Matches(L"High")); in TEST()
1647 EXPECT_FALSE(m2.Matches(L"H")); in TEST()
1648 EXPECT_FALSE(m2.Matches(L" Hi")); in TEST()
1660 EXPECT_TRUE(m1.Matches(L"Hi")); in TEST()
1661 EXPECT_TRUE(m1.Matches(L"")); in TEST()
1662 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1665 EXPECT_TRUE(m2.Matches(L"Hi")); in TEST()
1666 EXPECT_TRUE(m2.Matches(L"Wow Hi Hi")); in TEST()
1667 EXPECT_TRUE(m2.Matches(L"Super Hi")); in TEST()
1668 EXPECT_FALSE(m2.Matches(L"i")); in TEST()
1669 EXPECT_FALSE(m2.Matches(L"Hi ")); in TEST()
1682 EXPECT_TRUE(m.Matches(L"Hello")); in TEST()
1683 EXPECT_FALSE(m.Matches(L"hello")); in TEST()
1684 EXPECT_FALSE(m.Matches(NULL)); in TEST()
1687 EXPECT_TRUE(m2.Matches(L"Hello")); in TEST()
1688 EXPECT_FALSE(m2.Matches(L"Hi")); in TEST()
1691 EXPECT_TRUE(m3.Matches(L"\xD3\x576\x8D3\xC74D")); in TEST()
1692 EXPECT_FALSE(m3.Matches(L"\xD3\x576\x8D3\xC74E")); in TEST()
1697 EXPECT_TRUE(m4.Matches(str)); in TEST()
1700 EXPECT_TRUE(m5.Matches(str)); in TEST()
1723 EXPECT_TRUE(m.Matches(L"")); in TEST()
1724 EXPECT_TRUE(m.Matches(NULL)); in TEST()
1725 EXPECT_FALSE(m.Matches(L"Hello")); in TEST()
1728 EXPECT_TRUE(m2.Matches(L"hello")); in TEST()
1729 EXPECT_FALSE(m2.Matches(L"Hello")); in TEST()
1739 EXPECT_TRUE(m.Matches(L"Hello")); in TEST()
1740 EXPECT_TRUE(m.Matches(L"hello")); in TEST()
1741 EXPECT_FALSE(m.Matches(L"Hi")); in TEST()
1742 EXPECT_FALSE(m.Matches(NULL)); in TEST()
1745 EXPECT_TRUE(m2.Matches(L"hello")); in TEST()
1746 EXPECT_FALSE(m2.Matches(L"Hi")); in TEST()
1753 EXPECT_FALSE(m0.Matches(str2 + ::wstring(1, L'\0'))); in TEST()
1757 EXPECT_TRUE(m1.Matches(str2)); in TEST()
1763 EXPECT_FALSE(m2.Matches(str2)); in TEST()
1766 EXPECT_TRUE(m3.Matches(str2)); in TEST()
1768 EXPECT_FALSE(m3.Matches(str2 + L"x")); in TEST()
1770 EXPECT_FALSE(m3.Matches(str2)); in TEST()
1771 EXPECT_FALSE(m3.Matches(::wstring(str2, 0, 9))); in TEST()
1781 EXPECT_TRUE(m.Matches(L"Hi")); in TEST()
1782 EXPECT_TRUE(m.Matches(NULL)); in TEST()
1783 EXPECT_FALSE(m.Matches(L"Hello")); in TEST()
1784 EXPECT_FALSE(m.Matches(L"hello")); in TEST()
1787 EXPECT_TRUE(m2.Matches(L"")); in TEST()
1788 EXPECT_FALSE(m2.Matches(L"Hello")); in TEST()
1799 EXPECT_TRUE(m1.Matches(::wstring(L"I love food."))); in TEST()
1800 EXPECT_FALSE(m1.Matches(::wstring(L"tofo"))); in TEST()
1803 EXPECT_TRUE(m2.Matches(::wstring(L"I love food."))); in TEST()
1804 EXPECT_FALSE(m2.Matches(::wstring(L"tofo"))); in TEST()
1810 EXPECT_TRUE(m1.Matches(const_cast<wchar_t*>(L"I love food."))); in TEST()
1811 EXPECT_FALSE(m1.Matches(const_cast<wchar_t*>(L"tofo"))); in TEST()
1812 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1815 EXPECT_TRUE(m2.Matches(L"I love food.")); in TEST()
1816 EXPECT_FALSE(m2.Matches(L"tofo")); in TEST()
1817 EXPECT_FALSE(m2.Matches(NULL)); in TEST()
1830 EXPECT_TRUE(m1.Matches(L"Hi")); in TEST()
1831 EXPECT_TRUE(m1.Matches(L"")); in TEST()
1832 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1835 EXPECT_TRUE(m2.Matches(L"Hi")); in TEST()
1836 EXPECT_TRUE(m2.Matches(L"Hi Hi!")); in TEST()
1837 EXPECT_TRUE(m2.Matches(L"High")); in TEST()
1838 EXPECT_FALSE(m2.Matches(L"H")); in TEST()
1839 EXPECT_FALSE(m2.Matches(L" Hi")); in TEST()
1851 EXPECT_TRUE(m1.Matches(L"Hi")); in TEST()
1852 EXPECT_TRUE(m1.Matches(L"")); in TEST()
1853 EXPECT_FALSE(m1.Matches(NULL)); in TEST()
1856 EXPECT_TRUE(m2.Matches(L"Hi")); in TEST()
1857 EXPECT_TRUE(m2.Matches(L"Wow Hi Hi")); in TEST()
1858 EXPECT_TRUE(m2.Matches(L"Super Hi")); in TEST()
1859 EXPECT_FALSE(m2.Matches(L"i")); in TEST()
1860 EXPECT_FALSE(m2.Matches(L"Hi ")); in TEST()
1877 EXPECT_TRUE(m.Matches(Tuple2(5L, 5))); in TEST()
1878 EXPECT_FALSE(m.Matches(Tuple2(5L, 6))); in TEST()
1891 EXPECT_TRUE(m.Matches(Tuple2(5L, 4))); in TEST()
1892 EXPECT_TRUE(m.Matches(Tuple2(5L, 5))); in TEST()
1893 EXPECT_FALSE(m.Matches(Tuple2(5L, 6))); in TEST()
1906 EXPECT_TRUE(m.Matches(Tuple2(5L, 4))); in TEST()
1907 EXPECT_FALSE(m.Matches(Tuple2(5L, 5))); in TEST()
1908 EXPECT_FALSE(m.Matches(Tuple2(5L, 6))); in TEST()
1921 EXPECT_TRUE(m.Matches(Tuple2(5L, 6))); in TEST()
1922 EXPECT_TRUE(m.Matches(Tuple2(5L, 5))); in TEST()
1923 EXPECT_FALSE(m.Matches(Tuple2(5L, 4))); in TEST()
1936 EXPECT_TRUE(m.Matches(Tuple2(5L, 6))); in TEST()
1937 EXPECT_FALSE(m.Matches(Tuple2(5L, 5))); in TEST()
1938 EXPECT_FALSE(m.Matches(Tuple2(5L, 4))); in TEST()
1951 EXPECT_TRUE(m.Matches(Tuple2(5L, 6))); in TEST()
1952 EXPECT_TRUE(m.Matches(Tuple2(5L, 4))); in TEST()
1953 EXPECT_FALSE(m.Matches(Tuple2(5L, 5))); in TEST()
1966 EXPECT_TRUE(m.Matches(3)); in TEST()
1967 EXPECT_FALSE(m.Matches(2)); in TEST()
1989 EXPECT_TRUE(m.Matches(0)); in AllOfMatches()
1991 EXPECT_FALSE(m.Matches(i)); in AllOfMatches()
1993 EXPECT_TRUE(m.Matches(num + 1)); in AllOfMatches()
2001 EXPECT_TRUE(m.Matches(1)); in TEST()
2002 EXPECT_TRUE(m.Matches(2)); in TEST()
2003 EXPECT_FALSE(m.Matches(0)); in TEST()
2004 EXPECT_FALSE(m.Matches(3)); in TEST()
2007 EXPECT_TRUE(m.Matches(3)); in TEST()
2008 EXPECT_FALSE(m.Matches(2)); in TEST()
2009 EXPECT_FALSE(m.Matches(1)); in TEST()
2010 EXPECT_FALSE(m.Matches(0)); in TEST()
2013 EXPECT_TRUE(m.Matches(4)); in TEST()
2014 EXPECT_FALSE(m.Matches(3)); in TEST()
2015 EXPECT_FALSE(m.Matches(2)); in TEST()
2016 EXPECT_FALSE(m.Matches(1)); in TEST()
2017 EXPECT_FALSE(m.Matches(0)); in TEST()
2020 EXPECT_TRUE(m.Matches(0)); in TEST()
2021 EXPECT_TRUE(m.Matches(1)); in TEST()
2022 EXPECT_FALSE(m.Matches(3)); in TEST()
2187 EXPECT_FALSE(m.Matches(0)); in AnyOfMatches()
2189 EXPECT_TRUE(m.Matches(i)); in AnyOfMatches()
2191 EXPECT_FALSE(m.Matches(num + 1)); in AnyOfMatches()
2199 EXPECT_TRUE(m.Matches(1)); in TEST()
2200 EXPECT_TRUE(m.Matches(4)); in TEST()
2201 EXPECT_FALSE(m.Matches(2)); in TEST()
2204 EXPECT_TRUE(m.Matches(-1)); in TEST()
2205 EXPECT_TRUE(m.Matches(1)); in TEST()
2206 EXPECT_TRUE(m.Matches(2)); in TEST()
2207 EXPECT_FALSE(m.Matches(0)); in TEST()
2210 EXPECT_TRUE(m.Matches(-1)); in TEST()
2211 EXPECT_TRUE(m.Matches(1)); in TEST()
2212 EXPECT_TRUE(m.Matches(2)); in TEST()
2213 EXPECT_TRUE(m.Matches(3)); in TEST()
2214 EXPECT_FALSE(m.Matches(0)); in TEST()
2217 EXPECT_TRUE(m.Matches(0)); in TEST()
2218 EXPECT_TRUE(m.Matches(11)); in TEST()
2219 EXPECT_TRUE(m.Matches(3)); in TEST()
2220 EXPECT_FALSE(m.Matches(2)); in TEST()
2405 EXPECT_TRUE(m.Matches(2.0)); in TEST()
2406 EXPECT_FALSE(m.Matches(-1.5)); in TEST()
2412 EXPECT_TRUE(m.Matches(6)); in TEST()
2413 EXPECT_FALSE(m.Matches(4)); in TEST()
2435 EXPECT_TRUE(m.Matches(1)); in TEST()
2436 EXPECT_FALSE(m.Matches(0)); in TEST()
2450 EXPECT_TRUE(m.Matches(foo)); in TEST()
2452 EXPECT_FALSE(m.Matches(n)); in TEST()
2458 EXPECT_TRUE(Matches(Ge(0))(1)); in TEST()
2459 EXPECT_FALSE(Matches(Eq('a'))('b')); in TEST()
2466 EXPECT_TRUE(Matches(AllOf(Ref(n), Eq(0)))(n)); in TEST()
2467 EXPECT_FALSE(Matches(Ref(m))(n)); in TEST()
2474 EXPECT_TRUE(Matches(eq5)(5)); in TEST()
2475 EXPECT_FALSE(Matches(eq5)(2)); in TEST()
2683 EXPECT_TRUE(m1.Matches(-0.0)); in TestMatches()
2684 EXPECT_TRUE(m1.Matches(close_to_positive_zero_)); in TestMatches()
2685 EXPECT_TRUE(m1.Matches(close_to_negative_zero_)); in TestMatches()
2686 EXPECT_FALSE(m1.Matches(1.0)); in TestMatches()
2689 EXPECT_FALSE(m2.Matches(further_from_negative_zero_)); in TestMatches()
2692 EXPECT_TRUE(m3.Matches(close_to_one_)); in TestMatches()
2693 EXPECT_FALSE(m3.Matches(further_from_one_)); in TestMatches()
2696 EXPECT_FALSE(m3.Matches(0.0)); in TestMatches()
2699 EXPECT_TRUE(m4.Matches(-close_to_infinity_)); in TestMatches()
2702 EXPECT_TRUE(m5.Matches(close_to_infinity_)); in TestMatches()
2706 EXPECT_FALSE(m5.Matches(nan1_)); in TestMatches()
2711 EXPECT_TRUE(m6.Matches(-0.0)); in TestMatches()
2712 EXPECT_TRUE(m6.Matches(close_to_positive_zero_)); in TestMatches()
2713 EXPECT_FALSE(m6.Matches(1.0)); in TestMatches()
2719 EXPECT_TRUE(m7.Matches(x)); in TestMatches()
2721 EXPECT_FALSE(m7.Matches(x)); in TestMatches()
2766 EXPECT_TRUE(m1.Matches(0.0)); in TestNearMatches()
2767 EXPECT_TRUE(m1.Matches(-0.0)); in TestNearMatches()
2768 EXPECT_FALSE(m1.Matches(ParentType::close_to_positive_zero_)); in TestNearMatches()
2769 EXPECT_FALSE(m1.Matches(ParentType::close_to_negative_zero_)); in TestNearMatches()
2770 EXPECT_FALSE(m1.Matches(1.0)); in TestNearMatches()
2773 EXPECT_TRUE(m2.Matches(0.0)); in TestNearMatches()
2774 EXPECT_TRUE(m2.Matches(-0.0)); in TestNearMatches()
2775 EXPECT_TRUE(m2.Matches(1.0)); in TestNearMatches()
2776 EXPECT_TRUE(m2.Matches(-1.0)); in TestNearMatches()
2777 EXPECT_FALSE(m2.Matches(ParentType::close_to_one_)); in TestNearMatches()
2778 EXPECT_FALSE(m2.Matches(-ParentType::close_to_one_)); in TestNearMatches()
2783 EXPECT_TRUE(m3.Matches(ParentType::infinity_)); in TestNearMatches()
2784 EXPECT_FALSE(m3.Matches(ParentType::close_to_infinity_)); in TestNearMatches()
2785 EXPECT_FALSE(m3.Matches(-ParentType::infinity_)); in TestNearMatches()
2788 EXPECT_TRUE(m4.Matches(-ParentType::infinity_)); in TestNearMatches()
2789 EXPECT_FALSE(m4.Matches(-ParentType::close_to_infinity_)); in TestNearMatches()
2790 EXPECT_FALSE(m4.Matches(ParentType::infinity_)); in TestNearMatches()
2794 EXPECT_TRUE(m5.Matches(ParentType::max_)); in TestNearMatches()
2795 EXPECT_FALSE(m5.Matches(-ParentType::max_)); in TestNearMatches()
2798 EXPECT_FALSE(m6.Matches(ParentType::max_)); in TestNearMatches()
2799 EXPECT_TRUE(m6.Matches(-ParentType::max_)); in TestNearMatches()
2802 EXPECT_TRUE(m7.Matches(ParentType::max_)); in TestNearMatches()
2803 EXPECT_FALSE(m7.Matches(-ParentType::max_)); in TestNearMatches()
2806 EXPECT_FALSE(m8.Matches(ParentType::max_)); in TestNearMatches()
2807 EXPECT_TRUE(m8.Matches(-ParentType::max_)); in TestNearMatches()
2813 EXPECT_TRUE(m8.Matches(-ParentType::max_)); in TestNearMatches()
2818 EXPECT_TRUE(m10.Matches(-0.0)); in TestNearMatches()
2819 EXPECT_TRUE(m10.Matches(ParentType::close_to_positive_zero_)); in TestNearMatches()
2820 EXPECT_FALSE(m10.Matches(ParentType::close_to_one_)); in TestNearMatches()
2826 EXPECT_TRUE(m11.Matches(x)); in TestNearMatches()
2828 EXPECT_TRUE(m11.Matches(x)); in TestNearMatches()
2830 EXPECT_TRUE(m11.Matches(x)); in TestNearMatches()
2832 EXPECT_FALSE(m11.Matches(x)); in TestNearMatches()
2834 EXPECT_FALSE(m11.Matches(x)); in TestNearMatches()
2852 EXPECT_FALSE(m.Matches(nan1_)); in TEST_F()
2853 EXPECT_FALSE(m.Matches(nan2_)); in TEST_F()
2854 EXPECT_FALSE(m.Matches(1.0)); in TEST_F()
2860 EXPECT_TRUE(m.Matches(nan1_)); in TEST_F()
2861 EXPECT_TRUE(m.Matches(nan2_)); in TEST_F()
2862 EXPECT_FALSE(m.Matches(1.0)); in TEST_F()
2940 EXPECT_FALSE(m.Matches(nan1_)); in TEST_F()
2941 EXPECT_FALSE(m.Matches(nan2_)); in TEST_F()
2942 EXPECT_FALSE(m.Matches(1.0)); in TEST_F()
2948 EXPECT_TRUE(m.Matches(nan1_)); in TEST_F()
2949 EXPECT_TRUE(m.Matches(nan2_)); in TEST_F()
2950 EXPECT_FALSE(m.Matches(1.0)); in TEST_F()
2967 EXPECT_FALSE(m.Matches(nan1_)); in TEST_F()
2968 EXPECT_FALSE(m.Matches(nan2_)); in TEST_F()
2969 EXPECT_FALSE(m.Matches(1.0)); in TEST_F()
2975 EXPECT_TRUE(m.Matches(nan1_)); in TEST_F()
2976 EXPECT_TRUE(m.Matches(nan2_)); in TEST_F()
2977 EXPECT_FALSE(m.Matches(1.0)); in TEST_F()
3055 EXPECT_FALSE(m.Matches(nan1_)); in TEST_F()
3056 EXPECT_FALSE(m.Matches(nan2_)); in TEST_F()
3057 EXPECT_FALSE(m.Matches(1.0)); in TEST_F()
3063 EXPECT_TRUE(m.Matches(nan1_)); in TEST_F()
3064 EXPECT_TRUE(m.Matches(nan2_)); in TEST_F()
3065 EXPECT_FALSE(m.Matches(1.0)); in TEST_F()
3072 EXPECT_TRUE(m.Matches(&n)); in TEST()
3074 EXPECT_FALSE(m.Matches(&n)); in TEST()
3075 EXPECT_FALSE(m.Matches(NULL)); in TEST()
3082 EXPECT_TRUE(m.Matches(&x)); in TEST()
3084 EXPECT_FALSE(m.Matches(&x)); in TEST()
3085 EXPECT_FALSE(m.Matches(NULL)); in TEST()
3092 EXPECT_TRUE(m.Matches(&n)); in TEST()
3094 EXPECT_FALSE(m.Matches(&n)); in TEST()
3095 EXPECT_FALSE(m.Matches(NULL)); in TEST()
3103 EXPECT_TRUE(m.Matches(p)); in TEST()
3105 EXPECT_FALSE(m.Matches(p)); in TEST()
3107 EXPECT_FALSE(m.Matches(p)); in TEST()
3135 EXPECT_TRUE(m.Matches(o)); in TEST()
3136 EXPECT_TRUE(m.Matches(co)); in TEST()
3138 EXPECT_FALSE(m.Matches(o)); in TEST()
3139 EXPECT_FALSE(m.Matches(ConstPropagatingPtr<int>())); in TEST()
3144 EXPECT_FALSE(m.Matches(NULL)); in TEST()
3152 EXPECT_TRUE(m.Matches(&n)); in TEST()
3154 EXPECT_FALSE(m.Matches(&n)); in TEST()
3155 EXPECT_FALSE(m.Matches(NULL)); in TEST()
3224 EXPECT_TRUE(m.Matches(a)); in TEST()
3226 EXPECT_FALSE(m.Matches(a)); in TEST()
3234 EXPECT_TRUE(m.Matches(a)); in TEST()
3236 EXPECT_FALSE(m.Matches(a)); in TEST()
3244 EXPECT_TRUE(m.Matches(a)); in TEST()
3246 EXPECT_FALSE(m.Matches(a)); in TEST()
3254 EXPECT_TRUE(m.Matches(a)); in TEST()
3256 EXPECT_FALSE(m.Matches(a)); in TEST()
3261 EXPECT_TRUE(m.Matches(a)); in TEST()
3263 EXPECT_FALSE(m.Matches(a)); in TEST()
3271 EXPECT_TRUE(m.Matches(a)); in TEST()
3273 EXPECT_FALSE(m.Matches(a)); in TEST()
3284 EXPECT_TRUE(m.Matches(d)); in TEST()
3286 EXPECT_FALSE(m.Matches(d)); in TEST()
3297 EXPECT_TRUE(m.Matches(a)); in TEST()
3299 EXPECT_FALSE(m.Matches(a)); in TEST()
3329 EXPECT_TRUE(m.Matches(&a)); in TEST()
3331 EXPECT_FALSE(m.Matches(&a)); in TEST()
3339 EXPECT_TRUE(m.Matches(&a)); in TEST()
3341 EXPECT_FALSE(m.Matches(&a)); in TEST()
3349 EXPECT_TRUE(m.Matches(&a)); in TEST()
3351 EXPECT_FALSE(m.Matches(&a)); in TEST()
3357 EXPECT_FALSE(m.Matches(NULL)); in TEST()
3368 EXPECT_TRUE(m.Matches(&d)); in TEST()
3370 EXPECT_FALSE(m.Matches(&d)); in TEST()
3435 EXPECT_TRUE(m.Matches(a)); in TEST()
3438 EXPECT_FALSE(m.Matches(a)); in TEST()
3448 EXPECT_TRUE(m.Matches(a)); in TEST()
3451 EXPECT_FALSE(m.Matches(a)); in TEST()
3461 EXPECT_FALSE(m.Matches(a)); in TEST()
3464 EXPECT_TRUE(m.Matches(a)); in TEST()
3474 EXPECT_TRUE(m.Matches(a)); in TEST()
3477 EXPECT_FALSE(m.Matches(a)); in TEST()
3489 EXPECT_TRUE(m.Matches(d)); in TEST()
3492 EXPECT_FALSE(m.Matches(d)); in TEST()
3503 EXPECT_TRUE(m.Matches(a)); in TEST()
3505 EXPECT_FALSE(m.Matches(a)); in TEST()
3537 EXPECT_TRUE(m.Matches(&a)); in TEST()
3540 EXPECT_FALSE(m.Matches(&a)); in TEST()
3549 EXPECT_TRUE(m.Matches(&a)); in TEST()
3552 EXPECT_FALSE(m.Matches(&a)); in TEST()
3562 EXPECT_TRUE(m.Matches(&a)); in TEST()
3565 EXPECT_FALSE(m.Matches(&a)); in TEST()
3571 EXPECT_FALSE(m.Matches(NULL)); in TEST()
3583 EXPECT_TRUE(m.Matches(&d)); in TEST()
3586 EXPECT_FALSE(m.Matches(&d)); in TEST()
3624 EXPECT_TRUE(matcher.Matches(1)); in TEST()
3625 EXPECT_FALSE(matcher.Matches(2)); in TEST()
3656 EXPECT_TRUE(matcher.Matches(42)); in TEST()
3657 EXPECT_FALSE(matcher.Matches(36)); in TEST()
3673 EXPECT_TRUE(matcher.Matches(x)); in TEST()
3674 EXPECT_FALSE(matcher.Matches(x2)); in TEST()
3682 EXPECT_TRUE(matcher2.Matches(obj)); in TEST()
3683 EXPECT_FALSE(matcher2.Matches(obj2)); in TEST()
3695 EXPECT_TRUE(matcher.Matches(s)); in TEST()
3696 EXPECT_FALSE(matcher.Matches(s2)); in TEST()
3705 EXPECT_TRUE(matcher.Matches(36)); in TEST()
3706 EXPECT_FALSE(matcher.Matches(42)); in TEST()
3721 EXPECT_TRUE(matcher.Matches(1)); in TEST()
3722 EXPECT_FALSE(matcher.Matches(2)); in TEST()
3736 EXPECT_TRUE(matcher.Matches(1)); in TEST()
3737 EXPECT_FALSE(matcher.Matches(2)); in TEST()
3752 EXPECT_TRUE(matcher_int.Matches(10)); in TEST()
3753 EXPECT_FALSE(matcher_int.Matches(2)); in TEST()
3757 EXPECT_TRUE(matcher_string.Matches("long string")); in TEST()
3758 EXPECT_FALSE(matcher_string.Matches("shrt")); in TEST()
3772 EXPECT_TRUE(matcher2.Matches(n)); in TEST()
3773 EXPECT_FALSE(matcher2.Matches(n2)); in TEST()
3776 EXPECT_TRUE(matcher3.Matches(n)); in TEST()
3777 EXPECT_FALSE(matcher3.Matches(n2)); in TEST()
3877 EXPECT_TRUE(m.Matches(n1)); in TEST()
3878 EXPECT_FALSE(m.Matches(n2)); in TEST()
3886 EXPECT_FALSE(m.Matches(n1)); in TEST()
3887 EXPECT_TRUE(m.Matches(n2)); in TEST()
4001 EXPECT_TRUE(m.Matches(my_set)); in TYPED_TEST()
4012 EXPECT_FALSE(m.Matches(test_set)); in TYPED_TEST()
4024 EXPECT_FALSE(m.Matches(test_set)); in TYPED_TEST()
4035 EXPECT_FALSE(m.Matches(test_set)); in TYPED_TEST()
4062 EXPECT_FALSE(m.Matches(test_set)); in TEST()
4075 EXPECT_FALSE(m.Matches(test_set)); in TEST()
4087 EXPECT_FALSE(m.Matches(test_set)); in TEST()
4101 EXPECT_TRUE(m.Matches(my_set)); in TEST()
4102 EXPECT_FALSE(m.Matches(test_set)); in TEST()
4119 EXPECT_TRUE(m.Matches(my_map)); in TEST()
4120 EXPECT_FALSE(m.Matches(test_map)); in TEST()