Home | History | Annotate | Download | only in base

Lines Matching refs:StartsWith

800 TEST(StringUtilTest, StartsWith) {
812 EXPECT_TRUE(StartsWith(L"javascript:url", L"javascript", true));
813 EXPECT_FALSE(StartsWith(L"JavaScript:url", L"javascript", true));
814 EXPECT_TRUE(StartsWith(L"javascript:url", L"javascript", false));
815 EXPECT_TRUE(StartsWith(L"JavaScript:url", L"javascript", false));
816 EXPECT_FALSE(StartsWith(L"java", L"javascript", true));
817 EXPECT_FALSE(StartsWith(L"java", L"javascript", false));
818 EXPECT_FALSE(StartsWith(L"", L"javascript", false));
819 EXPECT_FALSE(StartsWith(L"", L"javascript", true));
820 EXPECT_TRUE(StartsWith(L"java", L"", false));
821 EXPECT_TRUE(StartsWith(L"java", L"", true));