#include "components/policy/core/common/schema_map.h"
#include <memory>
#include <optional>
#include "base/memory/weak_ptr.h"
#include "base/types/expected_macros.h"
#include "base/values.h"
#include "components/policy/core/common/external_data_fetcher.h"
#include "components/policy/core/common/external_data_manager.h"
#include "components/policy/core/common/policy_bundle.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/core/common/schema.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
namespace {
const char kTestSchema[] = …;
}
class SchemaMapTest : public testing::Test { … };
TEST_F(SchemaMapTest, Empty) { … }
TEST_F(SchemaMapTest, HasComponents) { … }
TEST_F(SchemaMapTest, Lookups) { … }
TEST_F(SchemaMapTest, FilterBundle) { … }
TEST_F(SchemaMapTest, LegacyComponents) { … }
TEST_F(SchemaMapTest, FilterBundleInvalidatesPolicies) { … }
TEST_F(SchemaMapTest, GetChanges) { … }
}