Lines Matching refs:MatchingRule
44 bool MatchingRule(base::StringPiece url, in MatchingRule() function in subresource_filter::SubresourceFilterIndexedRulesetTest
261 EXPECT_FALSE(MatchingRule("")); in TEST_F()
262 EXPECT_FALSE(MatchingRule("http://example.com")); in TEST_F()
263 EXPECT_FALSE(MatchingRule("http://another.example.com?param=val")); in TEST_F()
271 EXPECT_FALSE(MatchingRule("http://example.com")); in TEST_F()
272 EXPECT_FALSE(MatchingRule("http://example.com?filter_not")); in TEST_F()
279 EXPECT_FALSE(MatchingRule("https://example.com")); in TEST_F()
280 EXPECT_TRUE(MatchingRule("http://example.org?param=image1")); in TEST_F()
287 EXPECT_FALSE(MatchingRule("https://example.com?filter_out=true")); in TEST_F()
296 EXPECT_TRUE(MatchingRule("http://blocklisted.com?filter=on")); in TEST_F()
297 EXPECT_TRUE(MatchingRule("https://allowlisted.com?filter=on")); in TEST_F()
298 EXPECT_FALSE(MatchingRule("https://notblocklisted.com")); in TEST_F()
306 EXPECT_TRUE(MatchingRule("https://example.com")); in TEST_F()
307 EXPECT_FALSE(MatchingRule("https://xample.com")); in TEST_F()