1 DumpAccessibilityTreeTest Notes
4 * foo.html -- a file to be tested
5 * foo-expected-win.txt -- expected MSAA output
6 * foo-expected-mac.txt -- expected Mac accessibility output
8 Format for expected files:
9 * Blank lines and lines beginning with # are ignored
10 * Skipped files: if first line of file begins with #<skip then the entire file is ignored,
11 but listed in the output as skipped
12 * Use 4 spaces for indent to show hierarchy
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
15 * See specific examples (e.g. ul-expected-win.txt) for more details
17 Compiling and running the tests:
18 ninja -C out/Debug content_browsertests
19 out/Debug/content_browsertests --gtest_filter="DumpAccessibilityTreeTest*"
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
24 content/browser/accessibility/dump_accessibility_tree_browsertest.cc