Chromium Code Reviews| Index: chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js |
| diff --git a/chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js b/chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e37571c28af0e8f778f932978182da7849ff4e5b |
| --- /dev/null |
| +++ b/chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js |
| @@ -0,0 +1,44 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +/** |
| + * @fileoverview Test suite for the Material Design bookmarks page. |
| + */ |
| +var ROOT_PATH = '../../../../../'; |
| + |
| +GEN_INCLUDE( |
| + [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); |
| +GEN('#include "base/command_line.h"'); |
| + |
| +function MaterialBookmarksBrowserTest() {} |
| + |
| +MaterialBookmarksBrowserTest.prototype = { |
| + __proto__: PolymerTest.prototype, |
| + |
| + browsePreload: 'chrome://bookmarks', |
| + |
| + commandLineSwitches: [{switchName: 'enable-features', |
| + switchValue: 'MaterialDesignBookmarks'}], |
| + |
| + /** @override */ |
| + 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.
|
| + |
| + extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| + 'test_util.js', |
| + ]), |
| +}; |
| + |
| +function MaterialBookmarksStoreTest() {} |
| + |
| +MaterialBookmarksStoreTest.prototype = { |
| + __proto__: MaterialBookmarksBrowserTest.prototype, |
| + |
| + extraLibraries: MaterialBookmarksBrowserTest.prototype.extraLibraries.concat([ |
| + 'store_test.js', |
| + ]), |
| +}; |
| + |
| +TEST_F('MaterialBookmarksStoreTest', 'All', function() { |
| + mocha.run(); |
| +}); |