Home | History | Annotate | Download | only in test

Lines Matching full:partialmatch

223 // Tests RE::PartialMatch().
226 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
227 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
230 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
231 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
232 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
233 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
234 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
689 // Tests RE::PartialMatch().
692 EXPECT_TRUE(RE::PartialMatch("", empty));
693 EXPECT_TRUE(RE::PartialMatch("a", empty));
696 EXPECT_TRUE(RE::PartialMatch("az", re));
697 EXPECT_TRUE(RE::PartialMatch("axyz", re));
698 EXPECT_TRUE(RE::PartialMatch("baz", re));
699 EXPECT_TRUE(RE::PartialMatch("azy", re));
700 EXPECT_FALSE(RE::PartialMatch("zza", re));