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

Side by Side Diff: chrome/test/data/webui/md_history/md_history_browsertest.js

Issue 1641543002: MD History: Refactored design for displaying history information (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@second_patch
Patch Set: concat -> push Created 4 years, 10 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 /** 5 /**
6 * @fileoverview Test suite for the Material Design history page. 6 * @fileoverview Test suite for the Material Design history page.
7 */ 7 */
8 8
9 var ROOT_PATH = '../../../../../'; 9 var ROOT_PATH = '../../../../../';
10 10
11 GEN_INCLUDE( 11 GEN_INCLUDE(
12 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); 12 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']);
13 13
14 function MaterialHistoryBrowserTest() {} 14 function MaterialHistoryBrowserTest() {}
15 15
16 MaterialHistoryBrowserTest.prototype = { 16 MaterialHistoryBrowserTest.prototype = {
17 __proto__: PolymerTest.prototype, 17 __proto__: PolymerTest.prototype,
18 18
19 browsePreload: 'chrome://history', 19 browsePreload: 'chrome://history',
20 20
21 commandLineSwitches: [{switchName: 'enable-md-history'}], 21 commandLineSwitches: [{switchName: 'enable-md-history'}],
22 22
23 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 23 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
24 'test_util.js', 24 'test_util.js',
25 'history_card_manager_test.js', 25 'history_list_test.js',
26 'history_card_test.js', 26 'history_item_test.js',
27 'history_overflow_menu_test.js', 27 'history_overflow_menu_test.js',
28 'history_toolbar_test.js' 28 'history_toolbar_test.js'
29 ]) 29 ])
30 }; 30 };
31 31
32 TEST_F('MaterialHistoryBrowserTest', 'HistoryCardTest', function() { 32 TEST_F('MaterialHistoryBrowserTest', 'HistoryItemTest', function() {
33 md_history.history_card_test.registerTests(); 33 md_history.history_item_test.registerTests();
34 mocha.run(); 34 mocha.run();
35 }); 35 });
36 36
37 TEST_F('MaterialHistoryBrowserTest', 'HistoryCardManagerTest', function() { 37 TEST_F('MaterialHistoryBrowserTest', 'HistoryListTest', function() {
38 md_history.history_card_manager_test.registerTests(); 38 md_history.history_list_test.registerTests();
39 mocha.run(); 39 mocha.run();
40 }); 40 });
41 41
42 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { 42 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() {
43 md_history.history_toolbar_test.registerTests(); 43 md_history.history_toolbar_test.registerTests();
44 mocha.run(); 44 mocha.run();
45 }); 45 });
46 46
47 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { 47 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() {
48 md_history.history_overflow_menu_test.registerTests(); 48 md_history.history_overflow_menu_test.registerTests();
49 mocha.run(); 49 mocha.run();
50 }); 50 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698