[gtk] Update a11y tests



commit 68560a941a0c995cc840e7a64f2c4ba670cac315
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon May 6 23:33:13 2019 +0000

    Update a11y tests

 testsuite/a11y/actionbar.ui         |  4 ----
 testsuite/a11y/buttons.txt          |  4 ++--
 testsuite/a11y/colorchooser.txt     | 12 ++++++------
 testsuite/a11y/combos.txt           |  6 +++---
 testsuite/a11y/entries.txt          | 10 +++++-----
 testsuite/a11y/expander.txt         |  2 +-
 testsuite/a11y/headerbar.ui         |  2 --
 testsuite/a11y/infobar.txt          |  2 +-
 testsuite/a11y/label.txt            |  2 +-
 testsuite/a11y/listbox.txt          |  6 +++---
 testsuite/a11y/messagedialog.txt    |  6 +++---
 testsuite/a11y/mnemonic.txt         |  2 +-
 testsuite/a11y/paned.txt            |  4 ++--
 testsuite/a11y/placeholder-text.txt |  6 +++---
 testsuite/a11y/tree.txt             | 12 ++++++------
 15 files changed, 37 insertions(+), 43 deletions(-)
---
diff --git a/testsuite/a11y/actionbar.ui b/testsuite/a11y/actionbar.ui
index dff152e4b0..d2f7885e89 100644
--- a/testsuite/a11y/actionbar.ui
+++ b/testsuite/a11y/actionbar.ui
@@ -7,25 +7,21 @@
           <object class="GtkButton" id="button1">
             <property name="label">Start 1</property>
           </object>
-          <packing/>
         </child>
         <child type="start">
           <object class="GtkButton" id="button2">
             <property name="label">Start 2</property>
           </object>
-          <packing/>
         </child>
         <child type="end">
           <object class="GtkButton" id="button3">
             <property name="label">End 1</property>
           </object>
-          <packing/>
         </child>
         <child type="end">
           <object class="GtkButton" id="button4">
             <property name="label">End 2</property>
           </object>
-          <packing/>
         </child>
         <child type="center">
           <object class="GtkButton" id="button5">
diff --git a/testsuite/a11y/buttons.txt b/testsuite/a11y/buttons.txt
index 30d0a3ff12..80a1da91b4 100644
--- a/testsuite/a11y/buttons.txt
+++ b/testsuite/a11y/buttons.txt
@@ -55,7 +55,7 @@ window1
       name: Hello World!
       member-of: button4
                  button3
-      state: checked enabled focusable sensitive showing visible
+      state: enabled focusable sensitive showing visible
       toolkit: gtk
       <AtkComponent>
       layer: widget
@@ -73,7 +73,7 @@ window1
       name: Hello World!
       member-of: button4
                  button3
-      state: enabled focusable sensitive showing visible
+      state: checked enabled focusable sensitive showing visible
       toolkit: gtk
       <AtkComponent>
       layer: widget
diff --git a/testsuite/a11y/colorchooser.txt b/testsuite/a11y/colorchooser.txt
index b509b61519..e8ed90ea87 100644
--- a/testsuite/a11y/colorchooser.txt
+++ b/testsuite/a11y/colorchooser.txt
@@ -687,7 +687,7 @@ window1
             <AtkText>
             text: Custom
             character count: 6
-            caret offset: 0
+            caret offset: -1
             default attributes: bg-color: <omitted>
                                 bg-full-height: 0
                                 direction: <omitted>
@@ -822,7 +822,7 @@ window1
                   <AtkText>
                   text: 
                   character count: 0
-                  caret offset: 0
+                  caret offset: -1
                   default attributes: bg-color: <omitted>
                                       bg-full-height: 0
                                       direction: <omitted>
@@ -920,7 +920,7 @@ window1
                     <AtkText>
                     text: S
                     character count: 1
-                    caret offset: 0
+                    caret offset: -1
                     default attributes: bg-color: <omitted>
                                         bg-full-height: 0
                                         direction: <omitted>
@@ -960,7 +960,7 @@ window1
                     <AtkText>
                     text: V
                     character count: 1
-                    caret offset: 0
+                    caret offset: -1
                     default attributes: bg-color: <omitted>
                                         bg-full-height: 0
                                         direction: <omitted>
@@ -1046,7 +1046,7 @@ window1
                     <AtkText>
                     text: H
                     character count: 1
-                    caret offset: 0
+                    caret offset: -1
                     default attributes: bg-color: <omitted>
                                         bg-full-height: 0
                                         direction: <omitted>
