#include "components/policy/core/common/policy_bundle.h"
#include <memory>
#include <utility>
#include "base/functional/callback.h"
#include "base/values.h"
#include "components/policy/core/common/external_data_fetcher.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
namespace {
const char kPolicyClashing0[] = …;
const char kPolicyClashing1[] = …;
const char kPolicy0[] = …;
const char kPolicy1[] = …;
const char kPolicy2[] = …;
const char kExtension0[] = …;
const char kExtension1[] = …;
const char kExtension2[] = …;
const char kExtension3[] = …;
void AddTestPolicies(PolicyMap* policy) { … }
void AddTestPoliciesWithParams(PolicyMap *policy,
const char* name,
int value,
PolicyLevel level,
PolicyScope scope) { … }
bool IsEmpty(const PolicyBundle& bundle) { … }
}
TEST(PolicyBundleTest, Get) { … }
TEST(PolicyBundleTest, CopyFrom) { … }
TEST(PolicyBundleTest, MergeFrom) { … }
TEST(PolicyBundleTest, Equals) { … }
}