| 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 /** @fileoverview Runs the Polymer Settings tests. */ | 5 /** @fileoverview Runs the Polymer Settings tests. */ |
| 6 | 6 |
| 7 /** @const {string} Path to source root. */ | 7 /** @const {string} Path to source root. */ |
| 8 var ROOT_PATH = '../../../../../'; | 8 var ROOT_PATH = '../../../../../'; |
| 9 | 9 |
| 10 // Polymer BrowserTest fixture. | 10 // Polymer BrowserTest fixture. |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 CrSettingsNonExistentRouteTest.prototype = { | 1129 CrSettingsNonExistentRouteTest.prototype = { |
| 1130 __proto__: CrSettingsBrowserTest.prototype, | 1130 __proto__: CrSettingsBrowserTest.prototype, |
| 1131 | 1131 |
| 1132 /** @override */ | 1132 /** @override */ |
| 1133 browsePreload: 'chrome://md-settings/non/existent/route', | 1133 browsePreload: 'chrome://md-settings/non/existent/route', |
| 1134 | 1134 |
| 1135 /** @override */ | 1135 /** @override */ |
| 1136 runAccessibilityChecks: false, | 1136 runAccessibilityChecks: false, |
| 1137 }; | 1137 }; |
| 1138 | 1138 |
| 1139 TEST_F('CrSettingsNonExistentRouteTest', 'All', function() { | 1139 // Failing on ChromiumOS dbg. https://crbug.com/709442 |
| 1140 GEN('#if defined(OS_CHROMEOS) && !defined(NDEBUG)'); |
| 1141 GEN('#define MAYBE_All DISABLED_All'); |
| 1142 GEN('#else'); |
| 1143 GEN('#define MAYBE_All All'); |
| 1144 GEN('#endif'); |
| 1145 TEST_F('CrSettingsNonExistentRouteTest', 'MAYBE_All', function() { |
| 1140 suite('NonExistentRoutes', function() { | 1146 suite('NonExistentRoutes', function() { |
| 1141 test('redirect to basic', function() { | 1147 test('redirect to basic', function() { |
| 1142 assertEquals(settings.Route.BASIC, settings.getCurrentRoute()); | 1148 assertEquals(settings.Route.BASIC, settings.getCurrentRoute()); |
| 1143 assertEquals('/', location.pathname); | 1149 assertEquals('/', location.pathname); |
| 1144 }); | 1150 }); |
| 1145 }); | 1151 }); |
| 1146 mocha.run(); | 1152 mocha.run(); |
| 1147 }); | 1153 }); |
| 1148 | 1154 |
| 1149 /** | 1155 /** |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1422 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1417 'test_browser_proxy.js', | 1423 'test_browser_proxy.js', |
| 1418 'test_extension_control_browser_proxy.js', | 1424 'test_extension_control_browser_proxy.js', |
| 1419 'extension_controlled_indicator_tests.js', | 1425 'extension_controlled_indicator_tests.js', |
| 1420 ]), | 1426 ]), |
| 1421 }; | 1427 }; |
| 1422 | 1428 |
| 1423 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1429 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1424 mocha.run(); | 1430 mocha.run(); |
| 1425 }); | 1431 }); |
| OLD | NEW |