OLD | NEW |
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 Loading... |
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 Loading... |
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 }); |
OLD | NEW |