Lines Matching refs:IsSubstring
134 using testing::IsSubstring;
2686 EXPECT_FALSE(IsSubstring("", "", NULL, "a")); in TEST()
2687 EXPECT_FALSE(IsSubstring("", "", "b", NULL)); in TEST()
2688 EXPECT_FALSE(IsSubstring("", "", "needle", "haystack")); in TEST()
2690 EXPECT_TRUE(IsSubstring("", "", static_cast<const char*>(NULL), NULL)); in TEST()
2691 EXPECT_TRUE(IsSubstring("", "", "needle", "two needles")); in TEST()
2697 EXPECT_FALSE(IsSubstring("", "", kNull, L"a")); in TEST()
2698 EXPECT_FALSE(IsSubstring("", "", L"b", kNull)); in TEST()
2699 EXPECT_FALSE(IsSubstring("", "", L"needle", L"haystack")); in TEST()
2701 EXPECT_TRUE(IsSubstring("", "", static_cast<const wchar_t*>(NULL), NULL)); in TEST()
2702 EXPECT_TRUE(IsSubstring("", "", L"needle", L"two needles")); in TEST()
2712 IsSubstring("needle_expr", "haystack_expr", in TEST()
2719 EXPECT_TRUE(IsSubstring("", "", std::string("hello"), "ahellob")); in TEST()
2720 EXPECT_FALSE(IsSubstring("", "", "hello", std::string("world"))); in TEST()
2727 EXPECT_TRUE(IsSubstring("", "", ::std::wstring(L"needle"), L"two needles")); in TEST()
2728 EXPECT_FALSE(IsSubstring("", "", L"needle", ::std::wstring(L"haystack"))); in TEST()
2738 IsSubstring( in TEST()
3543 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure", in TEST_F()
3545 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does", in TEST_F()
3562 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure", in TEST_F()
3564 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does", in TEST_F()
3566 EXPECT_PRED_FORMAT2(testing::IsSubstring, "other failure", in TEST_F()
3581 EXPECT_PRED_FORMAT2(testing::IsSubstring, "foo", in TEST_F()
3583 EXPECT_PRED_FORMAT2(testing::IsSubstring, "my message", in TEST_F()
5660 EXPECT_PRED_FORMAT2(IsSubstring, expected_help_fragment, captured_stdout); in TestParsingFlags()