| 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 19 matching lines...) Expand all Loading... |
| 30 'test_util.js', | 30 'test_util.js', |
| 31 'browser_service_test.js', | 31 'browser_service_test.js', |
| 32 'history_drawer_test.js', | 32 'history_drawer_test.js', |
| 33 'history_grouped_list_test.js', | 33 'history_grouped_list_test.js', |
| 34 'history_item_test.js', | 34 'history_item_test.js', |
| 35 'history_list_test.js', | 35 'history_list_test.js', |
| 36 'history_overflow_menu_test.js', | 36 'history_overflow_menu_test.js', |
| 37 'history_routing_test.js', | 37 'history_routing_test.js', |
| 38 'history_supervised_user_test.js', | 38 'history_supervised_user_test.js', |
| 39 'history_synced_tabs_test.js', | 39 'history_synced_tabs_test.js', |
| 40 'history_toolbar_test.js' | 40 'history_toolbar_test.js', |
| 41 'lazy_render_test.js' |
| 41 ]), | 42 ]), |
| 42 | 43 |
| 43 /** @override */ | 44 /** @override */ |
| 44 setUp: function() { | 45 setUp: function() { |
| 45 PolymerTest.prototype.setUp.call(this); | 46 PolymerTest.prototype.setUp.call(this); |
| 46 | 47 |
| 47 suiteSetup(function() { | 48 suiteSetup(function() { |
| 48 // Wait for the top-level app element to be upgraded. | 49 // Wait for the top-level app element to be upgraded. |
| 49 return waitForAppUpgrade().then(function() { | 50 return waitForAppUpgrade().then(function() { |
| 50 $('history-app').queryState_.queryingDisabled = true; | 51 $('history-app').queryState_.queryingDisabled = true; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 81 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { | 82 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { |
| 82 md_history.history_toolbar_test.registerTests(); | 83 md_history.history_toolbar_test.registerTests(); |
| 83 mocha.run(); | 84 mocha.run(); |
| 84 }); | 85 }); |
| 85 | 86 |
| 86 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { | 87 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { |
| 87 md_history.history_overflow_menu_test.registerTests(); | 88 md_history.history_overflow_menu_test.registerTests(); |
| 88 mocha.run(); | 89 mocha.run(); |
| 89 }); | 90 }); |
| 90 | 91 |
| 92 TEST_F('MaterialHistoryBrowserTest', 'LazyRenderTest', function() { |
| 93 md_history.lazy_render_test.registerTests(); |
| 94 mocha.run(); |
| 95 }); |
| 96 |
| 91 TEST_F('MaterialHistoryBrowserTest', 'RoutingTest', function() { | 97 TEST_F('MaterialHistoryBrowserTest', 'RoutingTest', function() { |
| 92 md_history.history_routing_test.registerTests(); | 98 md_history.history_routing_test.registerTests(); |
| 93 mocha.run(); | 99 mocha.run(); |
| 94 }); | 100 }); |
| 95 | 101 |
| 96 TEST_F('MaterialHistoryBrowserTest', 'SyncedTabsTest', function() { | 102 TEST_F('MaterialHistoryBrowserTest', 'SyncedTabsTest', function() { |
| 97 md_history.history_synced_tabs_test.registerTests(); | 103 md_history.history_synced_tabs_test.registerTests(); |
| 98 mocha.run(); | 104 mocha.run(); |
| 99 }); | 105 }); |
| 100 | 106 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 return waitForAppUpgrade(); | 147 return waitForAppUpgrade(); |
| 142 }); | 148 }); |
| 143 }, | 149 }, |
| 144 }; | 150 }; |
| 145 | 151 |
| 146 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam', | 152 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam', |
| 147 function() { | 153 function() { |
| 148 md_history.history_routing_test_with_query_param.registerTests(); | 154 md_history.history_routing_test_with_query_param.registerTests(); |
| 149 mocha.run(); | 155 mocha.run(); |
| 150 }); | 156 }); |
| OLD | NEW |