#include "components/performance_manager/graph/graph_impl.h"
#include <string_view>
#include "base/containers/contains.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/process/process.h"
#include "base/time/time.h"
#include "components/performance_manager/graph/frame_node_impl.h"
#include "components/performance_manager/graph/process_node_impl.h"
#include "components/performance_manager/graph/system_node_impl.h"
#include "components/performance_manager/public/graph/node_data_describer.h"
#include "components/performance_manager/public/graph/node_data_describer_registry.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"
namespace performance_manager {
GraphImplTest;
ElementsAreArray;
TEST_F(GraphImplTest, SafeCasting) { … }
TEST_F(GraphImplTest, GetSystemNodeImpl) { … }
TEST_F(GraphImplTest, GetProcessNodeByPid) { … }
TEST_F(GraphImplTest, PIDReuse) { … }
TEST_F(GraphImplTest, GetAllCUsByType) { … }
TEST_F(GraphImplTest, GetAllNodes) { … }
TEST_F(GraphImplTest, GetAllNodeImpls) { … }
namespace {
class Foo : public GraphOwned { … };
}
TEST_F(GraphImplTest, GraphOwned) { … }
namespace {
class TestNodeDataDescriber : public NodeDataDescriber { … };
void AssertDictValueContainsListKey(const base::Value::Dict& descr,
const char* key,
const std::string s1,
const std::string s2) { … }
}
TEST_F(GraphImplTest, NodeDataDescribers) { … }
TEST_F(GraphImplTest, OpenersAndEmbeddersClearedOnTeardown) { … }
}