[gtk+/a11y] Add a testcase involving an expander
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/a11y] Add a testcase involving an expander
- Date: Wed, 22 Jun 2011 00:18:31 +0000 (UTC)
commit 015841c16eb65fbd3b1064d1384664499a6f970f
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 21 20:12:37 2011 -0400
Add a testcase involving an expander
tests/a11y/Makefile.am | 3 +-
tests/a11y/expander.txt | 92 +++++++++++++++++++++++++++++++++++++++++++++++
tests/a11y/expander.ui | 20 ++++++++++
3 files changed, 114 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index 2538c58..ad3ca0f 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -37,4 +37,5 @@ EXTRA_DIST += \
appchooser.ui appchooser.txt \
fontchooser.ui fontchooser.txt \
messagedialog.ui messagedialog.txt \
- printdialog.ui printdialog.txt
+ printdialog.ui printdialog.txt \
+ expander.ui expander.txt
diff --git a/tests/a11y/expander.txt b/tests/a11y/expander.txt
new file mode 100644
index 0000000..0805bc6
--- /dev/null
+++ b/tests/a11y/expander.txt
@@ -0,0 +1,92 @@
+window1
+ "window"
+ index: 0
+ state: enabled resizable sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: window
+ alpha: 1
+ expander1
+ "toggle button"
+ parent: window1
+ index: 0
+ name: Reveal this
+ state: enabled expandable focusable sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Reveal this
+ character count: 11
+ 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>
+ <AtkAction>
+ action 0 name: activate
+ label1
+ "label"
+ parent: expander1
+ index: 0
+ name: Hello World!
+ state: enabled multi-line sensitive visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Hello World!
+ character count: 12
+ 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>
diff --git a/tests/a11y/expander.ui b/tests/a11y/expander.ui
new file mode 100644
index 0000000..a0baf67
--- /dev/null
+++ b/tests/a11y/expander.ui
@@ -0,0 +1,20 @@
+<?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="GtkExpander" id="expander1">
+ <property name="label" translatable="yes">Reveal this</property>
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="label" translatable="yes">Hello World!</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]