chromium/components/policy/core/common/schema_registry_unittest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace

TEST(SchemaRegistryTest, Notifications) {}

TEST(SchemaRegistryTest, IsReady) {}

TEST(SchemaRegistryTest, Combined) {}

TEST(SchemaRegistryTest, ForwardingSchemaRegistry) {}

TEST(SchemaRegistryTest, ForwardingSchemaRegistryReadiness) {}

// Extension policy unregister before register shouldn't cause DCHECK failure.
// However, Chrome policy should always register first.
TEST(SchemaRegistryTest, UnregisterBeforeRegister) {}

}  // namespace policy