| OLD | NEW |
| 1 DumpAccessibilityTreeTest Notes | 1 DumpAccessibilityTreeTest Notes |
| 2 | 2 |
| 3 Files used: | 3 Files used: |
| 4 * foo.html -- a file to be tested | 4 * foo.html -- a file to be tested |
| 5 * foo-expected-win.txt -- expected MSAA output | 5 * foo-expected-win.txt -- expected MSAA output |
| 6 * foo-expected-mac.txt -- expected Mac accessibility output | 6 * foo-expected-mac.txt -- expected Mac accessibility output |
| 7 | 7 |
| 8 Format for expected files: | 8 Format for expected files: |
| 9 * Blank lines and lines beginning with # are ignored | 9 * Blank lines and lines beginning with # are ignored |
| 10 * Skipped files: if first line of file begins with #<skip then the entire file i
s ignored, | 10 * Skipped files: if first line of file begins with #<skip then the entire file i
s ignored, |
| 11 but listed in the output as skipped | 11 but listed in the output as skipped |
| 12 * Use 4 spaces for indent to show hierarchy | 12 * Use 4 spaces for indent to show hierarchy |
| 13 * MSAA states do not have a prefix, e.g. FOCUSED, not STATE_SYSTEM_FOCUSED | 13 * MSAA states do not have a prefix, e.g. FOCUSED, not STATE_SYSTEM_FOCUSED |
| 14 * All other constants are used exactly as normally named | 14 * All other constants are used exactly as normally named |
| 15 * See specific examples (e.g. ul-expected-win.txt) for more details | 15 * See specific examples (e.g. ul-expected-win.txt) for more details |
| 16 | 16 |
| 17 Compiling and running the tests: | 17 Compiling and running the tests: |
| 18 ninja -C out/Debug content_browsertests | 18 ninja -C out/Debug content_browsertests |
| 19 out/Debug/content_browsertests --gtest_filter="DumpAccessibilityTreeTest*" | 19 out/Debug/content_browsertests --gtest_filter="DumpAccessibilityTreeTest*" |
| 20 |
| 21 If you are adding a new test file remember to add a corresponding test case in |
| 22 content/browser/accessibility/dump_accessibility_events_browsertest.cc |
| 23 or |
| 24 content/browser/accessibility/dump_accessibility_tree_browsertest.cc |
| OLD | NEW |