Lines Matching refs:MatchPattern
12 EXPECT_TRUE(MatchPattern("www.google.com", "*.com")); in TEST()
13 EXPECT_TRUE(MatchPattern("www.google.com", "*")); in TEST()
14 EXPECT_FALSE(MatchPattern("www.google.com", "www*.g*.org")); in TEST()
15 EXPECT_TRUE(MatchPattern("Hello", "H?l?o")); in TEST()
16 EXPECT_FALSE(MatchPattern("www.google.com", "http://*)")); in TEST()
17 EXPECT_FALSE(MatchPattern("www.msn.com", "*.COM")); in TEST()
18 EXPECT_TRUE(MatchPattern("Hello*1234", "He??o\\*1*")); in TEST()
19 EXPECT_FALSE(MatchPattern("", "*.*")); in TEST()
20 EXPECT_TRUE(MatchPattern("", "*")); in TEST()
21 EXPECT_TRUE(MatchPattern("", "?")); in TEST()
22 EXPECT_TRUE(MatchPattern("", "")); in TEST()
23 EXPECT_FALSE(MatchPattern("Hello", "")); in TEST()
24 EXPECT_TRUE(MatchPattern("Hello*", "Hello*")); in TEST()
26 EXPECT_FALSE(MatchPattern("123456789012345678", "?????????????????*")); in TEST()
29 EXPECT_TRUE(MatchPattern("heart: \xe2\x99\xa0", "*\xe2\x99\xa0")); in TEST()
30 EXPECT_TRUE(MatchPattern("heart: \xe2\x99\xa0.", "heart: ?.")); in TEST()
31 EXPECT_TRUE(MatchPattern("hearts: \xe2\x99\xa0\xe2\x99\xa0", "*")); in TEST()
33 EXPECT_TRUE(MatchPattern("invalid: \xef\xbf\xbe", "invalid: ?")); in TEST()
35 EXPECT_FALSE(MatchPattern("\xf4\x90\x80\x80", "\xf4\x90\x80\x80")); in TEST()
38 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("www.google.com"), in TEST()
40 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("Hello*1234"), in TEST()
46 EXPECT_TRUE(MatchPattern(UTF8ToUTF16("Hello"), in TEST()