#include "components/performance_manager/public/graph/graph_operations.h"
#include <algorithm>
#include "base/functional/function_ref.h"
#include "components/performance_manager/test_support/graph_test_harness.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace performance_manager {
namespace {
class GraphOperationsTest : public GraphTestHarness { … };
const PageNode* ToPublic(PageNodeImpl* page_node) { … }
const FrameNode* ToPublic(FrameNodeImpl* frame_node) { … }
}
TEST_F(GraphOperationsTest, GetAssociatedPageNodes) { … }
TEST_F(GraphOperationsTest, GetAssociatedProcessNodes) { … }
TEST_F(GraphOperationsTest, GetFrameNodes) { … }
TEST_F(GraphOperationsTest, VisitFrameTree) { … }
TEST_F(GraphOperationsTest, VisitPageEmbeds) { … }
TEST_F(GraphOperationsTest, HasFrame) { … }
}