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

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

Issue 2627263002: MD History: Remove unnecessary namespacing from tests (part 2) (Closed)
Patch Set: Created 3 years, 11 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
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 MaterialHistoryBrowserServiceTest.prototype = { 60 MaterialHistoryBrowserServiceTest.prototype = {
61 __proto__: MaterialHistoryBrowserTest.prototype, 61 __proto__: MaterialHistoryBrowserTest.prototype,
62 62
63 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 63 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
64 'browser_service_test.js', 64 'browser_service_test.js',
65 ]), 65 ]),
66 }; 66 };
67 67
68 TEST_F('MaterialHistoryBrowserServiceTest', 'All', function() { 68 TEST_F('MaterialHistoryBrowserServiceTest', 'All', function() {
69 md_history.browser_service_test.registerTests();
70 mocha.run(); 69 mocha.run();
71 }); 70 });
72 71
73 function MaterialHistoryDrawerTest() {} 72 function MaterialHistoryDrawerTest() {}
74 73
75 MaterialHistoryDrawerTest.prototype = { 74 MaterialHistoryDrawerTest.prototype = {
76 __proto__: MaterialHistoryBrowserTest.prototype, 75 __proto__: MaterialHistoryBrowserTest.prototype,
77 76
78 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 77 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
79 'history_drawer_test.js', 78 'history_drawer_test.js',
80 ]), 79 ]),
81 }; 80 };
82 81
83 TEST_F('MaterialHistoryDrawerTest', 'All', function() { 82 TEST_F('MaterialHistoryDrawerTest', 'All', function() {
84 md_history.history_drawer_test.registerTests();
85 mocha.run(); 83 mocha.run();
86 }); 84 });
87 85
88 function MaterialHistoryGroupedListTest() {} 86 function MaterialHistoryGroupedListTest() {}
89 87
90 MaterialHistoryGroupedListTest.prototype = { 88 MaterialHistoryGroupedListTest.prototype = {
91 __proto__: MaterialHistoryBrowserTest.prototype, 89 __proto__: MaterialHistoryBrowserTest.prototype,
92 90
93 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 91 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
94 'history_grouped_list_test.js', 92 'history_grouped_list_test.js',
95 ]), 93 ]),
96 }; 94 };
97 95
98 TEST_F('MaterialHistoryGroupedListTest', 'All', function() { 96 TEST_F('MaterialHistoryGroupedListTest', 'All', function() {
99 md_history.history_grouped_list_test.registerTests();
100 mocha.run(); 97 mocha.run();
101 }); 98 });
102 99
103 function MaterialHistoryItemTest() {} 100 function MaterialHistoryItemTest() {}
104 101
105 MaterialHistoryItemTest.prototype = { 102 MaterialHistoryItemTest.prototype = {
106 __proto__: MaterialHistoryBrowserTest.prototype, 103 __proto__: MaterialHistoryBrowserTest.prototype,
107 104
108 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 105 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
109 'history_item_test.js', 106 'history_item_test.js',
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 239
243 MaterialHistoryToolbarTest.prototype = { 240 MaterialHistoryToolbarTest.prototype = {
244 __proto__: MaterialHistoryBrowserTest.prototype, 241 __proto__: MaterialHistoryBrowserTest.prototype,
245 242
246 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 243 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
247 'history_toolbar_test.js', 244 'history_toolbar_test.js',
248 ]), 245 ]),
249 }; 246 };
250 247
251 TEST_F('MaterialHistoryToolbarTest', 'All', function() { 248 TEST_F('MaterialHistoryToolbarTest', 'All', function() {
252 md_history.history_toolbar_test.registerTests();
253 mocha.run(); 249 mocha.run();
254 }); 250 });
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