Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 /** | |
| 6 * @fileoverview Test suite for the Material Design bookmarks page. | |
| 7 */ | |
| 8 var ROOT_PATH = '../../../../../'; | |
| 9 | |
| 10 GEN_INCLUDE( | |
| 11 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); | |
| 12 GEN('#include "base/command_line.h"'); | |
| 13 | |
| 14 function MaterialBookmarksBrowserTest() {} | |
| 15 | |
| 16 MaterialBookmarksBrowserTest.prototype = { | |
| 17 __proto__: PolymerTest.prototype, | |
| 18 | |
| 19 browsePreload: 'chrome://bookmarks', | |
| 20 | |
| 21 commandLineSwitches: [{switchName: 'enable-features', | |
| 22 switchValue: 'MaterialDesignBookmarks'}], | |
| 23 | |
| 24 /** @override */ | |
| 25 runAccessibilityChecks: false, | |
|
tsergeant
2016/12/22 04:33:02
We copied this from History, which disabled this a
angelayang
2016/12/28 00:49:38
Done.
| |
| 26 | |
| 27 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | |
| 28 'test_util.js', | |
| 29 ]), | |
| 30 }; | |
| 31 | |
| 32 function MaterialBookmarksStoreTest() {} | |
| 33 | |
| 34 MaterialBookmarksStoreTest.prototype = { | |
| 35 __proto__: MaterialBookmarksBrowserTest.prototype, | |
| 36 | |
| 37 extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([ | |
| 38 'store_test.js', | |
| 39 ]), | |
| 40 }; | |
| 41 | |
| 42 TEST_F('MaterialBookmarksStoreTest', 'All', function() { | |
| 43 mocha.run(); | |
| 44 }); | |
| OLD | NEW |