diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-06-21 23:31:34 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-07-05 16:08:05 -0400 |
commit | 3cc413e84f0842af829244f58dacae3d52cea916 (patch) | |
tree | aa78e01794381e60c8ba1e2bde24922e1cb9abb2 | |
parent | 4573659debe203e2bdf9655c85f4b00933e78904 (diff) | |
download | gtk+-3cc413e84f0842af829244f58dacae3d52cea916.tar.gz |
Add a testcase for all the pickers
-rw-r--r-- | tests/a11y/Makefile.am | 3 | ||||
-rw-r--r-- | tests/a11y/pickers.txt | 322 | ||||
-rw-r--r-- | tests/a11y/pickers.ui | 49 |
3 files changed, 373 insertions, 1 deletions
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 + <AtkComponent> + layer: window + alpha: 1 + grid1 + "panel" + parent: window1 + index: 0 + state: enabled horizontal sensitive showing visible + toolkit: gail + <AtkComponent> + layer: widget + alpha: 1 + button4 + "filler" + parent: grid1 + index: 0 + state: enabled horizontal sensitive showing visible + toolkit: gail + <AtkComponent> + layer: widget + alpha: 1 + (None) + "push button" + parent: button4 + index: 0 + name: (None) + state: enabled focusable sensitive showing visible + toolkit: gail + <AtkComponent> + layer: widget + alpha: 1 + <AtkText> + 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: <omitted> + bg-color: <omitted> + wrap-mode: word + justification: left + size: <omitted> + weight: <omitted> + family-name: <omitted> + stretch: <omitted> + variant: <omitted> + style: <omitted> + language: <omitted> + direction: <omitted> + <AtkImage> + image size: -1 x -1 + image description: (null) + <AtkAction> + 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 + <AtkComponent> + layer: widget + alpha: 1 + <AtkAction> + action 0 name: press + <AtkSelection> + selection count: 0 + unnamed-GailMenu-1 + "menu" + parent: unnamed-GailComboBox-0 + index: 0 + state: enabled selectable sensitive + toolkit: gail + <AtkComponent> + layer: popup + alpha: 1 + <AtkSelection> + selection count: 0 + unnamed-GailMenuItem-2 + "menu item" + parent: unnamed-GailMenu-1 + index: 0 + state: enabled selectable sensitive visible + toolkit: gail + <AtkComponent> + layer: popup + alpha: 1 + <AtkText> + text: (null) + character count: 0 + caret offset: 0 + <AtkAction> + action 0 name: click + File System + "menu item" + parent: unnamed-GailMenu-1 + index: 1 + state: enabled selectable sensitive visible + toolkit: gail + <AtkComponent> + layer: popup + alpha: 1 + <AtkText> + text: File System + character count: 11 + caret offset: 0 + <AtkAction> + action 0 name: click + 16 GB Encrypted + "menu item" + parent: unnamed-GailMenu-1 + index: 2 + state: enabled selectable sensitive visible + toolkit: gail + <AtkComponent> + layer: popup + alpha: 1 + <AtkText> + text: 16 GB Encrypted + character count: 15 + caret offset: 0 + <AtkAction> + action 0 name: click + unnamed-GtkSeparatorMenuItemAccessible-3 + "separator" + parent: unnamed-GailMenu-1 + index: 3 + state: enabled selectable sensitive visible + toolkit: gail + <AtkComponent> + layer: widget + alpha: 1 + unnamed-GtkSeparatorMenuItemAccessible-4 + "separator" + parent: unnamed-GailMenu-1 + index: 4 + state: enabled selectable sensitive visible + toolkit: gail + <AtkComponent> + layer: widget + alpha: 1 + Other... + "menu item" + parent: unnamed-GailMenu-1 + index: 5 + state: enabled selectable sensitive visible + toolkit: gail + <AtkComponent> + layer: popup + alpha: 1 + <AtkText> + text: Other... + character count: 8 + caret offset: 0 + <AtkAction> + action 0 name: click + button3 + "push button" + parent: grid1 + index: 1 + state: enabled focusable sensitive showing visible + toolkit: gail + <AtkComponent> + layer: widget + alpha: 1 + <AtkText> + text: (null) + character count: 0 + caret offset: 0 + <AtkImage> + image size: -1 x -1 + image description: (null) + <AtkAction> + 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 + <AtkComponent> + layer: widget + alpha: 1 + <AtkText> + 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: <omitted> + bg-color: <omitted> + wrap-mode: word + justification: left + size: <omitted> + weight: <omitted> + family-name: <omitted> + stretch: <omitted> + variant: <omitted> + style: <omitted> + language: <omitted> + direction: <omitted> + 12 + "label" + parent: button3 + index: 1 + name: 12 + state: enabled multi-line sensitive showing visible + toolkit: gail + <AtkComponent> + layer: widget + alpha: 1 + <AtkText> + 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: <omitted> + bg-color: <omitted> + wrap-mode: word + justification: left + size: <omitted> + weight: <omitted> + family-name: <omitted> + stretch: <omitted> + variant: <omitted> + style: <omitted> + language: <omitted> + direction: <omitted> + button2 + "push button" + parent: grid1 + index: 2 + state: enabled focusable sensitive showing visible + toolkit: gail + <AtkComponent> + layer: widget + alpha: 1 + <AtkText> + text: (null) + character count: 0 + caret offset: 0 + <AtkImage> + image size: -1 x -1 + image description: (null) + <AtkAction> + 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 + <AtkComponent> + layer: widget + alpha: 1 + <AtkAction> + action 0 name: press + <AtkSelection> + selection count: 0 + unnamed-GailMenu-5 + "menu" + parent: button1 + index: 0 + state: enabled selectable sensitive + toolkit: gail + <AtkComponent> + layer: popup + alpha: 1 + <AtkSelection> + 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkWindow" id="window1"> + <property name="can_focus">False</property> + <property name="type">popup</property> + <child> + <object class="GtkGrid" id="grid1"> + <property name="visible">True</property> + <child> + <object class="GtkAppChooserButton" id="button1"> + <property name="visible">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkColorButton" id="button2"> + <property name="visible">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkFontButton" id="button3"> + <property name="visible">True</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkFileChooserButton" id="button4"> + <property name="visible">True</property> + </object> + <packing> + <property name="left_attach">3</property> + <property name="top_attach">0</property> + </packing> + </child> + </object> + </child> + </object> +</interface> |