| 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 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 assertEquals('42', settings.getQueryParameters().get('foo')); | 929 assertEquals('42', settings.getQueryParameters().get('foo')); |
| 930 done(); | 930 done(); |
| 931 }); | 931 }); |
| 932 window.history.back(); | 932 window.history.back(); |
| 933 }); | 933 }); |
| 934 }); | 934 }); |
| 935 mocha.run(); | 935 mocha.run(); |
| 936 }); | 936 }); |
| 937 | 937 |
| 938 // Times out on Windows Tests (dbg). See https://crbug.com/651296. | 938 // Times out on Windows Tests (dbg). See https://crbug.com/651296. |
| 939 GEN('#if defined(OS_WIN) || defined(OS_CHROMEOS)'); | 939 // Times out / crashes on chromium.linux/Linux Tests (dbg) crbug.com/667882 |
| 940 GEN('#if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_LINUX)'); |
| 940 GEN('#define MAYBE_MainPage_All DISABLED_All'); | 941 GEN('#define MAYBE_MainPage_All DISABLED_All'); |
| 941 GEN('#else'); | 942 GEN('#else'); |
| 942 GEN('#define MAYBE_MainPage_All All'); | 943 GEN('#define MAYBE_MainPage_All All'); |
| 943 GEN('#endif'); | 944 GEN('#endif'); |
| 944 | 945 |
| 945 /** | 946 /** |
| 946 * Test fixture for chrome/browser/resources/settings/settings_main/. | 947 * Test fixture for chrome/browser/resources/settings/settings_main/. |
| 947 * @constructor | 948 * @constructor |
| 948 * @extends {CrSettingsBrowserTest} | 949 * @extends {CrSettingsBrowserTest} |
| 949 */ | 950 */ |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1074 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1074 'date_time_page_tests.js', | 1075 'date_time_page_tests.js', |
| 1075 ]), | 1076 ]), |
| 1076 }; | 1077 }; |
| 1077 | 1078 |
| 1078 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { | 1079 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { |
| 1079 mocha.run(); | 1080 mocha.run(); |
| 1080 }); | 1081 }); |
| 1081 | 1082 |
| 1082 GEN('#endif'); | 1083 GEN('#endif'); |
| OLD | NEW |