chromium/components/safe_browsing/content/common/file_type_policies_unittest.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/safe_browsing/content/common/file_type_policies.h"

#include <string.h>

#include <memory>

#include "base/files/file_path.h"
#include "base/values.h"
#include "build/build_config.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/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

NiceMock;

namespace safe_browsing {

class MockFileTypePolicies : public FileTypePolicies {};

class FileTypePoliciesTest : public testing::Test {};

TEST_F(FileTypePoliciesTest, UnpackResourceBundle) {}

TEST_F(FileTypePoliciesTest, BadProto) {}

TEST_F(FileTypePoliciesTest, BadUpdateFromExisting) {}

TEST_F(FileTypePoliciesTest, NoInspectionTypeReturnsDefault) {}

TEST_F(FileTypePoliciesTest, ChecksInspectionTypeNotDefault) {}

// Regression test for https://crbug.com/355016912. The policy for overriding
// file types should only override danger level.
TEST_F(FileTypePoliciesTest, NotDangerousOverrideShouldOnlyOverrideDangerType) {}

}  // namespace safe_browsing