@@ -1118,7 +1118,7 @@ window1
                     <AtkText>
                     text: A
                     character count: 1
-                    caret offset: 0
+                    caret offset: -1
                     default attributes: bg-color: <omitted>
                                         bg-full-height: 0
                                         direction: <omitted>
diff --git a/testsuite/a11y/combos.txt b/testsuite/a11y/combos.txt
index 3d635149dc..875b4beb07 100644
--- a/testsuite/a11y/combos.txt
+++ b/testsuite/a11y/combos.txt
@@ -30,7 +30,7 @@ window1
       <AtkText>
       text: Combo:
       character count: 6
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -117,7 +117,7 @@ window1
         <AtkText>
         text: 
         character count: 0
-        caret offset: 0
+        caret offset: -1
         default attributes: bg-color: <omitted>
                             bg-full-height: 0
                             direction: <omitted>
@@ -204,7 +204,7 @@ window1
         <AtkText>
         text: 
         character count: 0
-        caret offset: 0
+        caret offset: -1
         default attributes: bg-color: <omitted>
                             bg-full-height: 0
                             direction: <omitted>
diff --git a/testsuite/a11y/entries.txt b/testsuite/a11y/entries.txt
index 342b557ec8..1e332697a4 100644
--- a/testsuite/a11y/entries.txt
+++ b/testsuite/a11y/entries.txt
@@ -30,7 +30,7 @@ window1
       <AtkText>
       text: entry:
       character count: 6
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -71,7 +71,7 @@ window1
       <AtkText>
       text: password entry:
       character count: 15
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -112,7 +112,7 @@ window1
       <AtkText>
       text: spinbutton:
       character count: 11
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -196,7 +196,7 @@ window1
       <AtkText>
       text: *************
       character count: 13
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -238,7 +238,7 @@ window1
       <AtkText>
       text: icons
       character count: 5
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
diff --git a/testsuite/a11y/expander.txt b/testsuite/a11y/expander.txt
index 5f6ac1ed38..863c4ea4f4 100644
--- a/testsuite/a11y/expander.txt
+++ b/testsuite/a11y/expander.txt
@@ -31,7 +31,7 @@ window1
       <AtkText>
       text: Hello World!
       character count: 12
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
diff --git a/testsuite/a11y/headerbar.ui b/testsuite/a11y/headerbar.ui
index 6f5cc630bc..2477de1355 100644
--- a/testsuite/a11y/headerbar.ui
+++ b/testsuite/a11y/headerbar.ui
@@ -9,13 +9,11 @@
           <object class="GtkButton" id="button1">
             <property name="label" translatable="yes">Yes</property>
           </object>
-          <packing/>
         </child>
         <child type="end">
           <object class="GtkButton" id="page2">
             <property name="label" translatable="yes">No</property>
           </object>
-          <packing/>
         </child>
       </object>
     </child>
diff --git a/testsuite/a11y/infobar.txt b/testsuite/a11y/infobar.txt
index fc63dadbd3..34758d6f2b 100644
--- a/testsuite/a11y/infobar.txt
+++ b/testsuite/a11y/infobar.txt
@@ -57,7 +57,7 @@ window1
             <AtkText>
             text: Some important info
             character count: 19
-            caret offset: 0
+            caret offset: -1
             default attributes: bg-color: <omitted>
                                 bg-full-height: 0
                                 direction: <omitted>
diff --git a/testsuite/a11y/label.txt b/testsuite/a11y/label.txt
index 2875ee2d14..8f3e2e74b5 100644
--- a/testsuite/a11y/label.txt
+++ b/testsuite/a11y/label.txt
@@ -20,7 +20,7 @@ window1
     <AtkText>
     text: Go to the GTK+ website or >google it
     character count: 36
-    caret offset: 0
+    caret offset: -1
     default attributes: bg-color: <omitted>
                         bg-full-height: 0
                         direction: <omitted>
diff --git a/testsuite/a11y/listbox.txt b/testsuite/a11y/listbox.txt
index 46c5abce48..ceeff350aa 100644
--- a/testsuite/a11y/listbox.txt
+++ b/testsuite/a11y/listbox.txt
@@ -48,7 +48,7 @@ window1
           <AtkText>
           text: Row One
           character count: 7
-          caret offset: 0
+          caret offset: -1
           default attributes: bg-color: <omitted>
                               bg-full-height: 0
                               direction: <omitted>
@@ -97,7 +97,7 @@ window1
           <AtkText>
           text: Row Two
           character count: 7
