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

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: closure 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
« no previous file with comments | « chrome/test/data/webui/md_history/history_toolbar_test.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 GEN('#include "base/command_line.h"'); 13 GEN('#include "base/command_line.h"');
14 GEN('#include "chrome/test/data/webui/history_ui_browsertest.h"'); 14 GEN('#include "chrome/test/data/webui/history_ui_browsertest.h"');
15 15
16 function MaterialHistoryBrowserTest() {} 16 function MaterialHistoryBrowserTest() {}
17 17
18 MaterialHistoryBrowserTest.prototype = { 18 MaterialHistoryBrowserTest.prototype = {
19 __proto__: PolymerTest.prototype, 19 __proto__: PolymerTest.prototype,
20 20
21 browsePreload: 'chrome://history', 21 browsePreload: 'chrome://history',
22 22
23 commandLineSwitches: [{switchName: 'enable-md-history'}], 23 commandLineSwitches: [{switchName: 'enable-md-history'}],
24 24
25 /** @override */ 25 /** @override */
26 runAccessibilityChecks: false, 26 runAccessibilityChecks: false,
27 27
28 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 28 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
29 'test_util.js', 29 'test_util.js',
30 'history_card_manager_test.js', 30 'history_list_test.js',
31 'history_card_test.js', 31 'history_item_test.js',
32 'history_overflow_menu_test.js', 32 'history_overflow_menu_test.js',
33 'history_supervised_user_test.js', 33 'history_supervised_user_test.js',
34 'history_toolbar_test.js' 34 'history_toolbar_test.js'
35 ]) 35 ])
36 }; 36 };
37 37
38 TEST_F('MaterialHistoryBrowserTest', 'HistoryCardTest', function() { 38 TEST_F('MaterialHistoryBrowserTest', 'HistoryItemTest', function() {
39 md_history.history_card_test.registerTests(); 39 md_history.history_item_test.registerTests();
40 mocha.run(); 40 mocha.run();
41 }); 41 });
42 42
43 TEST_F('MaterialHistoryBrowserTest', 'HistoryCardManagerTest', function() { 43 TEST_F('MaterialHistoryBrowserTest', 'HistoryListTest', function() {
44 md_history.history_card_manager_test.registerTests(); 44 md_history.history_list_test.registerTests();
45 mocha.run(); 45 mocha.run();
46 }); 46 });
47 47
48 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { 48 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() {
49 md_history.history_toolbar_test.registerTests(); 49 md_history.history_toolbar_test.registerTests();
50 mocha.run(); 50 mocha.run();
51 }); 51 });
52 52
53 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { 53 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() {
54 md_history.history_overflow_menu_test.registerTests(); 54 md_history.history_overflow_menu_test.registerTests();
(...skipping 10 matching lines...) Expand all
65 testGenPreamble: function() { 65 testGenPreamble: function() {
66 GEN(' SetDeleteAllowed(false);'); 66 GEN(' SetDeleteAllowed(false);');
67 } 67 }
68 }; 68 };
69 69
70 TEST_F('MaterialHistoryDeletionDisabledTest', 'HistorySupervisedUserTest', 70 TEST_F('MaterialHistoryDeletionDisabledTest', 'HistorySupervisedUserTest',
71 function() { 71 function() {
72 md_history.history_supervised_user_test.registerTests(); 72 md_history.history_supervised_user_test.registerTests();
73 mocha.run(); 73 mocha.run();
74 }); 74 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/md_history/history_toolbar_test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698