[gtk+] Adjust the a11y testsuite to match expected output



commit 99421916e641a21e5c50535110d1226830b47ce8
Author: William Jon McCann <william jon mccann gmail com>
Date:   Tue Jun 25 11:18:05 2013 -0400

    Adjust the a11y testsuite to match expected output

 testsuite/a11y/about.txt        |    2 +-
 testsuite/a11y/assistant.txt    |   12 ++++++------
 testsuite/a11y/colorchooser.txt |    4 ++--
 testsuite/a11y/menus.txt        |    4 ++--
 testsuite/a11y/menus.ui         |   11 ++---------
 testsuite/a11y/notebook.txt     |    6 ++----
 6 files changed, 15 insertions(+), 24 deletions(-)
---
diff --git a/testsuite/a11y/about.txt b/testsuite/a11y/about.txt
index d0fb340..6e42ed5 100644
--- a/testsuite/a11y/about.txt
+++ b/testsuite/a11y/about.txt
@@ -489,7 +489,7 @@ for details, visit http://www.gnu.org/licenses/gpl.html
         layer: widget
         alpha: 1
         <AtkImage>
-        image size: 20 x 20
+        image size: -1 x -1
         image description: (null)
         <AtkAction>
         action 0 name: click
diff --git a/testsuite/a11y/assistant.txt b/testsuite/a11y/assistant.txt
index 13df1ef..53bb37b 100644
--- a/testsuite/a11y/assistant.txt
+++ b/testsuite/a11y/assistant.txt
@@ -56,7 +56,7 @@ window1
       layer: widget
       alpha: 1
       <AtkImage>
-      image size: 20 x 20
+      image size: -1 x -1
       image description: (null)
       <AtkAction>
       action 0 name: click
@@ -73,7 +73,7 @@ window1
       layer: widget
       alpha: 1
       <AtkImage>
-      image size: 20 x 20
+      image size: -1 x -1
       image description: (null)
       <AtkAction>
       action 0 name: click
@@ -90,7 +90,7 @@ window1
       layer: widget
       alpha: 1
       <AtkImage>
-      image size: 20 x 20
+      image size: -1 x -1
       image description: (null)
       <AtkAction>
       action 0 name: click
@@ -107,7 +107,7 @@ window1
       layer: widget
       alpha: 1
       <AtkImage>
-      image size: 20 x 20
+      image size: -1 x -1
       image description: (null)
       <AtkAction>
       action 0 name: click
@@ -124,7 +124,7 @@ window1
       layer: widget
       alpha: 1
       <AtkImage>
-      image size: 20 x 20
+      image size: -1 x -1
       image description: (null)
       <AtkAction>
       action 0 name: click
@@ -141,7 +141,7 @@ window1
       layer: widget
       alpha: 1
       <AtkImage>
-      image size: 20 x 20
+      image size: -1 x -1
       image description: (null)
       <AtkAction>
       action 0 name: click
diff --git a/testsuite/a11y/colorchooser.txt b/testsuite/a11y/colorchooser.txt
index 1db200d..aaa9349 100644
--- a/testsuite/a11y/colorchooser.txt
+++ b/testsuite/a11y/colorchooser.txt
@@ -1331,7 +1331,7 @@ window1
         layer: widget
         alpha: 1
         <AtkImage>
-        image size: 20 x 20
+        image size: -1 x -1
         image description: (null)
         <AtkAction>
         action 0 name: click
@@ -1365,7 +1365,7 @@ window1
         layer: widget
         alpha: 1
         <AtkImage>
-        image size: 20 x 20
+        image size: -1 x -1
         image description: (null)
         <AtkAction>
         action 0 name: click
diff --git a/testsuite/a11y/menus.txt b/testsuite/a11y/menus.txt
index 7681245..c901c29 100644
--- a/testsuite/a11y/menus.txt
+++ b/testsuite/a11y/menus.txt
@@ -31,7 +31,7 @@ window1
       action 0 description: Clicks the menuitem
       action 0 keybinding: <Alt>f;<Alt>f;
       <AtkSelection>
-      imagemenuitem1
+      menuitema1
         "menu item"
         parent: menuitem1
         index: 0
@@ -46,7 +46,7 @@ window1
         action 0 description: Clicks the menuitem
         action 0 keybinding: n;<Alt>f:n;
         <AtkSelection>
-      imagemenuitem2
+      menuitema2
         "menu item"
         parent: menuitem1
         index: 1
diff --git a/testsuite/a11y/menus.ui b/testsuite/a11y/menus.ui
index d641a67..3445b72 100644
--- a/testsuite/a11y/menus.ui
+++ b/testsuite/a11y/menus.ui
@@ -1,12 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
-  <object class="GtkImage" id="image1">
-    <property name="visible">True</property>
-    <property name="can_focus">False</property>
-    <property name="icon-name">go-up</property>
-    <property name="icon-size">5</property>
-  </object>
   <object class="GtkWindow" id="window1">
     <property name="can_focus">False</property>
     <child>
@@ -25,7 +19,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <child>
-                  <object class="GtkMenuItem" id="imagemenuitem1">
+                  <object class="GtkMenuItem" id="menuitema1">
                     <property name="label" translatable="yes">_New</property>
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
@@ -34,12 +28,11 @@
                   </object>
                 </child>
                 <child>
-                  <object class="GtkMenuItem" id="imagemenuitem2">
+                  <object class="GtkMenuItem" id="menuitema2">
                     <property name="label" translatable="yes">bla</property>
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="use_action_appearance">False</property>
-                    <property name="image">image1</property>
                   </object>
                 </child>
                 <child>
diff --git a/testsuite/a11y/notebook.txt b/testsuite/a11y/notebook.txt
index cc9e5ff..fd805c9 100644
--- a/testsuite/a11y/notebook.txt
+++ b/testsuite/a11y/notebook.txt
@@ -36,12 +36,11 @@ window1
         layer: widget
         alpha: 1
         <AtkImage>
-        image size: 20 x 20
+        image size: -1 x -1
         image description: (null)
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-        action 0 keybinding: <Alt>y
     unnamed-GtkNotebookPageAccessible-1
       "page tab"
       parent: notebook1
@@ -61,9 +60,8 @@ window1
         layer: widget
         alpha: 1
         <AtkImage>
-        image size: 20 x 20
+        image size: -1 x -1
         image description: (null)
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-        action 0 keybinding: <Alt>n


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