[gtk+] Add a test involving ranges



commit 0740876d0ecc9eb26185c56afd461ba02c8ccff3
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 19 17:58:57 2011 -0400

    Add a test involving ranges

 tests/a11y/Makefile.am |    3 ++-
 tests/a11y/range.txt   |   20 ++++++++++++++++++++
 tests/a11y/range.ui    |   23 +++++++++++++++++++++++
 3 files changed, 45 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index 0a07f19..9f9f81f 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -25,4 +25,5 @@ EXTRA_DIST += \
 	hello-world.ui hello-world.txt \
 	mnemonic.ui mnemonic.txt \
 	accessible-name.ui accessible-name.txt \
-	notebook.ui notebook.txt
+	notebook.ui notebook.txt \
+	range.ui range.txt
diff --git a/tests/a11y/range.txt b/tests/a11y/range.txt
new file mode 100644
index 0000000..9e5de7d
--- /dev/null
+++ b/tests/a11y/range.txt
@@ -0,0 +1,20 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  scale1
+    "slider"
+    parent: window1
+    index: 0
+    state: enabled focusable horizontal sensitive showing visible
+    toolkit: gail
+    text: ?45.5
+    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>
+    action 0 name: activate
+    minimum value: 0.5
+    maximum value: 99.5
+    current value: 45.5
+    minimum increment: 0.5
diff --git a/tests/a11y/range.ui b/tests/a11y/range.ui
new file mode 100644
index 0000000..21dee12
--- /dev/null
+++ b/tests/a11y/range.ui
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkAdjustment" id="adjustment1">
+    <property name="lower">0.5</property>
+    <property name="upper">99.5</property>
+    <property name="page-size">0</property>
+    <property name="value">45.5</property>
+    <property name="step-increment">0.5</property>
+    <property name="page-increment">5.0</property>
+  </object>
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkScale" id="scale1">
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="adjustment">adjustment1</property>
+      </object>
+    </child>
+  </object>
+</interface>



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