Lines Matching refs:Matcher

98 using testing::Matcher;
168 Matcher<int> GreaterThan(int n) { in GreaterThan()
182 string Describe(const Matcher<T>& m) { in Describe()
190 string DescribeNegation(const Matcher<T>& m) { in DescribeNegation()
274 Matcher<int> m = MakeMatcher(new NewEvenMatcherImpl); in TEST()
283 Matcher<double> m; in TEST()
289 Matcher<int> m(impl); in TEST()
296 Matcher<int> m1 = 5; in TEST()
303 Matcher<int*> m1 = NULL; in TEST()
312 Matcher<bool> m1 = Eq(false); in TEST()
326 Describe(Matcher<int>(new EvenMatcherImpl))); in TEST()
331 Matcher<int> m = GreaterThan(0); in TEST()
344 Matcher<string> m1 = "hi"; in TEST()
348 Matcher<const string&> m2 = "hi"; in TEST()
356 Matcher<string> m1 = string("hi"); in TEST()
360 Matcher<const string&> m2 = string("hi"); in TEST()
370 Matcher<int> m = MakeMatcher(dummy_impl); in TEST()
400 Matcher<const int&> m1 = ReferencesBarOrIsZero(); in TEST()
408 Matcher<double> m2 = ReferencesBarOrIsZero(); in TEST()
443 const Matcher<int> m1 = PolymorphicIsEven(); in TEST()
448 const Matcher<int> not_m1 = Not(m1); in TEST()
454 const Matcher<char> m2 = PolymorphicIsEven(); in TEST()
459 const Matcher<char> not_m2 = Not(m2); in TEST()
467 Matcher<int> m = MatcherCast<int>(Eq(5)); in TEST()
492 Matcher<double> m1 = Eq(2.0); in TEST()
493 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
497 Matcher<IntValue> m3 = Truly(IsPositiveIntValue); in TEST()
498 Matcher<int> m4 = MatcherCast<int>(m3); in TEST()
508 Matcher<const int&> m1 = Eq(0); in TEST()
509 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
516 Matcher<int&> m1 = Eq(0); in TEST()
517 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
524 Matcher<int> m1 = Eq(0); in TEST()
525 Matcher<const int&> m2 = MatcherCast<const int&>(m1); in TEST()
532 Matcher<int> m1 = Eq(0); in TEST()
533 Matcher<int&> m2 = MatcherCast<int&>(m1); in TEST()
542 Matcher<int> m1 = Eq(0); in TEST()
543 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
567 Matcher<ConvertibleFromAny> m = MatcherCast<ConvertibleFromAny>(1); in TEST()
573 Matcher<ConvertibleFromAny> m = in TEST()
584 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32)); in TEST()
593 Matcher<double> m1 = DoubleEq(1.0); in TEST()
594 Matcher<float> m2 = SafeMatcherCast<float>(m1); in TEST()
598 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a')); in TEST()
607 Matcher<Base*> m1 = Eq(&d); in TEST()
608 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1); in TEST()
612 Matcher<Base&> m3 = Ref(d); in TEST()
613 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3); in TEST()
621 Matcher<const int&> m1 = Ref(n); in TEST()
622 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
630 Matcher<int> m1 = Eq(0); in TEST()
631 Matcher<const int&> m2 = SafeMatcherCast<const int&>(m1); in TEST()
638 Matcher<int> m1 = Eq(0); in TEST()
639 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
648 Matcher<int> m1 = Eq(0); in TEST()
649 Matcher<int> m2 = SafeMatcherCast<int>(m1); in TEST()
655 Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1); in TEST()
661 Matcher<ConvertibleFromAny> m = in TEST()
670 Matcher<double> m1 = A<double>(); in TEST()
677 Matcher<int&> m2 = A<int&>(); in TEST()
690 Matcher<int> m1 = An<int>(); in TEST()
697 Matcher<int&> m2 = An<int&>(); in TEST()
711 Matcher<int> m1 = _; in TEST()
718 Matcher<const bool&> m2 = _; in TEST()
725 Matcher<int> m = _; in TEST()
735 Matcher<const char*> m1 = Eq(a1); in TEST()
752 Matcher<Unprintable> m = Eq(Unprintable()); in TEST()
759 Matcher<int> m1 = Eq(1); in TEST()
763 Matcher<char> m2 = Eq(1); in TEST()
770 Matcher<char> m1 = TypedEq<char>('a'); in TEST()
774 Matcher<int> m2 = TypedEq<int>(6); in TEST()
800 Type<Matcher<int> >::IsTypeOf(TypedEq<int>(5)); in TEST()
801 Type<Matcher<double> >::IsTypeOf(TypedEq<double>(5)); in TEST()
806 Matcher<int> m1 = Ge(0); in TEST()
814 Matcher<int> m = Ge(5); in TEST()
820 Matcher<double> m1 = Gt(0); in TEST()
828 Matcher<int> m = Gt(5); in TEST()
834 Matcher<char> m1 = Le('b'); in TEST()
842 Matcher<int> m = Le(5); in TEST()
848 Matcher<const string&> m1 = Lt("Hello"); in TEST()
856 Matcher<int> m = Lt(5); in TEST()
862 Matcher<int> m1 = Ne(0); in TEST()
870 Matcher<int> m = Ne(5); in TEST()
876 Matcher<int*> m1 = IsNull(); in TEST()
882 Matcher<const char*> m2 = IsNull(); in TEST()
896 Matcher<void*> m3 = IsNull(); in TEST()
904 const Matcher<linked_ptr<int> > m = IsNull(); in TEST()
913 const Matcher<const linked_ptr<double>&> m = IsNull(); in TEST()
922 const Matcher<const scoped_ptr<double>&> m = IsNull(); in TEST()
932 Matcher<int*> m = IsNull(); in TEST()
939 Matcher<int*> m1 = NotNull(); in TEST()
945 Matcher<const char*> m2 = NotNull(); in TEST()
952 const Matcher<linked_ptr<int> > m = NotNull(); in TEST()
961 const Matcher<const linked_ptr<double>&> m = NotNull(); in TEST()
970 const Matcher<const scoped_ptr<double>&> m = NotNull(); in TEST()
980 Matcher<int*> m = NotNull(); in TEST()
989 Matcher<int&> m = Ref(a); in TEST()
997 Matcher<int&> m = Ref(n); in TEST()
1008 Matcher<const int&> m = Ref(a); in TEST()
1020 Matcher<const Base&> m1 = Ref(base); in TEST()
1033 EXPECT_THAT(Explain(Matcher<const int&>(Ref(n)), n), in TEST()
1037 EXPECT_THAT(Explain(Matcher<const int&>(Ref(n)), m), in TEST()
1044 Matcher<const char*> m = StrEq(string("Hello")); in TEST()
1049 Matcher<const string&> m2 = StrEq("Hello"); in TEST()
1055 Matcher<string> m = StrEq("Hi-\'\"?\\\a\b\f\n\r\t\v\xD3"); in TEST()
1061 Matcher<string> m2 = StrEq(str); in TEST()
1064 Matcher<string> m3 = StrEq(str); in TEST()
1069 Matcher<const char*> m = StrNe("Hello"); in TEST()
1074 Matcher<string> m2 = StrNe(string("Hello")); in TEST()
1080 Matcher<const char*> m = StrNe("Hi"); in TEST()
1085 Matcher<const char*> m = StrCaseEq(string("Hello")); in TEST()
1091 Matcher<const string&> m2 = StrCaseEq("Hello"); in TEST()
1099 Matcher<const string&> m0 = StrCaseEq(str1); in TEST()
1103 Matcher<const string&> m1 = StrCaseEq(str1); in TEST()
1108 Matcher<const string&> m2 = StrCaseEq(str1); in TEST()
1112 Matcher<const string&> m3 = StrCaseEq(str1); in TEST()
1122 Matcher<string> m = StrCaseEq("Hi"); in TEST()
1127 Matcher<const char*> m = StrCaseNe("Hello"); in TEST()
1133 Matcher<string> m2 = StrCaseNe(string("Hello")); in TEST()
1139 Matcher<const char*> m = StrCaseNe("Hi"); in TEST()
1145 const Matcher<string> m1 = HasSubstr("foo"); in TEST()
1149 const Matcher<const std::string&> m2 = HasSubstr("foo"); in TEST()
1156 const Matcher<char*> m1 = HasSubstr("foo"); in TEST()
1161 const Matcher<const char*> m2 = HasSubstr("foo"); in TEST()
1169 Matcher<string> m = HasSubstr("foo\n\""); in TEST()
1174 Matcher<const pair<std::string, int>&> m = Key("foo"); in TEST()
1180 Matcher<pair<int, bool> > m = Key(GreaterThan(10)); in TEST()
1196 Matcher<int> is_positive = Gt(0); in TEST()
1197 Matcher<int> is_negative = Lt(0); in TEST()
1230 Matcher<const pair<const char*, int>&> m1 = Pair("foo", 42); in TEST()
1231 Matcher<const pair<const char*, int> > m2 = Pair("foo", 42); in TEST()
1232 Matcher<pair<const char*, int> > m3 = Pair("foo", 42); in TEST()
1234 Matcher<pair<int, const std::string> > m4 = Pair(25, "42"); in TEST()
1235 Matcher<pair<const std::string, int> > m5 = Pair("25", 42); in TEST()
1239 Matcher<const pair<std::string, int>&> m1 = Pair("foo", 42); in TEST()
1247 Matcher<const pair<int, int>&> m2 = Not(Pair(Not(13), 42)); in TEST()
1256 const Matcher<pair<int, int> > m = Pair(GreaterThan(0), GreaterThan(0)); in TEST()
1278 const Matcher<pair<int, int> > explain_first = Pair(GreaterThan(0), 0); in TEST()
1285 const Matcher<pair<int, int> > explain_second = Pair(0, GreaterThan(0)); in TEST()
1312 Matcher<int> is_positive = Gt(0); in TEST()
1313 Matcher<int> is_negative = Lt(0); in TEST()
1335 const Matcher<const char*> m1 = StartsWith(string("")); in TEST()
1340 const Matcher<const string&> m2 = StartsWith("Hi"); in TEST()
1349 Matcher<const std::string> m = StartsWith("Hi"); in TEST()
1356 const Matcher<const char*> m1 = EndsWith(""); in TEST()
1361 const Matcher<const string&> m2 = EndsWith(string("Hi")); in TEST()
1370 Matcher<const std::string> m = EndsWith("Hi"); in TEST()
1377 const Matcher<const char*> m1 = MatchesRegex("a.*z"); in TEST()
1382 const Matcher<const string&> m2 = MatchesRegex(new RE("a.*z")); in TEST()
1389 Matcher<const std::string> m1 = MatchesRegex(string("Hi.*")); in TEST()
1392 Matcher<const char*> m2 = MatchesRegex(new RE("a.*")); in TEST()
1399 const Matcher<const char*> m1 = ContainsRegex(string("a.*z")); in TEST()
1404 const Matcher<const string&> m2 = ContainsRegex(new RE("a.*z")); in TEST()
1411 Matcher<const std::string> m1 = ContainsRegex("Hi.*"); in TEST()
1414 Matcher<const char*> m2 = ContainsRegex(new RE("a.*")); in TEST()
1421 Matcher<const wchar_t*> m = StrEq(::std::wstring(L"Hello")); in TEST()
1426 Matcher<const ::std::wstring&> m2 = StrEq(L"Hello"); in TEST()
1430 Matcher<const ::std::wstring&> m3 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST()
1436 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST()
1439 Matcher<const ::std::wstring&> m5 = StrEq(str); in TEST()
1444 Matcher< ::std::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v"); in TEST()
1448 Matcher< ::std::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST()
1454 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST()
1457 Matcher<const ::std::wstring&> m5 = StrEq(str); in TEST()
1462 Matcher<const wchar_t*> m = StrNe(L"Hello"); in TEST()
1467 Matcher< ::std::wstring> m2 = StrNe(::std::wstring(L"Hello")); in TEST()
1473 Matcher<const wchar_t*> m = StrNe(L"Hi"); in TEST()
1478 Matcher<const wchar_t*> m = StrCaseEq(::std::wstring(L"Hello")); in TEST()
1484 Matcher<const ::std::wstring&> m2 = StrCaseEq(L"Hello"); in TEST()
1492 Matcher<const ::std::wstring&> m0 = StrCaseEq(str1); in TEST()
1496 Matcher<const ::std::wstring&> m1 = StrCaseEq(str1); in TEST()
1501 Matcher<const ::std::wstring&> m2 = StrCaseEq(str1); in TEST()
1505 Matcher<const ::std::wstring&> m3 = StrCaseEq(str1); in TEST()
1515 Matcher< ::std::wstring> m = StrCaseEq(L"Hi"); in TEST()
1520 Matcher<const wchar_t*> m = StrCaseNe(L"Hello"); in TEST()
1526 Matcher< ::std::wstring> m2 = StrCaseNe(::std::wstring(L"Hello")); in TEST()
1532 Matcher<const wchar_t*> m = StrCaseNe(L"Hi"); in TEST()
1538 const Matcher< ::std::wstring> m1 = HasSubstr(L"foo"); in TEST()
1542 const Matcher<const ::std::wstring&> m2 = HasSubstr(L"foo"); in TEST()
1549 const Matcher<wchar_t*> m1 = HasSubstr(L"foo"); in TEST()
1554 const Matcher<const wchar_t*> m2 = HasSubstr(L"foo"); in TEST()
1562 Matcher< ::std::wstring> m = HasSubstr(L"foo\n\""); in TEST()
1569 const Matcher<const wchar_t*> m1 = StartsWith(::std::wstring(L"")); in TEST()
1574 const Matcher<const ::std::wstring&> m2 = StartsWith(L"Hi"); in TEST()
1583 Matcher<const ::std::wstring> m = StartsWith(L"Hi"); in TEST()
1590 const Matcher<const wchar_t*> m1 = EndsWith(L""); in TEST()
1595 const Matcher<const ::std::wstring&> m2 = EndsWith(::std::wstring(L"Hi")); in TEST()
1604 Matcher<const ::std::wstring> m = EndsWith(L"Hi"); in TEST()
1612 Matcher<const wchar_t*> m = StrEq(::wstring(L"Hello")); in TEST()
1617 Matcher<const ::wstring&> m2 = StrEq(L"Hello"); in TEST()
1621 Matcher<const ::wstring&> m3 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST()
1627 Matcher<const ::wstring&> m4 = StrEq(str); in TEST()
1630 Matcher<const ::wstring&> m5 = StrEq(str); in TEST()
1635 Matcher< ::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v"); in TEST()
1639 Matcher< ::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST()
1645 Matcher<const ::wstring&> m4 = StrEq(str); in TEST()
1648 Matcher<const ::wstring&> m5 = StrEq(str); in TEST()
1653 Matcher<const wchar_t*> m = StrNe(L"Hello"); in TEST()
1658 Matcher< ::wstring> m2 = StrNe(::wstring(L"Hello")); in TEST()
1664 Matcher<const wchar_t*> m = StrNe(L"Hi"); in TEST()
1669 Matcher<const wchar_t*> m = StrCaseEq(::wstring(L"Hello")); in TEST()
1675 Matcher<const ::wstring&> m2 = StrCaseEq(L"Hello"); in TEST()
1683 Matcher<const ::wstring&> m0 = StrCaseEq(str1); in TEST()
1687 Matcher<const ::wstring&> m1 = StrCaseEq(str1); in TEST()
1692 Matcher<const ::wstring&> m2 = StrCaseEq(str1); in TEST()
1696 Matcher<const ::wstring&> m3 = StrCaseEq(str1); in TEST()
1706 Matcher< ::wstring> m = StrCaseEq(L"Hi"); in TEST()
1711 Matcher<const wchar_t*> m = StrCaseNe(L"Hello"); in TEST()
1717 Matcher< ::wstring> m2 = StrCaseNe(::wstring(L"Hello")); in TEST()
1723 Matcher<const wchar_t*> m = StrCaseNe(L"Hi"); in TEST()
1729 const Matcher< ::wstring> m1 = HasSubstr(L"foo"); in TEST()
1733 const Matcher<const ::wstring&> m2 = HasSubstr(L"foo"); in TEST()
1740 const Matcher<wchar_t*> m1 = HasSubstr(L"foo"); in TEST()
1745 const Matcher<const wchar_t*> m2 = HasSubstr(L"foo"); in TEST()
1753 Matcher< ::wstring> m = HasSubstr(L"foo\n\""); in TEST()
1760 const Matcher<const wchar_t*> m1 = StartsWith(::wstring(L"")); in TEST()
1765 const Matcher<const ::wstring&> m2 = StartsWith(L"Hi"); in TEST()
1774 Matcher<const ::wstring> m = StartsWith(L"Hi"); in TEST()
1781 const Matcher<const wchar_t*> m1 = EndsWith(L""); in TEST()
1786 const Matcher<const ::wstring&> m2 = EndsWith(::wstring(L"Hi")); in TEST()
1795 Matcher<const ::wstring> m = EndsWith(L"Hi"); in TEST()
1807 Matcher<const Tuple2&> m = Eq(); in TEST()
1814 Matcher<const Tuple2&> m = Eq(); in TEST()
1821 Matcher<const Tuple2&> m = Ge(); in TEST()
1829 Matcher<const Tuple2&> m = Ge(); in TEST()
1836 Matcher<const Tuple2&> m = Gt(); in TEST()
1844 Matcher<const Tuple2&> m = Gt(); in TEST()
1851 Matcher<const Tuple2&> m = Le(); in TEST()
1859 Matcher<const Tuple2&> m = Le(); in TEST()
1866 Matcher<const Tuple2&> m = Lt(); in TEST()
1874 Matcher<const Tuple2&> m = Lt(); in TEST()
1881 Matcher<const Tuple2&> m = Ne(); in TEST()
1889 Matcher<const Tuple2&> m = Ne(); in TEST()
1895 Matcher<int> m; in TEST()
1903 Matcher<int> m = Not(Eq(5)); in TEST()
1910 Matcher<int> greater_than_5 = Gt(5); in TEST()
1912 Matcher<const int&> m = Not(greater_than_5); in TEST()
1913 Matcher<int&> m2 = Not(greater_than_5); in TEST()
1914 Matcher<int&> m3 = Not(m); in TEST()
1918 void AllOfMatches(int num, const Matcher<int>& m) { in AllOfMatches()
1930 Matcher<int> m; in TEST()
1975 Matcher<int> m; in TEST()
2005 Matcher<int> m; in TEST()
2038 Matcher<int> greater_than_5 = Gt(5); in TEST()
2039 Matcher<int> less_than_10 = Lt(10); in TEST()
2041 Matcher<const int&> m = AllOf(greater_than_5, less_than_10); in TEST()
2042 Matcher<int&> m2 = AllOf(greater_than_5, less_than_10); in TEST()
2043 Matcher<int&> m3 = AllOf(greater_than_5, m2); in TEST()
2046 Matcher<const int&> m4 = AllOf(greater_than_5, less_than_10, less_than_10); in TEST()
2047 Matcher<int&> m5 = AllOf(greater_than_5, less_than_10, less_than_10); in TEST()
2051 Matcher<int> m; in TEST()
2094 void AnyOfMatches(int num, const Matcher<int>& m) { in AnyOfMatches()
2106 Matcher<int> m; in TEST()
2148 Matcher<int> m; in TEST()
2176 Matcher<int> m; in TEST()
2205 Matcher<int> greater_than_5 = Gt(5); in TEST()
2206 Matcher<int> less_than_10 = Lt(10); in TEST()
2208 Matcher<const int&> m = AnyOf(greater_than_5, less_than_10); in TEST()
2209 Matcher<int&> m2 = AnyOf(greater_than_5, less_than_10); in TEST()
2210 Matcher<int&> m3 = AnyOf(greater_than_5, m2); in TEST()
2213 Matcher<const int&> m4 = AnyOf(greater_than_5, less_than_10, less_than_10); in TEST()
2214 Matcher<int&> m5 = AnyOf(greater_than_5, less_than_10, less_than_10); in TEST()
2218 Matcher<int> m; in TEST()
2295 Matcher<double> m = Truly(IsPositive); in TEST()
2302 Matcher<int> m = Truly(IsGreaterThan(5)); in TEST()
2325 Matcher<int> m = Truly(IsNotZero); in TEST()
2332 Matcher<double> m = Truly(IsPositive); in TEST()
2340 Matcher<const int&> m = Truly(ReferencesFooAndIsZero); in TEST()
2364 Matcher<int> eq5 = Eq(5); in TEST()
2378 const Matcher<int> is_zero = Eq(0); in TEST()
2383 const Matcher<const int&> ref_n = Ref(n); in TEST()
2399 const Matcher<int> is_even = PolymorphicIsEven(); in TEST()
2404 const Matcher<const double&> is_zero = Eq(0); in TEST()
2517 Matcher<const char*> starts_with_he = StartsWith("he"); in TEST()
2520 Matcher<const string&> ends_with_ok = EndsWith("ok"); in TEST()
2527 Matcher<int> is_greater_than_5 = Gt(5); in TEST()
2586 Matcher<RawType> m1 = matcher_maker(0.0); in TestMatches()
2592 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); in TestMatches()
2595 Matcher<RawType> m3 = matcher_maker(1.0); in TestMatches()
2602 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches()
2605 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches()
2614 Matcher<const RawType&> m6 = matcher_maker(0.0); in TestMatches()
2621 Matcher<RawType&> m7 = matcher_maker(0.0); in TestMatches()
2688 Matcher<float> m = FloatEq(nan1_); in TEST_F()
2696 Matcher<float> m = NanSensitiveFloatEq(nan1_); in TEST_F()
2703 Matcher<float> m1 = FloatEq(2.0f); in TEST_F()
2707 Matcher<float> m2 = FloatEq(0.5f); in TEST_F()
2711 Matcher<float> m3 = FloatEq(nan1_); in TEST_F()
2717 Matcher<float> m1 = NanSensitiveFloatEq(2.0f); in TEST_F()
2721 Matcher<float> m2 = NanSensitiveFloatEq(0.5f); in TEST_F()
2725 Matcher<float> m3 = NanSensitiveFloatEq(nan1_); in TEST_F()
2743 Matcher<double> m = DoubleEq(nan1_); in TEST_F()
2751 Matcher<double> m = NanSensitiveDoubleEq(nan1_); in TEST_F()
2758 Matcher<double> m1 = DoubleEq(2.0); in TEST_F()
2762 Matcher<double> m2 = DoubleEq(0.5); in TEST_F()
2766 Matcher<double> m3 = DoubleEq(nan1_); in TEST_F()
2772 Matcher<double> m1 = NanSensitiveDoubleEq(2.0); in TEST_F()
2776 Matcher<double> m2 = NanSensitiveDoubleEq(0.5); in TEST_F()
2780 Matcher<double> m3 = NanSensitiveDoubleEq(nan1_); in TEST_F()
2786 const Matcher<int*> m = Pointee(Ge(0)); in TEST()
2796 const Matcher<const double*> m = Pointee(Ge(0)); in TEST()
2806 const Matcher<int* const &> m = Pointee(Ge(0)); in TEST()
2816 const Matcher<double* &> m = Pointee(Ge(0)); in TEST()
2848 const Matcher< ConstPropagatingPtr<int> > m = Pointee(Lt(5)); in TEST()
2860 const Matcher<const char*> m = Pointee(_); in TEST()
2866 const Matcher<int*> m = Pointee(5); in TEST()
2876 const Matcher<int*> m = Pointee(Gt(3)); in TEST()
2883 const Matcher<const string*> m = Pointee(StartsWith("Hi")); in TEST()
2887 const Matcher<long*> m2 = Pointee(GreaterThan(1)); // NOLINT in TEST()
2894 const Matcher<int*> m = Pointee(0); in TEST()
2938 Matcher<AStruct> m = Field(&AStruct::x, Ge(0)); in TEST()
2950 Matcher<AStruct> m = Field(&AStruct::y, Ge(0.0)); in TEST()
2960 Matcher<AStruct> m = Field(&AStruct::z, Truly(ValueIsPositive)); in TEST()
2969 Matcher<AStruct> m = Field(&AStruct::p, static_cast<const char*>(NULL)); in TEST()
2985 Matcher<const AStruct&> m = Field(&AStruct::x, Ge(0)); in TEST()
2998 Matcher<const DerivedStruct&> m = Field(&AStruct::x, Ge(0)); in TEST()
3010 Matcher<const AStruct&> m = Field(&AStruct::x, in TEST()
3011 Matcher<signed char>(Ge(0))); in TEST()
3021 Matcher<const AStruct&> m = Field(&AStruct::x, Ge(0)); in TEST()
3029 Matcher<const AStruct&> m = Field(&AStruct::x, Ge(0)); in TEST()
3043 Matcher<const AStruct*> m = Field(&AStruct::x, Ge(0)); in TEST()
3053 Matcher<AStruct*> m = Field(&AStruct::x, Ge(0)); in TEST()
3063 Matcher<AStruct* const&> m = Field(&AStruct::x, Ge(0)); in TEST()
3073 Matcher<const AStruct*> m = Field(&AStruct::x, _); in TEST()
3082 Matcher<DerivedStruct*> m = Field(&AStruct::x, Ge(0)); in TEST()
3092 Matcher<const AStruct*> m = Field(&AStruct::x, Ge(0)); in TEST()
3100 Matcher<const AStruct*> m = Field(&AStruct::x, Ge(0)); in TEST()
3148 Matcher<const AClass&> m = Property(&AClass::n, Ge(0)); in TEST()
3161 Matcher<const AClass&> m = Property(&AClass::s, StartsWith("hi")); in TEST()
3177 Matcher<const AClass&> m = Property(&AClass::x, Ref(x)); in TEST()
3187 Matcher<AClass> m = Property(&AClass::s, StartsWith("hi")); in TEST()
3202 Matcher<const DerivedClass&> m = Property(&AClass::n, Ge(0)); in TEST()
3216 Matcher<const AClass&> m = Property(&AClass::n, in TEST()
3217 Matcher<signed char>(Ge(0))); in TEST()
3227 Matcher<const AClass&> m = Property(&AClass::n, Ge(0)); in TEST()
3236 Matcher<const AClass&> m = Property(&AClass::n, Ge(0)); in TEST()
3250 Matcher<const AClass*> m = Property(&AClass::n, Ge(0)); in TEST()
3262 Matcher<AClass*> m = Property(&AClass::s, StartsWith("hi")); in TEST()
3275 Matcher<AClass* const&> m = Property(&AClass::s, StartsWith("hi")); in TEST()
3287 Matcher<const AClass*> m = Property(&AClass::x, _); in TEST()
3296 Matcher<const DerivedClass*> m = Property(&AClass::n, Ge(0)); in TEST()
3308 Matcher<const AClass*> m = Property(&AClass::n, Ge(0)); in TEST()
3317 Matcher<const AClass*> m = Property(&AClass::n, Ge(0)); in TEST()
3339 Matcher<int> matcher = ResultOf(&IntToStringFunction, Eq(string("foo"))); in TEST()
3347 Matcher<int> matcher = ResultOf(&IntToStringFunction, StrEq("foo")); in TEST()
3359 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85)); in TEST()
3371 Matcher<int> matcher = ResultOf(&IntFunction, Eq(80)); in TEST()
3388 Matcher<double&> matcher = ResultOf(&DoubleFunction, Ref(x)); in TEST()
3396 Matcher<Uncopyable&> matcher2 = in TEST()
3410 Matcher<const string&> matcher = ResultOf(&StringFunction, Ref(s)); in TEST()
3420 Matcher<int> matcher = ResultOf(IntFunction, Matcher<signed char>(Ge(85))); in TEST()
3437 Matcher<int> matcher = ResultOf(IntToStringFunction, StrEq("foo")); in TEST()
3451 Matcher<int> matcher = ResultOf(Functor(), Eq(string("foo"))); in TEST()
3467 Matcher<int> matcher_int = ResultOf(PolymorphicFunctor(), Ge(5)); in TEST()
3472 Matcher<const char*> matcher_string = ResultOf(PolymorphicFunctor(), Ge(5)); in TEST()
3488 Matcher<const int&> matcher2 = ResultOf(ReferencingFunction, Eq(&n)); in TEST()
3492 Matcher<const int&> matcher3 = ResultOf(ReferencingFunctor(), Eq(&n)); in TEST()
3531 const Matcher<int> m = AllOf(DivisibleBy(4), DivisibleBy(3)); in TEST()
3538 const Matcher<int> m = AllOf(DivisibleBy(4), DivisibleBy(3)); in TEST()
3545 const Matcher<int> m = AllOf(Ge(1), DivisibleBy(3)); in TEST()
3552 const Matcher<int> m = AllOf(DivisibleBy(2), DivisibleBy(3)); in TEST()
3557 const Matcher<int> m = AllOf(Ge(2), Le(3)); in TEST()
3562 const Matcher<int> m = GreaterThan(5); in TEST()
3591 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
3600 const Matcher<NotCopyable&> m = Ge(ByRef(value2)); in TEST()
3627 const Matcher<TypeParam> m = ContainerEq(my_set); in TYPED_TEST()
3638 const Matcher<TypeParam> m = ContainerEq(my_set); in TYPED_TEST()
3650 const Matcher<const TypeParam&> m = ContainerEq(my_set); in TYPED_TEST()
3661 const Matcher<TypeParam> m = ContainerEq(my_set); in TYPED_TEST()
3674 const Matcher<const TypeParam&> m = ContainerEq(my_set); in TYPED_TEST()
3688 const Matcher<vector<int> > m = ContainerEq(my_set); in TEST()
3701 const Matcher<const list<size_t>&> m = ContainerEq(my_set); in TEST()
3713 const Matcher<const list<size_t> > m = ContainerEq(my_set); in TEST()
3727 const Matcher<vector<int> > m = ContainerEq(my_set); in TEST()
3745 const Matcher<const map<int, std::string>&> m = ContainerEq(my_map); in TEST()
3801 const Matcher<const std::string(&)[2][3]> m = ContainerEq(a2); in TEST()
3847 const Matcher<vector<int> > m = WhenSortedBy(less<int>(), ElementsAre(1, 2)); in TEST()
3970 ExplainMatchFailureTupleTo(make_tuple(Matcher<char>(Eq('a')), GreaterThan(5)), in TEST()
3975 ExplainMatchFailureTupleTo(make_tuple(GreaterThan(5), Matcher<char>(Eq('a'))), in TEST()
3984 ExplainMatchFailureTupleTo(make_tuple(GreaterThan(5), Matcher<char>(Eq('a'))), in TEST()
3997 Matcher<set<int> > m = Each(2); in TEST()
4000 Matcher<const int(&)[1]> n = Each(1); // NOLINT in TEST()
4020 Matcher<vector<int> > m = Each(1); in TEST()
4023 Matcher<vector<int> > m2 = Not(m); in TEST()
4111 const Matcher<const vector<int>&> m = Pointwise(IsHalfOf(), rhs); in TEST()
4127 const Matcher<const int (&)[2]> m = Pointwise(IsHalfOf(), rhs); in TEST()
4185 const Matcher<tuple<const double&, const int&> > m1 = IsHalfOf(); in TEST()
4191 const Matcher<tuple<double, int> > m2 = IsHalfOf(); in TEST()