#include "components/performance_manager/execution_context/execution_context_registry_impl.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/test/gtest_util.h"
#include "components/performance_manager/execution_context/execution_context_impl.h"
#include "components/performance_manager/public/execution_context/execution_context.h"
#include "components/performance_manager/test_support/graph_test_harness.h"
#include "components/performance_manager/test_support/mock_graphs.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/tokens/tokens.h"
namespace performance_manager {
namespace execution_context {
namespace {
class LenientMockExecutionContextObserver : public ExecutionContextObserver { … };
MockExecutionContextObserver;
class ExecutionContextRegistryImplTest : public GraphTestHarness { … };
ExecutionContextRegistryImplDeathTest;
}
TEST_F(ExecutionContextRegistryImplTest, RegistryWorks) { … }
TEST_F(ExecutionContextRegistryImplTest, Observers) { … }
}
}