#include "components/safe_browsing/content/common/file_type_policies_policy_util.h"
#include "components/policy/core/browser/configuration_policy_pref_store_test.h"
#include "components/prefs/testing_pref_service.h"
#include "components/safe_browsing/content/common/file_type_policies_prefs.h"
#include "components/safe_browsing/content/common/file_type_policies_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace safe_browsing::file_type {
class FileTypePoliciesPolicyUtilTest
: public policy::ConfigurationPolicyPrefStoreTest { … };
TEST_F(FileTypePoliciesPolicyUtilTest, OverrideListIsIgnoredIfNotConfigured) { … }
TEST_F(FileTypePoliciesPolicyUtilTest, OverrideListIsIgnoredIfNoValuesSet) { … }
TEST_F(FileTypePoliciesPolicyUtilTest,
OverrideListIsIgnoredIfNoDomainsSetForExtension) { … }
TEST_F(FileTypePoliciesPolicyUtilTest, OverrideListCanUseWildcards) { … }
TEST_F(FileTypePoliciesPolicyUtilTest, OverrideListCanMatchExactly) { … }
TEST_F(FileTypePoliciesPolicyUtilTest, OverrideListCanMatchSubPaths) { … }
TEST_F(FileTypePoliciesPolicyUtilTest, CanLimitToHTTPS) { … }
TEST_F(FileTypePoliciesPolicyUtilTest,
OverrideListOnlyWorksForListedExtension) { … }
TEST_F(FileTypePoliciesPolicyUtilTest, ValuesAreNotCaseSensitive) { … }
TEST_F(FileTypePoliciesPolicyUtilTest, NormalizesBlobURLs) { … }
}