-          caret offset: 0
+          caret offset: -1
           default attributes: bg-color: <omitted>
                               bg-full-height: 0
                               direction: <omitted>
@@ -156,7 +156,7 @@ window1
           <AtkText>
           text: Row Tree
           character count: 8
-          caret offset: 0
+          caret offset: -1
           default attributes: bg-color: <omitted>
                               bg-full-height: 0
                               direction: <omitted>
diff --git a/testsuite/a11y/messagedialog.txt b/testsuite/a11y/messagedialog.txt
index e0bffc601b..0216d13dc6 100644
--- a/testsuite/a11y/messagedialog.txt
+++ b/testsuite/a11y/messagedialog.txt
@@ -30,7 +30,7 @@ window1
       <AtkText>
       text: 
       character count: 0
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -106,7 +106,7 @@ window1
             <AtkText>
             text: Information
             character count: 11
-            caret offset: 0
+            caret offset: -1
             default attributes: bg-color: <omitted>
                                 bg-full-height: 0
                                 direction: <omitted>
@@ -146,7 +146,7 @@ window1
             <AtkText>
             text: More Information
             character count: 16
-            caret offset: 0
+            caret offset: -1
             default attributes: bg-color: <omitted>
                                 bg-full-height: 0
                                 direction: <omitted>
diff --git a/testsuite/a11y/mnemonic.txt b/testsuite/a11y/mnemonic.txt
index cd95e32062..45906ef0eb 100644
--- a/testsuite/a11y/mnemonic.txt
+++ b/testsuite/a11y/mnemonic.txt
@@ -30,7 +30,7 @@ window1
       <AtkText>
       text: Entry:
       character count: 6
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
diff --git a/testsuite/a11y/paned.txt b/testsuite/a11y/paned.txt
index 5a71315868..b63e3098ed 100644
--- a/testsuite/a11y/paned.txt
+++ b/testsuite/a11y/paned.txt
@@ -33,7 +33,7 @@ window1
       <AtkText>
       text: Left
       character count: 4
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -73,7 +73,7 @@ window1
       <AtkText>
       text: Right
       character count: 5
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
diff --git a/testsuite/a11y/placeholder-text.txt b/testsuite/a11y/placeholder-text.txt
index b8d9cd2f3e..e24f5fb8d0 100644
--- a/testsuite/a11y/placeholder-text.txt
+++ b/testsuite/a11y/placeholder-text.txt
@@ -29,7 +29,7 @@ window1
       <AtkText>
       text: 
       character count: 0
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -71,7 +71,7 @@ window1
       <AtkText>
       text: Some text
       character count: 9
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
@@ -113,7 +113,7 @@ window1
       <AtkText>
       text: 
       character count: 0
-      caret offset: 0
+      caret offset: -1
       default attributes: bg-color: <omitted>
                           bg-full-height: 0
                           direction: <omitted>
diff --git a/testsuite/a11y/tree.txt b/testsuite/a11y/tree.txt
index 1ed8066958..99dec067c4 100644
--- a/testsuite/a11y/tree.txt
+++ b/testsuite/a11y/tree.txt
@@ -76,7 +76,7 @@ window1
         <AtkText>
         text: One
         character count: 3
-        caret offset: 0
+        caret offset: -1
         default attributes: bg-color: <omitted>
                             bg-full-height: 0
                             editable: false
@@ -125,7 +125,7 @@ window1
         <AtkText>
         text: 234
         character count: 3
-        caret offset: 0
+        caret offset: -1
         default attributes: bg-color: <omitted>
                             bg-full-height: 0
                             editable: false
@@ -195,7 +195,7 @@ window1
         <AtkText>
         text: Two
         character count: 3
-        caret offset: 0
+        caret offset: -1
         default attributes: bg-color: <omitted>
                             bg-full-height: 0
                             editable: false
@@ -245,7 +245,7 @@ window1
         <AtkText>
         text: 567
         character count: 3
-        caret offset: 0
+        caret offset: -1
         default attributes: bg-color: <omitted>
                             bg-full-height: 0
                             editable: false
@@ -316,7 +316,7 @@ window1
         <AtkText>
         text: 40.000
         character count: 6
-        caret offset: 0
+        caret offset: -1
         default attributes: bg-color: <omitted>
                             bg-full-height: 0
                             editable: false
@@ -366,7 +366,7 @@ window1
         <AtkText>
         text: 999999
         character count: 6
-        caret offset: 0
+        caret offset: -1
         default attributes: bg-color: <omitted>
                             bg-full-height: 0
                             editable: false


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