| 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 27 matching lines...) Expand all Loading... |
| 38 'history_toolbar_test.js' | 38 'history_toolbar_test.js' |
| 39 ]), | 39 ]), |
| 40 | 40 |
| 41 /** @override */ | 41 /** @override */ |
| 42 setUp: function() { | 42 setUp: function() { |
| 43 PolymerTest.prototype.setUp.call(this); | 43 PolymerTest.prototype.setUp.call(this); |
| 44 | 44 |
| 45 suiteSetup(function() { | 45 suiteSetup(function() { |
| 46 // Wait for the top-level app element to be upgraded. | 46 // Wait for the top-level app element to be upgraded. |
| 47 return waitForUpgrade($('history-app')).then(function() { | 47 return waitForUpgrade($('history-app')).then(function() { |
| 48 $('history-app').queryingDisabled_ = true; | 48 $('history-app').queryState_.queryingDisabled = true; |
| 49 }); | 49 }); |
| 50 }); | 50 }); |
| 51 }, | 51 }, |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 TEST_F('MaterialHistoryBrowserTest', 'BrowserServiceTest', function() { | 54 TEST_F('MaterialHistoryBrowserTest', 'BrowserServiceTest', function() { |
| 55 md_history.browser_service_test.registerTests(); | 55 md_history.browser_service_test.registerTests(); |
| 56 mocha.run(); | 56 mocha.run(); |
| 57 }); | 57 }); |
| 58 | 58 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 testGenPreamble: function() { | 96 testGenPreamble: function() { |
| 97 GEN(' SetDeleteAllowed(false);'); | 97 GEN(' SetDeleteAllowed(false);'); |
| 98 } | 98 } |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 TEST_F('MaterialHistoryDeletionDisabledTest', 'HistorySupervisedUserTest', | 101 TEST_F('MaterialHistoryDeletionDisabledTest', 'HistorySupervisedUserTest', |
| 102 function() { | 102 function() { |
| 103 md_history.history_supervised_user_test.registerTests(); | 103 md_history.history_supervised_user_test.registerTests(); |
| 104 mocha.run(); | 104 mocha.run(); |
| 105 }); | 105 }); |
| OLD | NEW |