Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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 history page. | |
| 7 */ | |
| 8 | |
| 9 var ROOT_PATH = '../../../../../'; | |
| 10 | |
| 11 GEN_INCLUDE( | |
| 12 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); | |
| 13 | |
| 14 function MaterialHistoryBrowserTest() {} | |
| 15 | |
| 16 MaterialHistoryBrowserTest.prototype = { | |
| 17 __proto__: PolymerTest.prototype, | |
| 18 | |
| 19 browsePreload: 'chrome://history', | |
| 20 | |
| 21 commandLineSwitches: [{switchName: 'enable-md-history'}], | |
| 22 | |
| 23 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | |
| 24 'test_util.js', | |
|
tsergeant
2016/01/22 02:37:11
Probs should alphabetize these filenames.
hsampson
2016/01/22 05:05:03
Done.
| |
| 25 'history_card_manager_test.js', | |
| 26 'history_toolbar_test.js', | |
| 27 'history_card_test.js', | |
| 28 'history_overflow_menu_test.js' | |
| 29 ]) | |
| 30 }; | |
| 31 | |
| 32 TEST_F('MaterialHistoryBrowserTest', 'HistoryCardTest', function() { | |
| 33 md_history.history_card_test.registerTests(); | |
| 34 mocha.run(); | |
| 35 }); | |
| 36 | |
| 37 TEST_F('MaterialHistoryBrowserTest', 'HistoryCardManagerTest', function() { | |
| 38 md_history.history_card_manager_test.registerTests(); | |
| 39 mocha.run(); | |
| 40 }); | |
| 41 | |
| 42 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { | |
| 43 md_history.history_toolbar_test.registerTests(); | |
| 44 mocha.run(); | |
| 45 }); | |
| 46 | |
| 47 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { | |
| 48 md_history.history_overflow_menu_test.registerTests(); | |
| 49 mocha.run(); | |
| 50 }); | |
| OLD | NEW |