Lines Matching refs:pattern_pair
12 content_settings::PatternPair pattern_pair;
14 pattern_pair = content_settings::ParsePatternString(std::string());
15 EXPECT_FALSE(pattern_pair.first.IsValid());
16 EXPECT_FALSE(pattern_pair.second.IsValid());
18 pattern_pair = content_settings::ParsePatternString(",");
19 EXPECT_FALSE(pattern_pair.first.IsValid());
20 EXPECT_FALSE(pattern_pair.second.IsValid());
22 pattern_pair = content_settings::ParsePatternString("http://www.foo.com");
23 EXPECT_TRUE(pattern_pair.first.IsValid());
24 EXPECT_EQ(pattern_pair.second, ContentSettingsPattern::Wildcard());
27 pattern_pair = content_settings::ParsePatternString("http://www.foo.com,");
28 EXPECT_TRUE(pattern_pair.first.IsValid());
29 EXPECT_FALSE(pattern_pair.second.IsValid());
31 pattern_pair = content_settings::ParsePatternString(
33 EXPECT_TRUE(pattern_pair.first.IsValid());
34 EXPECT_TRUE(pattern_pair.second.IsValid());
36 pattern_pair = content_settings::ParsePatternString(
38 EXPECT_FALSE(pattern_pair.first.IsValid());
39 EXPECT_FALSE(pattern_pair.second.IsValid());
41 pattern_pair = content_settings::ParsePatternString(
43 EXPECT_FALSE(pattern_pair.first.IsValid());
44 EXPECT_FALSE(pattern_pair.second.IsValid());