#include "components/policy/core/common/schema_registry.h"
#include <memory>
#include "base/test/gtest_util.h"
#include "components/policy/core/common/policy_namespace.h"
#include "components/policy/core/common/schema.h"
#include "extensions/buildflags/buildflags.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
Mock;
_;
namespace policy {
namespace {
const char kTestSchema[] = …;
class MockSchemaRegistryObserver : public SchemaRegistry::Observer { … };
bool SchemaMapEquals(const scoped_refptr<SchemaMap>& schema_map1,
const scoped_refptr<SchemaMap>& schema_map2) { … }
}
TEST(SchemaRegistryTest, Notifications) { … }
TEST(SchemaRegistryTest, IsReady) { … }
TEST(SchemaRegistryTest, Combined) { … }
TEST(SchemaRegistryTest, ForwardingSchemaRegistry) { … }
TEST(SchemaRegistryTest, ForwardingSchemaRegistryReadiness) { … }
TEST(SchemaRegistryTest, UnregisterBeforeRegister) { … }
}