Lines Matching refs:wstring
1373 Matcher<const wchar_t*> m = StrEq(::std::wstring(L"Hello"));
1378 Matcher<const ::std::wstring&> m2 = StrEq(L"Hello");
1382 Matcher<const ::std::wstring&> m3 = StrEq(L"\xD3\x576\x8D3\xC74D");
1386 ::std::wstring str(L"01204500800");
1388 Matcher<const ::std::wstring&> m4 = StrEq(str);
1391 Matcher<const ::std::wstring&> m5 = StrEq(str);
1396 Matcher< ::std::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v");
1400 Matcher< ::std::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D");
1404 ::std::wstring str(L"01204500800");
1406 Matcher<const ::std::wstring&> m4 = StrEq(str);
1409 Matcher<const ::std::wstring&> m5 = StrEq(str);
1419 Matcher< ::std::wstring> m2 = StrNe(::std::wstring(L"Hello"));
1430 Matcher<const wchar_t*> m = StrCaseEq(::std::wstring(L"Hello"));
1436 Matcher<const ::std::wstring&> m2 = StrCaseEq(L"Hello");
1442 ::std::wstring str1(L"oabocdooeoo");
1443 ::std::wstring str2(L"OABOCDOOEOO");
1444 Matcher<const ::std::wstring&> m0 = StrCaseEq(str1);
1445 EXPECT_FALSE(m0.Matches(str2 + ::std::wstring(1, L'\0')));
1448 Matcher<const ::std::wstring&> m1 = StrCaseEq(str1);
1453 Matcher<const ::std::wstring&> m2 = StrCaseEq(str1);
1457 Matcher<const ::std::wstring&> m3 = StrCaseEq(str1);
1463 EXPECT_FALSE(m3.Matches(::std::wstring(str2, 0, 9)));
1467 Matcher< ::std::wstring> m = StrCaseEq(L"Hi");
1478 Matcher< ::std::wstring> m2 = StrCaseNe(::std::wstring(L"Hello"));
1488 // Tests that HasSubstr() works for matching wstring-typed values.
1490 const Matcher< ::std::wstring> m1 = HasSubstr(L"foo");
1491 EXPECT_TRUE(m1.Matches(::std::wstring(L"I love food.")));
1492 EXPECT_FALSE(m1.Matches(::std::wstring(L"tofo")));
1494 const Matcher<const ::std::wstring&> m2 = HasSubstr(L"foo");
1495 EXPECT_TRUE(m2.Matches(::std::wstring(L"I love food.")));
1496 EXPECT_FALSE(m2.Matches(::std::wstring(L"tofo")));
1514 Matcher< ::std::wstring> m = HasSubstr(L"foo\n\"");
1521 const Matcher<const wchar_t*> m1 = StartsWith(::std::wstring(L""));
1526 const Matcher<const ::std::wstring&> m2 = StartsWith(L"Hi");
1535 Matcher<const ::std::wstring> m = StartsWith(L"Hi");
1547 const Matcher<const ::std::wstring&> m2 = EndsWith(::std::wstring(L"Hi"));
1556 Matcher<const ::std::wstring> m = EndsWith(L"Hi");
1564 Matcher<const wchar_t*> m = StrEq(::wstring(L"Hello"));
1569 Matcher<const ::wstring&> m2 = StrEq(L"Hello");
1573 Matcher<const ::wstring&> m3 = StrEq(L"\xD3\x576\x8D3\xC74D");
1577 ::wstring str(L"01204500800");
1579 Matcher<const ::wstring&> m4 = StrEq(str);
1582 Matcher<const ::wstring&> m5 = StrEq(str);
1587 Matcher< ::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v");
1591 Matcher< ::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D");
1595 ::wstring str(L"01204500800");
1597 Matcher<const ::wstring&> m4 = StrEq(str);
1600 Matcher<const ::wstring&> m5 = StrEq(str);
1610 Matcher< ::wstring> m2 = StrNe(::wstring(L"Hello"));
1621 Matcher<const wchar_t*> m = StrCaseEq(::wstring(L"Hello"));
1627 Matcher<const ::wstring&> m2 = StrCaseEq(L"Hello");
1633 ::wstring str1(L"oabocdooeoo");
1634 ::wstring str2(L"OABOCDOOEOO");
1635 Matcher<const ::wstring&> m0 = StrCaseEq(str1);
1636 EXPECT_FALSE(m0.Matches(str2 + ::wstring(1, L'\0')));
1639 Matcher<const ::wstring&> m1 = StrCaseEq(str1);
1644 Matcher<const ::wstring&> m2 = StrCaseEq(str1);
1648 Matcher<const ::wstring&> m3 = StrCaseEq(str1);
1654 EXPECT_FALSE(m3.Matches(::wstring(str2, 0, 9)));
1658 Matcher< ::wstring> m = StrCaseEq(L"Hi");
1669 Matcher< ::wstring> m2 = StrCaseNe(::wstring(L"Hello"));
1679 // Tests that HasSubstr() works for matching wstring-typed values.
1681 const Matcher< ::wstring> m1 = HasSubstr(L"foo");
1682 EXPECT_TRUE(m1.Matches(::wstring(L"I love food.")));
1683 EXPECT_FALSE(m1.Matches(::wstring(L"tofo")));
1685 const Matcher<const ::wstring&> m2 = HasSubstr(L"foo");
1686 EXPECT_TRUE(m2.Matches(::wstring(L"I love food.")));
1687 EXPECT_FALSE(m2.Matches(::wstring(L"tofo")));
1705 Matcher< ::wstring> m = HasSubstr(L"foo\n\"");
1712 const Matcher<const wchar_t*> m1 = StartsWith(::wstring(L""));
1717 const Matcher<const ::wstring&> m2 = StartsWith(L"Hi");
1726 Matcher<const ::wstring> m = StartsWith(L"Hi");
1738 const Matcher<const ::wstring&> m2 = EndsWith(::wstring(L"Hi"));
1747 Matcher<const ::wstring> m = EndsWith(L"Hi");