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

Unified Diff: ui/accessibility/ax_tree_unittest.cc

Issue 273323002: Convert snakecase enum names to camelcase when stringified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final changes Created 6 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
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_unittest.cc
diff --git a/ui/accessibility/ax_tree_unittest.cc b/ui/accessibility/ax_tree_unittest.cc
index 9d734f883fcc4458646af58121e97a4ccc58242a..05369de316b6801f6cae6d87d0cd31b5fd0a8fd4 100644
--- a/ui/accessibility/ax_tree_unittest.cc
+++ b/ui/accessibility/ax_tree_unittest.cc
@@ -110,9 +110,9 @@ TEST(AXTreeTest, SerializeSimpleAXTree) {
EXPECT_EQ(checkbox.role, checkbox_node->data().role);
EXPECT_EQ(
- "id=1 root_web_area FOCUSABLE FOCUSED (0, 0)-(800, 600) child_ids=2,3\n"
+ "id=1 rootWebArea FOCUSABLE FOCUSED (0, 0)-(800, 600) child_ids=2,3\n"
" id=2 button (20, 20)-(200, 30)\n"
- " id=3 check_box (20, 50)-(200, 30)\n",
+ " id=3 checkBox (20, 50)-(200, 30)\n",
dst_tree.ToString());
}
@@ -148,8 +148,8 @@ TEST(AXTreeTest, SerializeAXTreeUpdate) {
EXPECT_EQ(
"id=3 list (0, 0)-(0, 0) child_ids=4,5,6\n"
- " id=5 list_item (0, 0)-(0, 0)\n"
- " id=6 list_item (0, 0)-(0, 0)\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",
update.ToString());
}
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698