| 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 15 matching lines...) Expand all Loading... |
| 26 /** @override */ | 26 /** @override */ |
| 27 runAccessibilityChecks: false, | 27 runAccessibilityChecks: false, |
| 28 | 28 |
| 29 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | 29 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| 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_metrics_test.js', |
| 36 'history_overflow_menu_test.js', | 37 'history_overflow_menu_test.js', |
| 37 'history_routing_test.js', | 38 'history_routing_test.js', |
| 38 'history_supervised_user_test.js', | 39 'history_supervised_user_test.js', |
| 39 'history_synced_tabs_test.js', | 40 'history_synced_tabs_test.js', |
| 40 'history_toolbar_test.js', | 41 'history_toolbar_test.js', |
| 41 'lazy_render_test.js' | 42 'lazy_render_test.js' |
| 42 ]), | 43 ]), |
| 43 | 44 |
| 44 /** @override */ | 45 /** @override */ |
| 45 setUp: function() { | 46 setUp: function() { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 72 TEST_F('MaterialHistoryBrowserTest', 'HistoryItemTest', function() { | 73 TEST_F('MaterialHistoryBrowserTest', 'HistoryItemTest', function() { |
| 73 md_history.history_item_test.registerTests(); | 74 md_history.history_item_test.registerTests(); |
| 74 mocha.run(); | 75 mocha.run(); |
| 75 }); | 76 }); |
| 76 | 77 |
| 77 TEST_F('MaterialHistoryBrowserTest', 'HistoryListTest', function() { | 78 TEST_F('MaterialHistoryBrowserTest', 'HistoryListTest', function() { |
| 78 md_history.history_list_test.registerTests(); | 79 md_history.history_list_test.registerTests(); |
| 79 mocha.run(); | 80 mocha.run(); |
| 80 }); | 81 }); |
| 81 | 82 |
| 83 TEST_F('MaterialHistoryBrowserTest', 'Metrics', function() { |
| 84 md_history.history_metrics_test.registerTests(); |
| 85 mocha.run(); |
| 86 }); |
| 87 |
| 82 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { | 88 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarTest', function() { |
| 83 md_history.history_toolbar_test.registerTests(); | 89 md_history.history_toolbar_test.registerTests(); |
| 84 mocha.run(); | 90 mocha.run(); |
| 85 }); | 91 }); |
| 86 | 92 |
| 87 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarFocusTest', function() { | 93 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarFocusTest', function() { |
| 88 md_history.history_toolbar_focus_test.registerTests(); | 94 md_history.history_toolbar_focus_test.registerTests(); |
| 89 mocha.run(); | 95 mocha.run(); |
| 90 }); | 96 }); |
| 91 | 97 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 return waitForAppUpgrade(); | 158 return waitForAppUpgrade(); |
| 153 }); | 159 }); |
| 154 }, | 160 }, |
| 155 }; | 161 }; |
| 156 | 162 |
| 157 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam', | 163 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam', |
| 158 function() { | 164 function() { |
| 159 md_history.history_routing_test_with_query_param.registerTests(); | 165 md_history.history_routing_test_with_query_param.registerTests(); |
| 160 mocha.run(); | 166 mocha.run(); |
| 161 }); | 167 }); |
| OLD | NEW |