[gtk+/a11y] Add a GtkSpinner testcase



commit a2377da27a7d3789ae841b4a90beda0a8ec8cf77
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 21 23:37:30 2011 -0400

    Add a GtkSpinner testcase

 tests/a11y/Makefile.am |    3 ++-
 tests/a11y/spinner.txt |   22 ++++++++++++++++++++++
 tests/a11y/spinner.ui  |   14 ++++++++++++++
 3 files changed, 38 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index 2f4f4ab..62b86fc 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -38,4 +38,5 @@ EXTRA_DIST += \
 	expander.ui expander.txt \
 	assistant.ui assistant.txt \
 	pickers.ui pickers.txt \
-	lockbutton.ui lockbutton.txt
+	lockbutton.ui lockbutton.txt \
+	spinner.ui spinner.txt
diff --git a/tests/a11y/spinner.txt b/tests/a11y/spinner.txt
new file mode 100644
index 0000000..35a91b2
--- /dev/null
+++ b/tests/a11y/spinner.txt
@@ -0,0 +1,22 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  <AtkComponent>
+  layer: window
+  alpha: 1
+  spinner1
+    "unknown"
+    parent: window1
+    index: 0
+    name: Spinner
+    description: Provides visual indication of progress
+    state: enabled sensitive showing visible
+    toolkit: gail
+    <AtkComponent>
+    layer: widget
+    alpha: 1
+    <AtkImage>
+    image size: 12 x 12
+    image description: (null)
diff --git a/tests/a11y/spinner.ui b/tests/a11y/spinner.ui
new file mode 100644
index 0000000..3873564
--- /dev/null
+++ b/tests/a11y/spinner.ui
@@ -0,0 +1,14 @@
+<?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="GtkSpinner" id="spinner1">
+        <property name="visible">True</property>
+        <property name="active">True</property>
+      </object>
+    </child>
+  </object>
+</interface>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]