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

Side by Side Diff: chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js

Issue 2898303004: [MD Bookmarks] Add toasts. (Closed)
Patch Set: fix nits Created 3 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 bookmarks page. 6 * @fileoverview Test suite for the Material Design bookmarks page.
7 */ 7 */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 GEN_INCLUDE( 10 GEN_INCLUDE(
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([ 166 extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([
167 'folder_node_test.js', 167 'folder_node_test.js',
168 ]), 168 ]),
169 }; 169 };
170 170
171 TEST_F('MaterialBookmarksFolderNodeTest', 'All', function() { 171 TEST_F('MaterialBookmarksFolderNodeTest', 'All', function() {
172 mocha.run(); 172 mocha.run();
173 }); 173 });
174 174
175 function MaterialBookmarksToastManagerTest() {}
176
177 MaterialBookmarksToastManagerTest.prototype = {
178 __proto__: MaterialBookmarksBrowserTest.prototype,
179
180 extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([
181 'toast_manager_test.js',
182 ]),
183 };
184
185 TEST_F('MaterialBookmarksToastManagerTest', 'All', function() {
186 mocha.run();
187 });
188
175 function MaterialBookmarksPolicyTest() {} 189 function MaterialBookmarksPolicyTest() {}
176 190
177 MaterialBookmarksPolicyTest.prototype = { 191 MaterialBookmarksPolicyTest.prototype = {
178 __proto__: MaterialBookmarksBrowserTest.prototype, 192 __proto__: MaterialBookmarksBrowserTest.prototype,
179 193
180 testGenPreamble: function() { 194 testGenPreamble: function() {
181 GEN('SetIncognitoAvailability(IncognitoModePrefs::DISABLED);'); 195 GEN('SetIncognitoAvailability(IncognitoModePrefs::DISABLED);');
182 }, 196 },
183 197
184 extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([ 198 extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 __proto__: MaterialBookmarksBrowserTest.prototype, 238 __proto__: MaterialBookmarksBrowserTest.prototype,
225 239
226 extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([ 240 extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([
227 'util_test.js', 241 'util_test.js',
228 ]), 242 ]),
229 }; 243 };
230 244
231 TEST_F('MaterialBookmarksUtilTest', 'All', function() { 245 TEST_F('MaterialBookmarksUtilTest', 'All', function() {
232 mocha.run(); 246 mocha.run();
233 }); 247 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/md_bookmarks/command_manager_test.js ('k') | chrome/test/data/webui/md_bookmarks/toast_manager_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698