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

Side by Side Diff: chrome/test/data/webui/extensions/cr_extensions_browsertest.js

Issue 2974583003: MD Extensions: Show messages for no extensions, and for no search results (Closed)
Patch Set: feedback Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** @fileoverview Runs the Polymer Settings tests. */ 5 /** @fileoverview Runs the Polymer Settings tests. */
6 6
7 /** @const {string} Path to source root. */ 7 /** @const {string} Path to source root. */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 // Polymer BrowserTest fixture. 10 // Polymer BrowserTest fixture.
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 assert(extension_detail_view_tests.TestNames.ClickableElements)).run(); 185 assert(extension_detail_view_tests.TestNames.ClickableElements)).run();
186 }); 186 });
187 187
188 //////////////////////////////////////////////////////////////////////////////// 188 ////////////////////////////////////////////////////////////////////////////////
189 // Extension Item List Tests 189 // Extension Item List Tests
190 190
191 TEST_F('CrExtensionsBrowserTest', 'ExtensionItemList', function() { 191 TEST_F('CrExtensionsBrowserTest', 'ExtensionItemList', function() {
192 extension_item_list_tests.registerTests(); 192 extension_item_list_tests.registerTests();
193 mocha.grep( 193 mocha.grep(
194 assert(extension_item_list_tests.TestNames.ItemListFiltering)).run(); 194 assert(extension_item_list_tests.TestNames.ItemListFiltering)).run();
195 mocha.grep(assert(extension_item_list_tests.TestNames.ItemListNoItemsMsg))
196 .run();
197 mocha
198 .grep(assert(
199 extension_item_list_tests.TestNames.ItemListNoSearchResultsMsg))
200 .run();
195 }); 201 });
196 202
197 //////////////////////////////////////////////////////////////////////////////// 203 ////////////////////////////////////////////////////////////////////////////////
198 // Extension Load Error Tests 204 // Extension Load Error Tests
199 205
200 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorInteractionTest', 206 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorInteractionTest',
201 function() { 207 function() {
202 extension_load_error_tests.registerTests(); 208 extension_load_error_tests.registerTests();
203 mocha.grep(assert(extension_load_error_tests.TestNames.Interaction)).run(); 209 mocha.grep(assert(extension_load_error_tests.TestNames.Interaction)).run();
204 }); 210 });
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 assert(extension_navigation_helper_tests.TestNames.Conversions)).run(); 377 assert(extension_navigation_helper_tests.TestNames.Conversions)).run();
372 }); 378 });
373 379
374 TEST_F('CrExtensionsNavigationHelperBrowserTest', 380 TEST_F('CrExtensionsNavigationHelperBrowserTest',
375 'ExtensionNavigationHelperPushAndReplaceStateTest', function() { 381 'ExtensionNavigationHelperPushAndReplaceStateTest', function() {
376 extension_navigation_helper_tests.registerTests(); 382 extension_navigation_helper_tests.registerTests();
377 mocha.grep( 383 mocha.grep(
378 assert(extension_navigation_helper_tests.TestNames.PushAndReplaceState)) 384 assert(extension_navigation_helper_tests.TestNames.PushAndReplaceState))
379 .run(); 385 .run();
380 }); 386 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698