chromium/ui/accessibility/ax_node_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/accessibility/ax_node.h"

#include <stdint.h>
#include <memory>
#include <utility>
#include <vector>

#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_enums.mojom-shared.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/accessibility/ax_position.h"
#include "ui/accessibility/ax_tree.h"
#include "ui/accessibility/ax_tree_data.h"
#include "ui/accessibility/ax_tree_id.h"
#include "ui/accessibility/test_ax_tree_update.h"
#include "ui/accessibility/test_single_ax_tree_manager.h"
#include "ui/gfx/geometry/rect_f.h"

namespace ui {

namespace {

// The third argument is an optional description string which we don't need
// because, after verifying manually, test errors are descriptive enough.
MATCHER_P(HasAXNodeID, ax_node_data, "") {}

}  // namespace

ElementsAre;

TEST(AXNodeTest, TreeWalking) {}

TEST(AXNodeTest, TreeWalkingCrossingTreeBoundary) {}

TEST(AXNodeTest, GetValueForControlTextField) {}

TEST(AXNodeTest, GetLowestPlatformAncestor) {}

TEST(AXNodeTest, GetTextContentRangeBounds) {}

TEST(AXNodeTest, IsGridCellReadOnlyOrDisabled) {}

TEST(AXNodeTest, GetLowestCommonAncestor) {}

TEST(AXNodeTest, DescendantOfNonAtomicTextField) {}

TEST(AXNodeTest, MenuItemCheckboxPosInSet) {}

TEST(AXNodeTest, TreeItemAsTreeItemParentPosInSetSetSize) {}

TEST(AXNodeTest, GroupAsTreeItemParentPosInSetSetSize) {}

}  // namespace ui