[gtk+/quartz-integration: 364/563] Add an assistant testcase
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/quartz-integration: 364/563] Add an assistant testcase
- Date: Sat, 9 Jul 2011 06:36:37 +0000 (UTC)
commit 4b6e86b81281d385954e79c2b17d796c3f129abb
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 21 20:18:04 2011 -0400
Add an assistant testcase
tests/a11y/Makefile.am | 3 +-
tests/a11y/assistant.txt | 405 ++++++++++++++++++++++++++++++++++++++++++++++
tests/a11y/assistant.ui | 28 ++++
3 files changed, 435 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index ad3ca0f..8c50ac6 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -38,4 +38,5 @@ EXTRA_DIST += \
fontchooser.ui fontchooser.txt \
messagedialog.ui messagedialog.txt \
printdialog.ui printdialog.txt \
- expander.ui expander.txt
+ expander.ui expander.txt \
+ assistant.ui assistant.txt
diff --git a/tests/a11y/assistant.txt b/tests/a11y/assistant.txt
new file mode 100644
index 0000000..8e24dba
--- /dev/null
+++ b/tests/a11y/assistant.txt
@@ -0,0 +1,405 @@
+window1
+ "window"
+ index: 0
+ state: enabled resizable sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: window
+ alpha: 1
+ button1
+ "push button"
+ index: 0
+ name: Page 1
+ state: enabled focusable sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Button 1
+ character count: 8
+ 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
+ button2
+ "push button"
+ index: 1
+ name: Page 2
+ state: enabled focusable sensitive visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Button 2
+ character count: 8
+ 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-GailBox-0
+ "filler"
+ parent: unnamed-GailBox-1
+ index: 1
+ state: enabled horizontal sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ Close
+ "push button"
+ parent: unnamed-GailBox-0
+ index: 0
+ name: Close
+ state: enabled focusable sensitive
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Close
+ character count: 5
+ 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: 20 x 20
+ image description: (null)
+ <AtkAction>
+ action 0 name: click
+ action 0 keybinding: <Alt>c
+ action 1 name: press
+ action 2 name: release
+ Cancel
+ "push button"
+ parent: unnamed-GailBox-0
+ index: 1
+ name: Cancel
+ state: enabled focusable sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Cancel
+ 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: 20 x 20
+ image description: (null)
+ <AtkAction>
+ action 0 name: click
+ action 0 keybinding: <Alt>c
+ action 1 name: press
+ action 2 name: release
+ Finish
+ "push button"
+ parent: unnamed-GailBox-0
+ index: 2
+ name: Finish
+ state: focusable
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Finish
+ 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 0 keybinding: <Alt>f
+ action 1 name: press
+ action 2 name: release
+ Go Back
+ "push button"
+ parent: unnamed-GailBox-0
+ index: 3
+ name: Go Back
+ state: enabled focusable sensitive
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Go Back
+ character count: 7
+ 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 0 keybinding: <Alt>b
+ action 1 name: press
+ action 2 name: release
+ Continue
+ "push button"
+ parent: unnamed-GailBox-0
+ index: 4
+ name: Continue
+ state: focusable showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Continue
+ character count: 8
+ 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: 20 x 20
+ image description: (null)
+ <AtkAction>
+ action 0 name: click
+ action 0 keybinding: <Alt>o
+ action 1 name: press
+ action 2 name: release
+ Apply
+ "push button"
+ parent: unnamed-GailBox-0
+ index: 5
+ name: Apply
+ state: enabled focusable sensitive
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Apply
+ character count: 5
+ 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: 20 x 20
+ image description: (null)
+ <AtkAction>
+ action 0 name: click
+ action 0 keybinding: <Alt>a
+ action 1 name: press
+ action 2 name: release
diff --git a/tests/a11y/assistant.ui b/tests/a11y/assistant.ui
new file mode 100644
index 0000000..aed2044
--- /dev/null
+++ b/tests/a11y/assistant.ui
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkAssistant" id="window1">
+ <property name="can_focus">False</property>
+ <property name="type">popup</property>
+ <child>
+ <object class="GtkButton" id="button1">
+ <property name="label" translatable="yes">Button 1</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="title" translatable="yes">Page 1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="button2">
+ <property name="label" translatable="yes">Button 2</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="title" translatable="yes">Page 2</property>
+ </packing>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]