OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 * TestFixture for OptionsPage WebUI testing. | 6 * TestFixture for OptionsPage WebUI testing. |
7 * @extends {testing.Test} | 7 * @extends {testing.Test} |
8 * @constructor | 8 * @constructor |
9 */ | 9 */ |
10 function OptionsWebUITest() {} | 10 function OptionsWebUITest() {} |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 GEN('#define MAYBE_testOpenAllOptionsPages DISABLED_testOpenAllOptionsPages'); | 112 GEN('#define MAYBE_testOpenAllOptionsPages DISABLED_testOpenAllOptionsPages'); |
113 GEN('#else'); | 113 GEN('#else'); |
114 GEN('#define MAYBE_testOpenAllOptionsPages FLAKY_testOpenAllOptionsPages'); | 114 GEN('#define MAYBE_testOpenAllOptionsPages FLAKY_testOpenAllOptionsPages'); |
115 GEN('#endif // defined(TOOLKIT_VIEWS)'); | 115 GEN('#endif // defined(TOOLKIT_VIEWS)'); |
116 TEST_F('OptionsWebUITest', 'MAYBE_testOpenAllOptionsPages', function() { | 116 TEST_F('OptionsWebUITest', 'MAYBE_testOpenAllOptionsPages', function() { |
117 expectTrue(!!OptionsPage.registeredPages); | 117 expectTrue(!!OptionsPage.registeredPages); |
118 for (var name in OptionsPage.registeredPages) { | 118 for (var name in OptionsPage.registeredPages) { |
119 OptionsPage.showPageByName(name, false); | 119 OptionsPage.showPageByName(name, false); |
120 } | 120 } |
121 }); | 121 }); |
OLD | NEW |