Lines Matching refs:EndsWithCaseInsensitive
1187 // Tests String::EndsWithCaseInsensitive().
1188 TEST(StringTest, EndsWithCaseInsensitive) {
1189 EXPECT_TRUE(String("foobar").EndsWithCaseInsensitive("BAR"));
1190 EXPECT_TRUE(String("foobaR").EndsWithCaseInsensitive("bar"));
1191 EXPECT_TRUE(String("foobar").EndsWithCaseInsensitive(""));
1192 EXPECT_TRUE(String("").EndsWithCaseInsensitive(""));
1194 EXPECT_FALSE(String("Foobar").EndsWithCaseInsensitive("foo"));
1195 EXPECT_FALSE(String("foobar").EndsWithCaseInsensitive("Foo"));
1196 EXPECT_FALSE(String("").EndsWithCaseInsensitive("foo"));