#include "ui/accessibility/ax_tree_manager_base.h"
#include <memory>
#include <optional>
#include <utility>
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/accessibility/ax_tree.h"
#include "ui/accessibility/ax_tree_data.h"
#include "ui/accessibility/ax_tree_id.h"
#include "ui/accessibility/ax_tree_observer.h"
#include "ui/accessibility/ax_tree_serializer.h"
namespace ui {
namespace {
class AXTreeManagerBaseTest : public ::testing::Test { … };
AXTreeManagerBaseTest::AXTreeManagerBaseTest()
: … { … }
AXTreeUpdate AXTreeManagerBaseTest::CreateSimpleTreeUpdate() { … }
std::unique_ptr<AXTree> AXTreeManagerBaseTest::CreateSimpleTree() { … }
std::unique_ptr<AXTree> AXTreeManagerBaseTest::CreateComplexTree() { … }
void AXTreeManagerBaseTest::HostChildTreeAtNode(AXNode& host_node,
AXTree& child_tree) { … }
void AXTreeManagerBaseTest::SetUp() { … }
class TestAXTreeObserver final : public AXTreeObserver { … };
}
TEST_F(AXTreeManagerBaseTest, GetManager) { … }
TEST_F(AXTreeManagerBaseTest, MoveConstructor) { … }
TEST_F(AXTreeManagerBaseTest, SetTree) { … }
TEST_F(AXTreeManagerBaseTest, ReleaseTree) { … }
TEST_F(AXTreeManagerBaseTest, GetNode) { … }
TEST_F(AXTreeManagerBaseTest, ParentChildTreeRelationship) { … }
TEST_F(AXTreeManagerBaseTest, AttachingAndDetachingChildTrees) { … }
TEST_F(AXTreeManagerBaseTest, Observers) { … }
}