| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 * @fileoverview Library providing basic test framework functionality. | 6 * @fileoverview Library providing basic test framework functionality. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 // See assert.js for where this is used. | 9 // See assert.js for where this is used. |
| 10 this.traceAssertionsForTesting = true; | 10 this.traceAssertionsForTesting = true; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 // generally does not apply. | 204 // generally does not apply. |
| 205 "pageWithoutTitle", | 205 "pageWithoutTitle", |
| 206 | 206 |
| 207 // TODO(aboxhall): re-enable when crbug.com/267035 is fixed. | 207 // TODO(aboxhall): re-enable when crbug.com/267035 is fixed. |
| 208 // Until then it's just noise. | 208 // Until then it's just noise. |
| 209 "lowContrastElements", | 209 "lowContrastElements", |
| 210 | 210 |
| 211 // TODO(apacible): re-enable when following issue is fixed. | 211 // TODO(apacible): re-enable when following issue is fixed. |
| 212 // github.com/GoogleChrome/accessibility-developer-tools/issues/251 | 212 // github.com/GoogleChrome/accessibility-developer-tools/issues/251 |
| 213 "tableHasAppropriateHeaders", | 213 "tableHasAppropriateHeaders", |
| 214 |
| 215 // TODO(crbug.com/657514): This rule is flaky on Linux/ChromeOS. |
| 216 "requiredOwnedAriaRoleMissing", |
| 214 ]; | 217 ]; |
| 215 } | 218 } |
| 216 return this.accessibilityAuditConfig_; | 219 return this.accessibilityAuditConfig_; |
| 217 }, | 220 }, |
| 218 | 221 |
| 219 /** | 222 /** |
| 220 * Whether to treat accessibility issues (errors or warnings) as test | 223 * Whether to treat accessibility issues (errors or warnings) as test |
| 221 * failures. If true, any accessibility issues will cause the test to fail. | 224 * failures. If true, any accessibility issues will cause the test to fail. |
| 222 * If false, accessibility issues will cause a console.warn. | 225 * If false, accessibility issues will cause a console.warn. |
| 223 * Off by default to begin with; as we add the ability to suppress false | 226 * Off by default to begin with; as we add the ability to suppress false |
| (...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1736 exports.runTest = runTest; | 1739 exports.runTest = runTest; |
| 1737 exports.runTestFunction = runTestFunction; | 1740 exports.runTestFunction = runTestFunction; |
| 1738 exports.DUMMY_URL = DUMMY_URL; | 1741 exports.DUMMY_URL = DUMMY_URL; |
| 1739 exports.TEST = TEST; | 1742 exports.TEST = TEST; |
| 1740 exports.TEST_F = TEST_F; | 1743 exports.TEST_F = TEST_F; |
| 1741 exports.RUNTIME_TEST_F = TEST_F; | 1744 exports.RUNTIME_TEST_F = TEST_F; |
| 1742 exports.GEN = GEN; | 1745 exports.GEN = GEN; |
| 1743 exports.GEN_INCLUDE = GEN_INCLUDE; | 1746 exports.GEN_INCLUDE = GEN_INCLUDE; |
| 1744 exports.WhenTestDone = WhenTestDone; | 1747 exports.WhenTestDone = WhenTestDone; |
| 1745 })(this); | 1748 })(this); |
| OLD | NEW |