| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 history page. | 6 * @fileoverview Test suite for the Material Design history page. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 var ROOT_PATH = '../../../../../'; | 9 var ROOT_PATH = '../../../../../'; |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 /** @override */ | 25 /** @override */ |
| 26 runAccessibilityChecks: false, | 26 runAccessibilityChecks: false, |
| 27 | 27 |
| 28 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | 28 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| 29 'test_util.js', | 29 'test_util.js', |
| 30 'history_list_test.js', | 30 'history_list_test.js', |
| 31 'history_item_test.js', | 31 'history_item_test.js', |
| 32 'history_overflow_menu_test.js', | 32 'history_overflow_menu_test.js', |
| 33 'history_supervised_user_test.js', | 33 'history_supervised_user_test.js', |
| 34 'history_synced_tabs_test.js', |
| 34 'history_toolbar_test.js' | 35 'history_toolbar_test.js' |
| 35 ]) | 36 ]) |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 TEST_F('MaterialHistoryBrowserTest', 'HistoryItemTest', function() { | 39 TEST_F('MaterialHistoryBrowserTest', 'HistoryItemTest', function() { |
| 39 md_history.history_item_test.registerTests(); | 40 md_history.history_item_test.registerTests(); |
| 40 mocha.run(); | 41 mocha.run(); |
| 41 }); | 42 }); |
| 42 | 43 |
| 43 TEST_F('MaterialHistoryBrowserTest', 'HistoryListTest', function() { | 44 TEST_F('MaterialHistoryBrowserTest', 'HistoryListTest', function() { |
| 44 md_history.history_list_test.registerTests(); | 45 md_history.history_list_test.registerTests(); |
| 45 mocha.run(); | 46 mocha.run(); |
| 46 }); | 47 }); |
| 47 | 48 |
| 48 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { | 49 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { |
| 49 md_history.history_toolbar_test.registerTests(); | 50 md_history.history_toolbar_test.registerTests(); |
| 50 mocha.run(); | 51 mocha.run(); |
| 51 }); | 52 }); |
| 52 | 53 |
| 53 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { | 54 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { |
| 54 md_history.history_overflow_menu_test.registerTests(); | 55 md_history.history_overflow_menu_test.registerTests(); |
| 55 mocha.run(); | 56 mocha.run(); |
| 56 }); | 57 }); |
| 57 | 58 |
| 59 TEST_F('MaterialHistoryBrowserTest', 'SyncedTabsTest', function() { |
| 60 md_history.history_synced_tabs_test.registerTests(); |
| 61 mocha.run(); |
| 62 }); |
| 63 |
| 58 function MaterialHistoryDeletionDisabledTest() {} | 64 function MaterialHistoryDeletionDisabledTest() {} |
| 59 | 65 |
| 60 MaterialHistoryDeletionDisabledTest.prototype = { | 66 MaterialHistoryDeletionDisabledTest.prototype = { |
| 61 __proto__: MaterialHistoryBrowserTest.prototype, | 67 __proto__: MaterialHistoryBrowserTest.prototype, |
| 62 | 68 |
| 63 typedefCppFixture: 'HistoryUIBrowserTest', | 69 typedefCppFixture: 'HistoryUIBrowserTest', |
| 64 | 70 |
| 65 testGenPreamble: function() { | 71 testGenPreamble: function() { |
| 66 GEN(' SetDeleteAllowed(false);'); | 72 GEN(' SetDeleteAllowed(false);'); |
| 67 } | 73 } |
| 68 }; | 74 }; |
| 69 | 75 |
| 70 TEST_F('MaterialHistoryDeletionDisabledTest', 'HistorySupervisedUserTest', | 76 TEST_F('MaterialHistoryDeletionDisabledTest', 'HistorySupervisedUserTest', |
| 71 function() { | 77 function() { |
| 72 md_history.history_supervised_user_test.registerTests(); | 78 md_history.history_supervised_user_test.registerTests(); |
| 73 mocha.run(); | 79 mocha.run(); |
| 74 }); | 80 }); |
| OLD | NEW |