[gtk+/quartz-integration: 327/563] Add a test involving a selection
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/quartz-integration: 327/563] Add a test involving a selection
- Date: Sat, 9 Jul 2011 06:33:31 +0000 (UTC)
commit feffe14936d8c4568982733f1ce0cb051a937b6a
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 19 17:19:34 2011 -0400
Add a test involving a selection
tests/a11y/Makefile.am | 3 +-
tests/a11y/notebook.txt | 65 +++++++++++++++++++++++++++++++++++++++++++++++
tests/a11y/notebook.ui | 39 ++++++++++++++++++++++++++++
3 files changed, 106 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index 2e28701..0a07f19 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -24,4 +24,5 @@ accessibility_dump_SOURCES = \
EXTRA_DIST += \
hello-world.ui hello-world.txt \
mnemonic.ui mnemonic.txt \
- accessible-name.ui accessible-name.txt
+ accessible-name.ui accessible-name.txt \
+ notebook.ui notebook.txt
diff --git a/tests/a11y/notebook.txt b/tests/a11y/notebook.txt
new file mode 100644
index 0000000..8559e4d
--- /dev/null
+++ b/tests/a11y/notebook.txt
@@ -0,0 +1,65 @@
+window1
+ "window"
+ index: 0
+ state: enabled resizable sensitive showing visible
+ toolkit: gail
+ notebook1
+ "page tab list"
+ parent: window1
+ index: 0
+ state: enabled focusable sensitive showing visible
+ toolkit: gail
+ selection count: 1
+ selected children: 0
+ Tab 1
+ "page tab"
+ parent: notebook1
+ index: 0
+ name: Tab 1
+ state: enabled multi-line selectable selected sensitive showing visible
+ text: Tab 1
+ 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:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+ page1
+ "push button"
+ index: 0
+ name: Yes
+ state: enabled focusable sensitive showing visible
+ toolkit: gail
+ text: Yes
+ character count: 3
+ 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:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+ image size: 20 x 20
+ image description: (null)
+ action 0 name: click
+ action 0 keybinding: <Alt>y
+ action 1 name: press
+ action 2 name: release
+ Tab 2
+ "page tab"
+ parent: notebook1
+ index: 1
+ name: Tab 2
+ state: enabled multi-line selectable sensitive showing visible
+ text: Tab 2
+ 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:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+ page2
+ "push button"
+ index: 1
+ name: No
+ state: enabled focusable sensitive visible
+ toolkit: gail
+ text: No
+ 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:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+ image size: 20 x 20
+ image description: (null)
+ action 0 name: click
+ action 0 keybinding: <Alt>n
+ action 1 name: press
+ action 2 name: release
diff --git a/tests/a11y/notebook.ui b/tests/a11y/notebook.ui
new file mode 100644
index 0000000..95d1328
--- /dev/null
+++ b/tests/a11y/notebook.ui
@@ -0,0 +1,39 @@
+<?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="GtkNotebook" id="notebook1">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkButton" id="page1">
+ <property name="label">gtk-yes</property>
+ <property name="use_stock">True</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="tab1">
+ <property name="label" translatable="yes">Tab 1</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="page2">
+ <property name="label">gtk-no</property>
+ <property name="use_stock">True</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="tab2">
+ <property name="label" translatable="yes">Tab 2</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]