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

Unified Diff: chrome/test/data/webui/webui_resource_browsertest.cc

Issue 683813004: Fewer focusable items in chrome://settings/searchEngines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add browser test. WIP, uploaded for discussion Created 6 years, 1 month 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/webui/webui_resource_browsertest.cc
diff --git a/chrome/test/data/webui/webui_resource_browsertest.cc b/chrome/test/data/webui/webui_resource_browsertest.cc
index b3250751c4e44e2a301f08ad6aebd3a0688a2354..0aac6b2b4e5ac46e58d0eced4ed1c64f8b1af6f5 100644
--- a/chrome/test/data/webui/webui_resource_browsertest.cc
+++ b/chrome/test/data/webui/webui_resource_browsertest.cc
@@ -106,6 +106,22 @@ IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, ListSingleSelectionModelTest) {
"list_single_selection_model_test.html")));
}
+IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, InlineEditableListTest) {
+ AddLibrary(IDR_WEBUI_JS_CR);
+ AddLibrary(IDR_WEBUI_JS_CR_EVENT_TARGET);
+ AddLibrary(IDR_WEBUI_JS_CR_UI);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_ARRAY_DATA_MODEL);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_LIST_ITEM);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_LIST_SELECTION_CONTROLLER);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_LIST_SELECTION_MODEL);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_LIST);
+ AddLibrary(IDR_WEBUI_JS_LOAD_TIME_DATA);
+ AddLibrary(IDR_OPTIONS_DELETABLE_ITEM_LIST);
+ AddLibrary(IDR_OPTIONS_INLINE_EDITABLE_LIST);
bondd 2014/11/06 02:45:41 deletable_item_list.js and inline_editable_list.js
Dan Beam 2014/11/06 02:56:13 adding the tests in here and pre-loading all of ui
bondd 2014/11/06 03:02:36 I tried that. The AddLibrary libs are added after
Dan Beam 2014/11/07 05:38:40 do what we talked about wrt making a test-only .gr
+ RunTest(base::FilePath(FILE_PATH_LITERAL(
+ "inline_editable_list_test.html")));
+}
+
IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, MenuTest) {
AddLibrary(IDR_WEBUI_JS_ASSERT);
AddLibrary(IDR_WEBUI_JS_CR);

Powered by Google App Engine
This is Rietveld 408576698