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

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

Issue 485343004: Fix bookmark manager regression by allowing cr.ui.Menu#findMenuItem_ to return null. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: arv@ review Created 6 years, 4 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 | « chrome/test/data/webui/menu_test.html ('k') | ui/webui/resources/js/cr/ui/menu.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 acdbe2da397c6b240596335745086374c0a00f2f..9f849b7a7aff12937c14bc4a949064f07a4b8f5d 100644
--- a/chrome/test/data/webui/webui_resource_browsertest.cc
+++ b/chrome/test/data/webui/webui_resource_browsertest.cc
@@ -111,6 +111,16 @@ IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, LocalStringsTest) {
RunTest(base::FilePath(FILE_PATH_LITERAL("local_strings_test.html")));
}
+IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, MenuTest) {
+ AddLibrary(IDR_WEBUI_JS_ASSERT);
+ AddLibrary(IDR_WEBUI_JS_CR);
+ AddLibrary(IDR_WEBUI_JS_CR_UI);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_COMMAND);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_MENU_ITEM);
+ AddLibrary(IDR_WEBUI_JS_CR_UI_MENU);
+ RunTest(base::FilePath(FILE_PATH_LITERAL("menu_test.html")));
+}
+
IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, MockTimerTest) {
RunTest(base::FilePath(FILE_PATH_LITERAL("mock_timer_test.html")));
}
« no previous file with comments | « chrome/test/data/webui/menu_test.html ('k') | ui/webui/resources/js/cr/ui/menu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698