diff options
author | dmazzoni@google.com <dmazzoni@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-12 07:53:31 +0000 |
---|---|---|
committer | dmazzoni@google.com <dmazzoni@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-12 07:53:31 +0000 |
commit | 6c8ea31a26f08e3cb6fa0a532feb3254ff8afa62 (patch) | |
tree | 2f7d0abbac6fd8acad58d02819582d827e872ddc /content/test/data | |
parent | 1c6a05857af37bb1b53d44da9887b4d73becca45 (diff) | |
download | chromium_src-6c8ea31a26f08e3cb6fa0a532feb3254ff8afa62.zip chromium_src-6c8ea31a26f08e3cb6fa0a532feb3254ff8afa62.tar.gz chromium_src-6c8ea31a26f08e3cb6fa0a532feb3254ff8afa62.tar.bz2 |
Re-land: Improve formatting of accessibility tests that dump the tree.
Adds indentation, uses more readable notation.
Adds one new test for static lists to illustrate the indentations.
BUG=none
TEST=Adds new test
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=125898
Review URL: https://chromiumcodereview.appspot.com/9617019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126105 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/data')
5 files changed, 35 insertions, 4 deletions
diff --git a/content/test/data/accessibility/aria-application-expected-mac.txt b/content/test/data/accessibility/aria-application-expected-mac.txt index 9112096..c34bc90 100644 --- a/content/test/data/accessibility/aria-application-expected-mac.txt +++ b/content/test/data/accessibility/aria-application-expected-mac.txt @@ -1,2 +1,2 @@ -AXWebArea|(null)|| -AXGroup|AXLandmarkApplication|| +AXWebArea subrole=(null) title='' value='' + AXGroup subrole=AXLandmarkApplication title='' value='' diff --git a/content/test/data/accessibility/aria-application-expected-win.txt b/content/test/data/accessibility/aria-application-expected-win.txt index 4b2c02b..a2b8c49 100644 --- a/content/test/data/accessibility/aria-application-expected-win.txt +++ b/content/test/data/accessibility/aria-application-expected-win.txt @@ -1,2 +1,2 @@ -|ROLE_SYSTEM_DOCUMENT|IA2_STATE_OPAQUE|
-|IA2_ROLE_SECTION|IA2_STATE_OPAQUE|
+ROLE_SYSTEM_DOCUMENT name='' state=IA2_STATE_OPAQUE + IA2_ROLE_SECTION name='' state=IA2_STATE_OPAQUE diff --git a/content/test/data/accessibility/ul-expected-mac.txt b/content/test/data/accessibility/ul-expected-mac.txt new file mode 100644 index 0000000..361776f --- /dev/null +++ b/content/test/data/accessibility/ul-expected-mac.txt @@ -0,0 +1,11 @@ +AXWebArea subrole=(null) title='' value='' + AXList subrole=AXContentList title='' value='' + AXGroup subrole=(null) title='' value='' + AXGroup subrole=(null) title='' value='•' + AXStaticText subrole=(null) title='' value='Item 1' + AXGroup subrole=(null) title='' value='' + AXGroup subrole=(null) title='' value='•' + AXStaticText subrole=(null) title='' value='Item 2' + AXGroup subrole=(null) title='' value='' + AXGroup subrole=(null) title='' value='•' + AXStaticText subrole=(null) title='' value='Item 3' diff --git a/content/test/data/accessibility/ul-expected-win.txt b/content/test/data/accessibility/ul-expected-win.txt new file mode 100644 index 0000000..4d8a941 --- /dev/null +++ b/content/test/data/accessibility/ul-expected-win.txt @@ -0,0 +1,11 @@ +ROLE_SYSTEM_DOCUMENT name='' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_LIST name='' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_LISTITEM name='' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_TEXT name='' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_TEXT name='Item 1' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_LISTITEM name='' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_TEXT name='' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_TEXT name='Item 2' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_LISTITEM name='' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_TEXT name='' state=IA2_STATE_OPAQUE + ROLE_SYSTEM_TEXT name='Item 3' state=IA2_STATE_OPAQUE diff --git a/content/test/data/accessibility/ul.html b/content/test/data/accessibility/ul.html new file mode 100644 index 0000000..4ba8a9c --- /dev/null +++ b/content/test/data/accessibility/ul.html @@ -0,0 +1,9 @@ +<html> +<body> +<ul> +<li>Item 1 +<li>Item 2 +<li>Item 3 +</ul> +</body> +</html> |