#include "components/policy/core/browser/configuration_policy_handler_list.h"
#include <string>
#include <tuple>
#include "base/functional/bind.h"
#include "base/values.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
#include "components/policy/core/browser/policy_conversions_client.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_details.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
namespace {
const char kPolicyName[] = …;
const char kPolicyName2[] = …;
const int kPolicyValue = …;
class StubPolicyHandler : public ConfigurationPolicyHandler { … };
}
class ConfigurationPolicyHandlerListTest : public ::testing::Test { … };
TEST_F(ConfigurationPolicyHandlerListTest, ApplySettingsWithNormalPolicy) { … }
TEST_F(ConfigurationPolicyHandlerListTest, ApplySettingsWithFuturePolicy) { … }
TEST_F(ConfigurationPolicyHandlerListTest,
ApplySettingsWithoutFutureFilterPolicy) { … }
TEST_F(ConfigurationPolicyHandlerListTest,
ApplySettingsWithPlatformDevicePolicy) { … }
TEST_F(ConfigurationPolicyHandlerListTest, ApplySettingsWithDeprecatedPolicy) { … }
}