Lines Matching refs:MatchVlogPattern
33 TEST(VlogTest, MatchVlogPattern) { in TEST() argument
35 EXPECT_TRUE(MatchVlogPattern("", "")); in TEST()
36 EXPECT_TRUE(MatchVlogPattern("", "****")); in TEST()
37 EXPECT_FALSE(MatchVlogPattern("", "x")); in TEST()
38 EXPECT_FALSE(MatchVlogPattern("x", "")); in TEST()
41 EXPECT_TRUE(MatchVlogPattern("blah", "blah")); in TEST()
44 EXPECT_TRUE(MatchVlogPattern("blah", "bl?h")); in TEST()
45 EXPECT_FALSE(MatchVlogPattern("blh", "bl?h")); in TEST()
46 EXPECT_FALSE(MatchVlogPattern("blaah", "bl?h")); in TEST()
47 EXPECT_TRUE(MatchVlogPattern("blah", "?lah")); in TEST()
48 EXPECT_FALSE(MatchVlogPattern("lah", "?lah")); in TEST()
49 EXPECT_FALSE(MatchVlogPattern("bblah", "?lah")); in TEST()
52 EXPECT_TRUE(MatchVlogPattern("blah", "bl*h")); in TEST()
53 EXPECT_TRUE(MatchVlogPattern("blabcdefh", "bl*h")); in TEST()
54 EXPECT_TRUE(MatchVlogPattern("blh", "bl*h")); in TEST()
55 EXPECT_TRUE(MatchVlogPattern("blah", "*blah")); in TEST()
56 EXPECT_TRUE(MatchVlogPattern("ohblah", "*blah")); in TEST()
57 EXPECT_TRUE(MatchVlogPattern("blah", "blah*")); in TEST()
58 EXPECT_TRUE(MatchVlogPattern("blahhhh", "blah*")); in TEST()
59 EXPECT_TRUE(MatchVlogPattern("blahhhh", "blah*")); in TEST()
60 EXPECT_TRUE(MatchVlogPattern("blah", "*blah*")); in TEST()
61 EXPECT_TRUE(MatchVlogPattern("blahhhh", "*blah*")); in TEST()
62 EXPECT_TRUE(MatchVlogPattern("bbbblahhhh", "*blah*")); in TEST()
65 EXPECT_TRUE(MatchVlogPattern("ballaah", "b*la*h")); in TEST()
66 EXPECT_TRUE(MatchVlogPattern("blah", "b*la*h")); in TEST()
67 EXPECT_TRUE(MatchVlogPattern("bbbblah", "b*la*h")); in TEST()
68 EXPECT_TRUE(MatchVlogPattern("blaaah", "b*la*h")); in TEST()
71 EXPECT_TRUE(MatchVlogPattern("bl\\ah", "bl\\?h")); in TEST()
72 EXPECT_FALSE(MatchVlogPattern("bl?h", "bl\\?h")); in TEST()
73 EXPECT_TRUE(MatchVlogPattern("bl\\aaaah", "bl\\*h")); in TEST()
74 EXPECT_FALSE(MatchVlogPattern("bl*h", "bl\\*h")); in TEST()
77 EXPECT_TRUE(MatchVlogPattern("/b\\lah", "/b\\lah")); in TEST()
78 EXPECT_TRUE(MatchVlogPattern("\\b/lah", "/b\\lah")); in TEST()