#include "components/content_settings/core/common/content_settings_pattern_parser.h"
#include "components/content_settings/core/common/content_settings_pattern.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
BuilderInterface;
}
class MockBuilder : public ContentSettingsPattern::BuilderInterface { … };
TEST(ContentSettingsPatternParserTest, ParsePatterns) { … }
TEST(ContentSettingsPatternParserTest, ParseFilePatterns) { … }
TEST(ContentSettingsPatternParserTest, ParseChromePatterns) { … }
TEST(ContentSettingsPatternParserTest,
ParseInvalidNonDomainWildcardNonPortPatterns) { … }
TEST(ContentSettingsPatternParserTest, SerializePatterns) { … }
TEST(ContentSettingsPatternParserTest, IdempotencyOfCanonicalization) { … }