Lines Matching defs:m3
424 Matcher<IntValue> m3 = Truly(IsPositiveIntValue);
425 Matcher<int> m4 = MatcherCast<int>(m3);
519 Matcher<int> m3 =
521 EXPECT_TRUE(m3.Matches(42));
522 EXPECT_FALSE(m3.Matches(239));
538 // in m3.Matcher().
631 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a'));
632 EXPECT_TRUE(m3.Matches('a'));
633 EXPECT_FALSE(m3.Matches('b'));
645 Matcher<Base&> m3 = Ref(d);
646 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3);
1026 Matcher<void*> m3 = IsNull();
1028 EXPECT_TRUE(m3.Matches(p3));
1029 EXPECT_FALSE(m3.Matches(reinterpret_cast<void*>(0xbeef)));
1180 Matcher<const internal::StringView&> m3 =
1182 EXPECT_TRUE(m3.Matches(internal::StringView("Hello")));
1183 EXPECT_FALSE(m3.Matches(internal::StringView("hello")));
1184 EXPECT_FALSE(m3.Matches(internal::StringView()));
1203 Matcher<std::string> m3 = StrEq(str);
1204 EXPECT_EQ("is equal to \"\\012\\045\\0\\08\\0\\0\"", Describe(m3));
1218 Matcher<const internal::StringView> m3 = StrNe(internal::StringView("Hello"));
1219 EXPECT_TRUE(m3.Matches(internal::StringView("")));
1220 EXPECT_TRUE(m3.Matches(internal::StringView()));
1221 EXPECT_FALSE(m3.Matches(internal::StringView("Hello")));
1242 Matcher<const internal::StringView&> m3 =
1244 EXPECT_TRUE(m3.Matches(internal::StringView("Hello")));
1245 EXPECT_TRUE(m3.Matches(internal::StringView("hello")));
1246 EXPECT_FALSE(m3.Matches(internal::StringView("Hi")));
1247 EXPECT_FALSE(m3.Matches(internal::StringView()));
1267 Matcher<const std::string&> m3 = StrCaseEq(str1);
1268 EXPECT_TRUE(m3.Matches(str2));
1270 EXPECT_FALSE(m3.Matches(str2 + "x"));
1272 EXPECT_FALSE(m3.Matches(str2));
1273 EXPECT_FALSE(m3.Matches(std::string(str2, 0, 9)));
1293 Matcher<const internal::StringView> m3 =
1295 EXPECT_TRUE(m3.Matches(internal::StringView("Hi")));
1296 EXPECT_TRUE(m3.Matches(internal::StringView()));
1297 EXPECT_FALSE(m3.Matches(internal::StringView("Hello")));
1298 EXPECT_FALSE(m3.Matches(internal::StringView("hello")));
1354 const Matcher<const internal::StringView&> m3 = HasSubstr("");
1355 EXPECT_TRUE(m3.Matches(internal::StringView("foo")));
1356 EXPECT_TRUE(m3.Matches(internal::StringView("")));
1357 EXPECT_TRUE(m3.Matches(internal::StringView()));
1462 Matcher<pair<const char*, int>> m3 = Pair("foo", 42);
1827 const Matcher<const internal::StringView&> m3 =
1829 EXPECT_FALSE(m3.Matches("invalid base64"));
1830 EXPECT_FALSE(m3.Matches("aGVsbG8gd29ybGQ=")); // hello world
1831 EXPECT_TRUE(m3.Matches("aGVsbG8gd29ybGQh")); // hello world!
1832 EXPECT_TRUE(m3.Matches("+/-_IQ")); // \xfb\xff\xbf!
1855 const Matcher<const internal::StringView&> m3 = MatchesRegex("a.*z");
1856 EXPECT_TRUE(m3.Matches(internal::StringView("az")));
1857 EXPECT_TRUE(m3.Matches(internal::StringView("abcz")));
1858 EXPECT_FALSE(m3.Matches(internal::StringView("1az")));
1859 EXPECT_FALSE(m3.Matches(internal::StringView()));
1875 Matcher<const internal::StringView> m3 = MatchesRegex(new RE("0.*"));
1876 EXPECT_EQ("matches regular expression \"0.*\"", Describe(m3));
1894 const Matcher<const internal::StringView&> m3 = ContainsRegex(new RE("a.*z"));
1895 EXPECT_TRUE(m3.Matches(internal::StringView("azbz")));
1896 EXPECT_TRUE(m3.Matches(internal::StringView("az1")));
1897 EXPECT_FALSE(m3.Matches(internal::StringView("1a")));
1898 EXPECT_FALSE(m3.Matches(internal::StringView()));
1914 Matcher<const internal::StringView> m3 = ContainsRegex(new RE("0.*"));
1915 EXPECT_EQ("contains regular expression \"0.*\"", Describe(m3));
1931 Matcher<const ::std::wstring&> m3 = StrEq(L"\xD3\x576\x8D3\xC74D");
1932 EXPECT_TRUE(m3.Matches(L"\xD3\x576\x8D3\xC74D"));
1933 EXPECT_FALSE(m3.Matches(L"\xD3\x576\x8D3\xC74E"));
2005 Matcher<const ::std::wstring&> m3 = StrCaseEq(str1);
2006 EXPECT_TRUE(m3.Matches(str2));
2008 EXPECT_FALSE(m3.Matches(str2 + L"x"));
2010 EXPECT_FALSE(m3.Matches(str2));
2011 EXPECT_FALSE(m3.Matches(::std::wstring(str2, 0, 9)));