[gtk+/a11y] iconview testcase



commit 03b4053eab387f93ed2da582d671a536e79b27b3
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 22 23:16:28 2011 -0400

    iconview testcase

 tests/a11y/Makefile.am  |    3 +-
 tests/a11y/iconview.txt |   91 +++++++++++++++++++++++++++++++++++++++++++++++
 tests/a11y/iconview.ui  |   33 +++++++++++++++++
 3 files changed, 126 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index 8983999..b430109 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -63,4 +63,5 @@ EXTRA_DIST += \
 	infobar.ui infobar.txt \
 	calendar.ui calendar.txt \
 	statusbar.ui statusbar.txt \
-	paned.ui paned.txt
+	paned.ui paned.txt \
+	iconview.ui iconview.txt
diff --git a/tests/a11y/iconview.txt b/tests/a11y/iconview.txt
new file mode 100644
index 0000000..1061995
--- /dev/null
+++ b/tests/a11y/iconview.txt
@@ -0,0 +1,91 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  <AtkComponent>
+  layer: window
+  alpha: 1
+  iv1
+    "layered pane"
+    parent: window1
+    index: 0
+    state: enabled focusable sensitive showing visible
+    toolkit: gail
+    <AtkComponent>
+    layer: widget
+    alpha: 1
+    <AtkSelection>
+    selection count: 0
+    One
+      "icon"
+      parent: iv1
+      index: 0
+      state: enabled focusable selectable sensitive showing visible
+      <AtkComponent>
+      layer: widget
+      alpha: 1
+      <AtkText>
+      text: One
+      character count: 3
+      caret offset: 0
+      <AtkImage>
+      image size: 0 x 0
+      image description: (null)
+      <AtkAction>
+      action 0 name: activate
+      action 0 description: Activate item
+    Three
+      "icon"
+      parent: iv1
+      index: 1
+      state: enabled focusable selectable sensitive showing visible
+      <AtkComponent>
+      layer: widget
+      alpha: 1
+      <AtkText>
+      text: Three
+      character count: 5
+      caret offset: 0
+      <AtkImage>
+      image size: 0 x 0
+      image description: (null)
+      <AtkAction>
+      action 0 name: activate
+      action 0 description: Activate item
+    Five
+      "icon"
+      parent: iv1
+      index: 2
+      state: enabled focusable selectable sensitive showing visible
+      <AtkComponent>
+      layer: widget
+      alpha: 1
+      <AtkText>
+      text: Five
+      character count: 4
+      caret offset: 0
+      <AtkImage>
+      image size: 0 x 0
+      image description: (null)
+      <AtkAction>
+      action 0 name: activate
+      action 0 description: Activate item
+    Seven
+      "icon"
+      parent: iv1
+      index: 3
+      state: enabled focusable selectable sensitive showing visible
+      <AtkComponent>
+      layer: widget
+      alpha: 1
+      <AtkText>
+      text: Seven
+      character count: 5
+      caret offset: 0
+      <AtkImage>
+      image size: 0 x 0
+      image description: (null)
+      <AtkAction>
+      action 0 name: activate
+      action 0 description: Activate item
diff --git a/tests/a11y/iconview.ui b/tests/a11y/iconview.ui
new file mode 100644
index 0000000..ba5d89c
--- /dev/null
+++ b/tests/a11y/iconview.ui
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkListStore" id="liststore1">
+    <columns>
+      <column type="gchararray"/>
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row><col id="0">One</col><col id="1">Two</col></row>
+      <row><col id="0">Three</col><col id="1">Four</col></row>
+      <row><col id="0">Five</col><col id="1">Six</col></row>
+      <row><col id="0">Seven</col><col id="1">Eight</col></row>
+    </data>
+  </object>
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkIconView" id="iv1">
+        <property name="visible">True</property>
+        <property name="model">liststore1</property>
+        <child>
+          <object class="GtkCellRendererText" id="renderer1">
+          </object>
+          <attributes>
+            <attribute name="text">0</attribute>
+          </attributes>
+        </child>
+      </object>
+    </child>
+  </object>
+</interface>



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