Flutter Engine
The Flutter Engine
|
#include <ax_platform_node_win_unittest.h>
Public Member Functions | |
AXPlatformNodeWinTest () | |
~AXPlatformNodeWinTest () override | |
void | SetUp () override |
void | TearDown () override |
template<typename T > | |
ComPtr< T > | QueryInterfaceFromNodeId (AXNode::AXID id) |
template<typename T > | |
ComPtr< T > | QueryInterfaceFromNode (AXNode *node) |
Public Member Functions inherited from ui::AXPlatformNodeTest | |
AXPlatformNodeTest () | |
~AXPlatformNodeTest () override | |
AXPlatformNodeTest (const AXPlatformNodeTest &)=delete | |
AXPlatformNodeTest & | operator= (const AXPlatformNodeTest &)=delete |
Public Member Functions inherited from ui::TestAXTreeManager | |
TestAXTreeManager () | |
TestAXTreeManager (std::unique_ptr< AXTree > tree) | |
virtual | ~TestAXTreeManager () |
TestAXTreeManager (const TestAXTreeManager &manager)=delete | |
TestAXTreeManager & | operator= (const TestAXTreeManager &manager)=delete |
void | DestroyTree () |
AXTree * | GetTree () const |
void | SetTree (std::unique_ptr< AXTree > tree) |
AXNode * | GetNodeFromTree (const AXTreeID tree_id, const AXNode::AXID node_id) const override |
AXNode * | GetNodeFromTree (const AXNode::AXID node_id) const override |
AXTreeID | GetTreeID () const override |
AXTreeID | GetParentTreeID () const override |
AXNode * | GetRootAsAXNode () const override |
AXNode * | GetParentNodeFromParentTreeAsAXNode () const override |
Public Member Functions inherited from ui::AXTreeManager | |
virtual | ~AXTreeManager ()=default |
virtual AXNode * | GetNodeFromTree (const AXTreeID tree_id, const AXNode::AXID node_id) const =0 |
virtual AXNode * | GetNodeFromTree (const AXNode::AXID node_id) const =0 |
virtual AXTreeID | GetTreeID () const =0 |
virtual AXTreeID | GetParentTreeID () const =0 |
virtual AXNode * | GetRootAsAXNode () const =0 |
virtual AXNode * | GetParentNodeFromParentTreeAsAXNode () const =0 |
virtual AXTree * | GetTree () const =0 |
Protected Types | |
using | PatternSet = std::unordered_set< LONG > |
Protected Member Functions | |
AXPlatformNode * | AXPlatformNodeFromNode (AXNode *node) |
template<typename T > | |
Microsoft::WRL::ComPtr< T > | QueryInterfaceFromNodeId (AXNode::AXID id) |
template<typename T > | |
Microsoft::WRL::ComPtr< T > | QueryInterfaceFromNode (AXNode *node) |
Microsoft::WRL::ComPtr< IRawElementProviderSimple > | GetRootIRawElementProviderSimple () |
Microsoft::WRL::ComPtr< IRawElementProviderSimple > | GetIRawElementProviderSimpleFromChildIndex (int child_index) |
Microsoft::WRL::ComPtr< IRawElementProviderSimple > | GetIRawElementProviderSimpleFromTree (const ui::AXTreeID tree_id, const AXNode::AXID node_id) |
Microsoft::WRL::ComPtr< IRawElementProviderFragment > | GetRootIRawElementProviderFragment () |
Microsoft::WRL::ComPtr< IRawElementProviderFragment > | IRawElementProviderFragmentFromNode (AXNode *node) |
Microsoft::WRL::ComPtr< IAccessible > | IAccessibleFromNode (AXNode *node) |
Microsoft::WRL::ComPtr< IAccessible > | GetRootIAccessible () |
void | CheckVariantHasName (const base::win::ScopedVariant &variant, const wchar_t *expected_name) |
void | CheckIUnknownHasName (Microsoft::WRL::ComPtr< IUnknown > unknown, const wchar_t *expected_name) |
Microsoft::WRL::ComPtr< IAccessibleTableCell > | GetCellInTable () |
void | InitFragmentRoot () |
AXFragmentRootWin * | InitNodeAsFragmentRoot (AXNode *node, TestFragmentRootDelegate *delegate) |
Microsoft::WRL::ComPtr< IRawElementProviderFragmentRoot > | GetFragmentRoot () |
PatternSet | GetSupportedPatternsFromNodeId (AXNode::AXID id) |
Protected Member Functions inherited from ui::AXPlatformNodeTest | |
void | Init (const AXTreeUpdate &initial_state) |
void | Init (const ui::AXNodeData &node1, const ui::AXNodeData &node2=ui::AXNodeData(), const ui::AXNodeData &node3=ui::AXNodeData(), const ui::AXNodeData &node4=ui::AXNodeData(), const ui::AXNodeData &node5=ui::AXNodeData(), const ui::AXNodeData &node6=ui::AXNodeData(), const ui::AXNodeData &node7=ui::AXNodeData(), const ui::AXNodeData &node8=ui::AXNodeData(), const ui::AXNodeData &node9=ui::AXNodeData(), const ui::AXNodeData &node10=ui::AXNodeData(), const ui::AXNodeData &node11=ui::AXNodeData(), const ui::AXNodeData &node12=ui::AXNodeData()) |
AXTreeUpdate | BuildTextField () |
AXTreeUpdate | BuildTextFieldWithSelectionRange (int32_t start, int32_t stop) |
AXTreeUpdate | BuildContentEditable () |
AXTreeUpdate | BuildContentEditableWithSelectionRange (int32_t start, int32_t end) |
AXTreeUpdate | Build3X3Table () |
AXTreeUpdate | BuildAriaColumnAndRowCountGrids () |
AXTreeUpdate | BuildListBox (bool option_1_is_selected, bool option_2_is_selected, bool option_3_is_selected, const std::vector< ax::mojom::State > &additional_state) |
Protected Attributes | |
std::unique_ptr< AXFragmentRootWin > | ax_fragment_root_ |
std::unique_ptr< TestFragmentRootDelegate > | test_fragment_root_delegate_ |
Static Protected Attributes | |
static const std::u16string | kEmbeddedCharacterAsString |
Definition at line 82 of file ax_platform_node_win_unittest.h.
|
protected |
Definition at line 123 of file ax_platform_node_win_unittest.h.
ui::AXPlatformNodeWinTest::AXPlatformNodeWinTest | ( | ) |
Definition at line 259 of file ax_platform_node_win_unittest.cc.
|
override |
Definition at line 263 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 278 of file ax_platform_node_win_unittest.cc.
|
protected |
|
protected |
Definition at line 352 of file ax_platform_node_win_unittest.cc.
|
protected |
|
protected |
Definition at line 381 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 307 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 320 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 348 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 328 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 302 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 389 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 344 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 363 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 369 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 333 of file ax_platform_node_win_unittest.cc.
ComPtr< T > ui::AXPlatformNodeWinTest::QueryInterfaceFromNode | ( | AXNode * | node | ) |
Definition at line 290 of file ax_platform_node_win_unittest.cc.
|
protected |
ComPtr< T > ui::AXPlatformNodeWinTest::QueryInterfaceFromNodeId | ( | AXNode::AXID | id | ) |
Definition at line 285 of file ax_platform_node_win_unittest.cc.
|
protected |
|
override |
Definition at line 265 of file ax_platform_node_win_unittest.cc.
|
override |
Definition at line 269 of file ax_platform_node_win_unittest.cc.
|
protected |
Definition at line 126 of file ax_platform_node_win_unittest.h.
|
staticprotected |
Definition at line 92 of file ax_platform_node_win_unittest.h.
|
protected |
Definition at line 128 of file ax_platform_node_win_unittest.h.