chromium/extensions/browser/extension_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 "extensions/browser/extension_registry.h"

#include <string>

#include "base/memory/ref_counted.h"
#include "extensions/browser/extension_registry_observer.h"
#include "extensions/browser/uninstall_reason.h"
#include "extensions/browser/unloaded_extension_reason.h"
#include "extensions/common/extension_builder.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace extensions {
namespace {

ExtensionRegistryTest;

testing::AssertionResult HasSingleExtension(
    const ExtensionList& list,
    const scoped_refptr<const Extension>& extension) {}

class TestObserver : public ExtensionRegistryObserver {};

TEST_F(ExtensionRegistryTest, FillAndClearRegistry) {}

// A simple test of adding and removing things from sets.
TEST_F(ExtensionRegistryTest, AddAndRemoveExtensionFromRegistry) {}

TEST_F(ExtensionRegistryTest, AddExtensionToRegistryTwice) {}

TEST_F(ExtensionRegistryTest, GetExtensionById) {}

TEST_F(ExtensionRegistryTest, Observer) {}

// Regression test for https://crbug.com/724563.
TEST_F(ExtensionRegistryTest, TerminatedExtensionStoredVersion) {}

}  // namespace
}  // namespace extensions