[gtk+/a11y] Add a testcase for all the pickers
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/a11y] Add a testcase for all the pickers
- Date: Wed, 22 Jun 2011 03:32:09 +0000 (UTC)
commit b0904080d83b6aa225cfa6ceeabfb105434f824d
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 21 23:31:34 2011 -0400
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 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index c4c13a8..1b38420 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 0000000..c433552
--- /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 0000000..91b2cd1
--- /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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]