Searched refs:MyMatch (Results 1 – 1 of 1) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_suppressions_test.cc | 20 static bool MyMatch(const char *templ, const char *func) { in MyMatch() function 27 EXPECT_TRUE(MyMatch("foobar$", "foobar")); in TEST() 29 EXPECT_TRUE(MyMatch("foobar", "foobar")); in TEST() 30 EXPECT_TRUE(MyMatch("*foobar*", "foobar")); in TEST() 31 EXPECT_TRUE(MyMatch("foobar", "prefix_foobar_postfix")); in TEST() 32 EXPECT_TRUE(MyMatch("*foobar*", "prefix_foobar_postfix")); in TEST() 33 EXPECT_TRUE(MyMatch("foo*bar", "foo_middle_bar")); in TEST() 34 EXPECT_TRUE(MyMatch("foo*bar", "foobar")); in TEST() 35 EXPECT_TRUE(MyMatch("foo*bar*baz", "foo_middle_bar_another_baz")); in TEST() 36 EXPECT_TRUE(MyMatch("foo*bar*baz", "foo_middle_barbaz")); in TEST() [all …]
|