Chromium Code Reviews| Index: chrome/test/data/webui/md_history/md_history_browsertest.js |
| diff --git a/chrome/test/data/webui/md_history/md_history_browsertest.js b/chrome/test/data/webui/md_history/md_history_browsertest.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1403e74e186e4b236be2319243b7ca146fd50c21 |
| --- /dev/null |
| +++ b/chrome/test/data/webui/md_history/md_history_browsertest.js |
| @@ -0,0 +1,50 @@ |
| +// Copyright 2015 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 history page. |
| + */ |
| + |
| +var ROOT_PATH = '../../../../../'; |
| + |
| +GEN_INCLUDE( |
| + [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); |
| + |
| +function MaterialHistoryBrowserTest() {} |
| + |
| +MaterialHistoryBrowserTest.prototype = { |
| + __proto__: PolymerTest.prototype, |
| + |
| + browsePreload: 'chrome://history', |
| + |
| + commandLineSwitches: [{switchName: 'enable-md-history'}], |
| + |
| + extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| + 'test_util.js', |
|
tsergeant
2016/01/22 02:37:11
Probs should alphabetize these filenames.
hsampson
2016/01/22 05:05:03
Done.
|
| + 'history_card_manager_test.js', |
| + 'history_toolbar_test.js', |
| + 'history_card_test.js', |
| + 'history_overflow_menu_test.js' |
| + ]) |
| +}; |
| + |
| +TEST_F('MaterialHistoryBrowserTest', 'HistoryCardTest', function() { |
| + md_history.history_card_test.registerTests(); |
| + mocha.run(); |
| +}); |
| + |
| +TEST_F('MaterialHistoryBrowserTest', 'HistoryCardManagerTest', function() { |
| + md_history.history_card_manager_test.registerTests(); |
| + mocha.run(); |
| +}); |
| + |
| +TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { |
| + md_history.history_toolbar_test.registerTests(); |
| + mocha.run(); |
| +}); |
| + |
| +TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { |
| + md_history.history_overflow_menu_test.registerTests(); |
| + mocha.run(); |
| +}); |