| 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 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 assertEquals('42', settings.getQueryParameters().get('foo')); | 870 assertEquals('42', settings.getQueryParameters().get('foo')); |
| 871 done(); | 871 done(); |
| 872 }); | 872 }); |
| 873 window.history.back(); | 873 window.history.back(); |
| 874 }); | 874 }); |
| 875 }); | 875 }); |
| 876 mocha.run(); | 876 mocha.run(); |
| 877 }); | 877 }); |
| 878 | 878 |
| 879 // Times out on Windows Tests (dbg). See https://crbug.com/651296. | 879 // Times out on Windows Tests (dbg). See https://crbug.com/651296. |
| 880 GEN('#if defined(OS_WIN)'); | 880 GEN('#if defined(OS_WIN) || defined(OS_CHROMEOS)'); |
| 881 GEN('#define MAYBE_MainPage_All DISABLED_All'); | 881 GEN('#define MAYBE_MainPage_All DISABLED_All'); |
| 882 GEN('#else'); | 882 GEN('#else'); |
| 883 GEN('#define MAYBE_MainPage_All All'); | 883 GEN('#define MAYBE_MainPage_All All'); |
| 884 GEN('#endif'); | 884 GEN('#endif'); |
| 885 | 885 |
| 886 /** | 886 /** |
| 887 * Test fixture for chrome/browser/resources/settings/settings_main/. | 887 * Test fixture for chrome/browser/resources/settings/settings_main/. |
| 888 * @constructor | 888 * @constructor |
| 889 * @extends {CrSettingsBrowserTest} | 889 * @extends {CrSettingsBrowserTest} |
| 890 */ | 890 */ |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1008 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1009 'date_time_page_tests.js', | 1009 'date_time_page_tests.js', |
| 1010 ]), | 1010 ]), |
| 1011 }; | 1011 }; |
| 1012 | 1012 |
| 1013 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { | 1013 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { |
| 1014 mocha.run(); | 1014 mocha.run(); |
| 1015 }); | 1015 }); |
| 1016 | 1016 |
| 1017 GEN('#endif'); | 1017 GEN('#endif'); |
| OLD | NEW |