Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(727)

Unified Diff: ui/accessibility/ax_tree_unittest.cc

Issue 2799413002: Views a11y: Add AXNodeData.actions bitfield to indicate supported actions by UI. (Closed)
Patch Set: Fix tests broken from rebase. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/accessibility/ax_tree_unittest.cc
diff --git a/ui/accessibility/ax_tree_unittest.cc b/ui/accessibility/ax_tree_unittest.cc
index b685134a30c1e63a63d41abc25e87b5f4b1ea7d4..ab7b418bf7772a7ac2370d19c5191a6b8e367d79 100644
--- a/ui/accessibility/ax_tree_unittest.cc
+++ b/ui/accessibility/ax_tree_unittest.cc
@@ -263,9 +263,9 @@ TEST(AXTreeTest, SerializeSimpleAXTree) {
EXPECT_EQ(
"AXTree title=Title\n"
- "id=1 dialog FOCUSABLE (0, 0)-(800, 600) child_ids=2,3\n"
- " id=2 button (20, 20)-(200, 30)\n"
- " id=3 checkBox (20, 50)-(200, 30)\n",
+ "id=1 dialog FOCUSABLE (0, 0)-(800, 600) actions= child_ids=2,3\n"
+ " id=2 button (20, 20)-(200, 30) actions=\n"
+ " id=3 checkBox (20, 50)-(200, 30) actions=\n",
dst_tree.ToString());
}
@@ -298,10 +298,10 @@ TEST(AXTreeTest, SerializeAXTreeUpdate) {
EXPECT_EQ(
"AXTreeUpdate: root id 3\n"
- "id=3 list (0, 0)-(0, 0) child_ids=4,5,6\n"
- " id=5 listItem (0, 0)-(0, 0)\n"
- " id=6 listItem (0, 0)-(0, 0)\n"
- "id=7 button (0, 0)-(0, 0)\n",
+ "id=3 list (0, 0)-(0, 0) actions= child_ids=4,5,6\n"
+ " id=5 listItem (0, 0)-(0, 0) actions=\n"
+ " id=6 listItem (0, 0)-(0, 0) actions=\n"
+ "id=7 button (0, 0)-(0, 0) actions=\n",
update.ToString());
}

Powered by Google App Engine
This is Rietveld 408576698