Home | History | Annotate | Download | only in test

Lines Matching full:wstring

2580 // argument type is ::std::wstring.
2582 EXPECT_TRUE(IsSubstring("", "", ::std::wstring(L"needle"), L"two needles"));
2583 EXPECT_FALSE(IsSubstring("", "", L"needle", ::std::wstring(L"haystack")));
2587 // argument type is ::std::wstring.
2595 ::std::wstring(L"needle"), L"haystack").failure_message());
2650 // argument type is ::std::wstring.
2653 IsNotSubstring("", "", ::std::wstring(L"needle"), L"two needles"));
2654 EXPECT_TRUE(IsNotSubstring("", "", L"needle", ::std::wstring(L"haystack")));
4670 // Tests using ::std::wstring values in {EXPECT|ASSERT}_EQ.
4673 const ::std::wstring wstr1(L"A * in the middle");
4674 const ::std::wstring wstr2(wstr1);
4677 // Compares an std::wstring to a const wchar_t* that has identical
4680 EXPECT_EQ(::std::wstring(kTestX8119), kTestX8119);
4682 // Compares an std::wstring to a const wchar_t* that has different
4686 EXPECT_EQ(::std::wstring(kTestX8119), kTestX8120);
4691 ::std::wstring wstr3(wstr1);
4696 // Compares a wchar_t* to an std::wstring that has different
4699 ASSERT_EQ(const_cast<wchar_t*>(L"foo"), ::std::wstring(L"bar"));
4737 // Tests using ::wstring values in {EXPECT|ASSERT}_EQ.
4740 static const ::wstring wstr1(L"A * in the middle");
4741 static const ::wstring wstr2(wstr1);
4744 // Compares a const wchar_t* to a ::wstring that has identical content.
4746 ASSERT_EQ(kTestX8119, ::wstring(kTestX8119));
4748 // Compares a const wchar_t* to a ::wstring that has different
4752 EXPECT_EQ(kTestX8120, ::wstring(kTestX8119));
4755 // Compares a wchar_t* to a ::wstring that has different content.
4757 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, ::wstring(L"bar")),
4762 static ::wstring wstr3;