chromium/chrome/browser/enterprise/data_controls/chrome_rules_service_unittest.cc

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

#include "chrome/browser/enterprise/data_controls/chrome_rules_service.h"

#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/enterprise/data_controls/core/browser/features.h"
#include "components/enterprise/data_controls/core/browser/test_utils.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/data_transfer_policy/data_transfer_endpoint.h"

namespace data_controls {

namespace {

constexpr size_t kFirstRuleIndex =;
constexpr char kFirstRuleID[] =;

class DataControlsRulesServiceTest : public testing::Test {};

class DataControlsRulesServiceDesktopFeatureDisabledTest
    : public DataControlsRulesServiceTest {};

class DataControlsRulesServiceScreenshotFeatureDisabledTest
    : public DataControlsRulesServiceTest {};

class DataControlsRulesServiceAllFeaturesDisabledTest
    : public DataControlsRulesServiceTest {};

}  // namespace

TEST_F(DataControlsRulesServiceDesktopFeatureDisabledTest,
       NoVerdictsForDesktopRestrictions) {}

TEST_F(DataControlsRulesServiceScreenshotFeatureDisabledTest,
       NoVerdictsForScreenshotRestriction) {}

TEST_F(DataControlsRulesServiceAllFeaturesDisabledTest, NoVerdicts) {}

TEST_F(DataControlsRulesServiceTest, NoRuleSet) {}

TEST_F(DataControlsRulesServiceTest, SourceURL) {}

TEST_F(DataControlsRulesServiceTest, DestinationURL) {}

TEST_F(DataControlsRulesServiceTest, SourceIncognito) {}

TEST_F(DataControlsRulesServiceTest, DestinationIncognito) {}

TEST_F(DataControlsRulesServiceTest, OSClipboardDestination) {}

TEST_F(DataControlsRulesServiceTest, NonOSClipboardDestination) {}

TEST_F(DataControlsRulesServiceTest, SourceOtherProfile) {}

TEST_F(DataControlsRulesServiceTest, DestinationOtherProfile) {}

TEST_F(DataControlsRulesServiceTest, OSClipboardSource) {}

TEST_F(DataControlsRulesServiceTest, NonOSClipboardSource) {}

}  // namespace data_controls