#include "components/policy/core/browser/configuration_policy_pref_store.h"
#include <memory>
#include <string>
#include <utility>
#include "base/files/file_path.h"
#include "base/functional/callback.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
#include "components/policy/core/browser/configuration_policy_pref_store_test.h"
#include "components/policy/core/common/external_data_fetcher.h"
#include "components/policy/core/common/policy_details.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_pref_names.h"
#include "components/policy/core/common/policy_service_impl.h"
#include "components/policy/core/common/policy_types.h"
#include "components/prefs/pref_store_observer_mock.h"
#include "testing/gmock/include/gmock/gmock.h"
Mock;
Return;
_;
namespace {
const char kTestPolicy[] = …;
const char kTestPref[] = …;
}
namespace policy {
class ConfigurationPolicyPrefStoreListTest
: public ConfigurationPolicyPrefStoreTest { … };
TEST_F(ConfigurationPolicyPrefStoreListTest, GetDefault) { … }
TEST_F(ConfigurationPolicyPrefStoreListTest, SetValue) { … }
class ConfigurationPolicyPrefStoreStringTest
: public ConfigurationPolicyPrefStoreTest { … };
TEST_F(ConfigurationPolicyPrefStoreStringTest, GetDefault) { … }
TEST_F(ConfigurationPolicyPrefStoreStringTest, SetValue) { … }
class ConfigurationPolicyPrefStoreBooleanTest
: public ConfigurationPolicyPrefStoreTest { … };
TEST_F(ConfigurationPolicyPrefStoreBooleanTest, GetDefault) { … }
TEST_F(ConfigurationPolicyPrefStoreBooleanTest, SetValue) { … }
class ConfigurationPolicyPrefStoreIntegerTest
: public ConfigurationPolicyPrefStoreTest { … };
TEST_F(ConfigurationPolicyPrefStoreIntegerTest, GetDefault) { … }
TEST_F(ConfigurationPolicyPrefStoreIntegerTest, SetValue) { … }
class ConfigurationPolicyPrefStoreRefreshTest
: public ConfigurationPolicyPrefStoreTest { … };
TEST_F(ConfigurationPolicyPrefStoreRefreshTest, Refresh) { … }
TEST_F(ConfigurationPolicyPrefStoreRefreshTest, Initialization) { … }
}