#include "components/policy/core/common/local_test_policy_loader.h"
#include <string>
#include "base/values.h"
#include "components/policy/core/common/policy_bundle.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_constants.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
class LocalTestPolicyLoaderTest : public ::testing::Test { … };
TEST_F(LocalTestPolicyLoaderTest, LoadFromJson) { … }
TEST_F(LocalTestPolicyLoaderTest, SamePolicyCombination) { … }
#if !BUILDFLAG(IS_CHROMEOS)
TEST_F(LocalTestPolicyLoaderTest, PrecedencePolicy) { … }
#endif
TEST_F(LocalTestPolicyLoaderTest, InvalidInput_MissingScope) { … }
TEST_F(LocalTestPolicyLoaderTest, InvalidInput_MissingName) { … }
TEST_F(LocalTestPolicyLoaderTest, InvalidInput_NotList) { … }
TEST_F(LocalTestPolicyLoaderTest, InvalidInput_PolicyNotDict) { … }
TEST_F(LocalTestPolicyLoaderTest, InvalidInput_PolicyLevel) { … }
TEST_F(LocalTestPolicyLoaderTest, InvalidInput_PolicyScope) { … }
TEST_F(LocalTestPolicyLoaderTest, InvalidInput_PolicySource) { … }
}