| 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 * TestFixture for kiosk certification manager dialog WebUI testing. | 6 * TestFixture for kiosk certification manager dialog WebUI testing. |
| 7 * @extends {testing.Test} | 7 * @extends {testing.Test} |
| 8 * @constructor | 8 * @constructor |
| 9 */ | 9 */ |
| 10 function CertificateManagerDialogWebUITest() {} | 10 function CertificateManagerDialogWebUITest() {} |
| 11 | 11 |
| 12 CertificateManagerDialogWebUITest.prototype = { | 12 CertificateManagerDialogWebUITest.prototype = { |
| 13 __proto__: testing.Test.prototype, | 13 __proto__: testing.Test.prototype, |
| 14 | 14 |
| 15 /** | 15 /** |
| 16 * Browse to the certification manager dialog page. | 16 * Browse to the certification manager dialog page. |
| 17 */ | 17 */ |
| 18 browsePreload: 'chrome://certificate-manager/', | 18 browsePreload: 'chrome://certificate-manager/', |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 // crbug.com/682497 |
| 22 GEN('#if defined(ADDRESS_SANITIZER)'); |
| 23 GEN('#define MAYBE_Basic DISABLED_Basic'); |
| 24 GEN('#else'); |
| 25 GEN('#define MAYBE_Basic Basic'); |
| 26 GEN('#endif'); |
| 21 // Sanity test of the WebUI could be opened with no errors. | 27 // Sanity test of the WebUI could be opened with no errors. |
| 22 TEST_F('CertificateManagerDialogWebUITest', 'Basic', function() { | 28 TEST_F('CertificateManagerDialogWebUITest', 'MAYBE_Basic', function() { |
| 23 assertEquals(this.browsePreload, document.location.href); | 29 assertEquals(this.browsePreload, document.location.href); |
| 24 }); | 30 }); |
| OLD | NEW |