From 3cc413e84f0842af829244f58dacae3d52cea916 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 21 Jun 2011 23:31:34 -0400 Subject: Add a testcase for all the pickers --- tests/a11y/Makefile.am | 3 +- tests/a11y/pickers.txt | 322 +++++++++++++++++++++++++++++++++++++++++++++++++ tests/a11y/pickers.ui | 49 ++++++++ 3 files changed, 373 insertions(+), 1 deletion(-) create mode 100644 tests/a11y/pickers.txt create mode 100644 tests/a11y/pickers.ui diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am index c4c13a8e7a..1b38420769 100644 --- a/tests/a11y/Makefile.am +++ b/tests/a11y/Makefile.am @@ -36,4 +36,5 @@ EXTRA_DIST += \ appchooser.ui appchooser.txt \ messagedialog.ui messagedialog.txt \ expander.ui expander.txt \ - assistant.ui assistant.txt + assistant.ui assistant.txt \ + pickers.ui pickers.txt diff --git a/tests/a11y/pickers.txt b/tests/a11y/pickers.txt new file mode 100644 index 0000000000..c4335527e6 --- /dev/null +++ b/tests/a11y/pickers.txt @@ -0,0 +1,322 @@ +window1 + "window" + index: 0 + state: enabled resizable sensitive showing visible + toolkit: gail + + layer: window + alpha: 1 + grid1 + "panel" + parent: window1 + index: 0 + state: enabled horizontal sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + button4 + "filler" + parent: grid1 + index: 0 + state: enabled horizontal sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + (None) + "push button" + parent: button4 + index: 0 + name: (None) + state: enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: (None) + character count: 6 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + unnamed-GailComboBox-0 + "combo box" + parent: button4 + index: 1 + state: enabled sensitive + toolkit: gail + + layer: widget + alpha: 1 + + action 0 name: press + + selection count: 0 + unnamed-GailMenu-1 + "menu" + parent: unnamed-GailComboBox-0 + index: 0 + state: enabled selectable sensitive + toolkit: gail + + layer: popup + alpha: 1 + + selection count: 0 + unnamed-GailMenuItem-2 + "menu item" + parent: unnamed-GailMenu-1 + index: 0 + state: enabled selectable sensitive visible + toolkit: gail + + layer: popup + alpha: 1 + + text: (null) + character count: 0 + caret offset: 0 + + action 0 name: click + File System + "menu item" + parent: unnamed-GailMenu-1 + index: 1 + state: enabled selectable sensitive visible + toolkit: gail + + layer: popup + alpha: 1 + + text: File System + character count: 11 + caret offset: 0 + + action 0 name: click + 16 GB Encrypted + "menu item" + parent: unnamed-GailMenu-1 + index: 2 + state: enabled selectable sensitive visible + toolkit: gail + + layer: popup + alpha: 1 + + text: 16 GB Encrypted + character count: 15 + caret offset: 0 + + action 0 name: click + unnamed-GtkSeparatorMenuItemAccessible-3 + "separator" + parent: unnamed-GailMenu-1 + index: 3 + state: enabled selectable sensitive visible + toolkit: gail + + layer: widget + alpha: 1 + unnamed-GtkSeparatorMenuItemAccessible-4 + "separator" + parent: unnamed-GailMenu-1 + index: 4 + state: enabled selectable sensitive visible + toolkit: gail + + layer: widget + alpha: 1 + Other... + "menu item" + parent: unnamed-GailMenu-1 + index: 5 + state: enabled selectable sensitive visible + toolkit: gail + + layer: popup + alpha: 1 + + text: Other... + character count: 8 + caret offset: 0 + + action 0 name: click + button3 + "push button" + parent: grid1 + index: 1 + state: enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: (null) + character count: 0 + caret offset: 0 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + Sans + "label" + parent: button3 + index: 0 + name: Sans + state: enabled multi-line sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Sans + character count: 4 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + 12 + "label" + parent: button3 + index: 1 + name: 12 + state: enabled multi-line sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: 12 + character count: 2 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + button2 + "push button" + parent: grid1 + index: 2 + state: enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: (null) + character count: 0 + caret offset: 0 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + button1 + "combo box" + parent: grid1 + index: 3 + state: enabled sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + action 0 name: press + + selection count: 0 + unnamed-GailMenu-5 + "menu" + parent: button1 + index: 0 + state: enabled selectable sensitive + toolkit: gail + + layer: popup + alpha: 1 + + selection count: 0 diff --git a/tests/a11y/pickers.ui b/tests/a11y/pickers.ui new file mode 100644 index 0000000000..91b2cd19ad --- /dev/null +++ b/tests/a11y/pickers.ui @@ -0,0 +1,49 @@ + + + + + False + popup + + + True + + + True + + + 0 + 0 + + + + + True + + + 1 + 0 + + + + + True + + + 2 + 0 + + + + + True + + + 3 + 0 + + + + + + -- cgit v1.2.1