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

Unified Diff: chrome/test/data/extensions/api_test/automation/tests/tabs/bounds_for_range.js

Issue 2601333002: Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Rebase Created 3 years, 11 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: chrome/test/data/extensions/api_test/automation/tests/tabs/bounds_for_range.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/bounds_for_range.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/bounds_for_range.js
index 73bfc35c1ae7420c9cb884a89c11e78f7f97d254..22bffb29320cef15dfef57c1638a7a3507ecd0da 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/bounds_for_range.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/bounds_for_range.js
@@ -7,13 +7,13 @@ var RoleType = chrome.automation.RoleType;
var allTests = [
function boundsForRange() {
function getNthListItemInlineTextBox(index) {
- var list = rootNode.find({role: RoleType.list});
+ var list = rootNode.find({role: RoleType.LIST});
var listItem = list.children[index];
- assertEq(RoleType.listItem, listItem.role);
+ assertEq(RoleType.LIST_ITEM, listItem.role);
var staticText = listItem.children[1];
- assertEq(RoleType.staticText, staticText.role);
+ assertEq(RoleType.STATIC_TEXT, staticText.role);
var inlineTextBox = staticText.firstChild;
- assertEq(RoleType.inlineTextBox, inlineTextBox.role);
+ assertEq(RoleType.INLINE_TEXT_BOX, inlineTextBox.role);
return inlineTextBox;
}

Powered by Google App Engine
This is Rietveld 408576698