[gtk/stack-fixes: 3/5] a11y tests: Adapt to changes



commit c20e58df66b3dce4b69a2442af7aad1a63c8d585
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 9 22:47:13 2019 -0500

    a11y tests: Adapt to changes
    
    The buttons in the stack switcher are now toggle buttons, no
    longer radio buttons. Update expected output for that.

 testsuite/a11y/about.txt | 32 ++++++++------------------------
 testsuite/a11y/stack.txt | 12 ++++--------
 2 files changed, 12 insertions(+), 32 deletions(-)
---
diff --git a/testsuite/a11y/about.txt b/testsuite/a11y/about.txt
index 5dd586cc95..fdb3ab1e2c 100644
--- a/testsuite/a11y/about.txt
+++ b/testsuite/a11y/about.txt
@@ -370,15 +370,11 @@ See the GNU General Public License, version 3 or later for details.
       <AtkComponent>
       layer: widget
       alpha: 1
-      unnamed-GtkRadioButtonAccessible-2
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-2
+        "toggle button"
         parent: stack_switcher
         index: 0
         name: About
-        member-of: unnamed-GtkRadioButtonAccessible-3
-                   unnamed-GtkRadioButtonAccessible-4
-                   unnamed-GtkRadioButtonAccessible-5
-                   unnamed-GtkRadioButtonAccessible-2
         state: checked enabled focusable sensitive visible
         toolkit: gtk
         <AtkComponent>
@@ -390,15 +386,11 @@ See the GNU General Public License, version 3 or later for details.
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-      unnamed-GtkRadioButtonAccessible-5
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-3
+        "toggle button"
         parent: stack_switcher
         index: 1
         name: Credits
-        member-of: unnamed-GtkRadioButtonAccessible-3
-                   unnamed-GtkRadioButtonAccessible-4
-                   unnamed-GtkRadioButtonAccessible-5
-                   unnamed-GtkRadioButtonAccessible-2
         state: enabled focusable sensitive
         toolkit: gtk
         <AtkComponent>
@@ -410,15 +402,11 @@ See the GNU General Public License, version 3 or later for details.
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-      unnamed-GtkRadioButtonAccessible-4
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-4
+        "toggle button"
         parent: stack_switcher
         index: 2
         name: License
-        member-of: unnamed-GtkRadioButtonAccessible-3
-                   unnamed-GtkRadioButtonAccessible-4
-                   unnamed-GtkRadioButtonAccessible-5
-                   unnamed-GtkRadioButtonAccessible-2
         state: enabled focusable sensitive
         toolkit: gtk
         <AtkComponent>
@@ -430,15 +418,11 @@ See the GNU General Public License, version 3 or later for details.
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-      unnamed-GtkRadioButtonAccessible-3
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-5
+        "toggle button"
         parent: stack_switcher
         index: 3
         name: System
-        member-of: unnamed-GtkRadioButtonAccessible-3
-                   unnamed-GtkRadioButtonAccessible-4
-                   unnamed-GtkRadioButtonAccessible-5
-                   unnamed-GtkRadioButtonAccessible-2
         state: enabled focusable sensitive
         toolkit: gtk
         <AtkComponent>
diff --git a/testsuite/a11y/stack.txt b/testsuite/a11y/stack.txt
index 5a82eea477..bb07325586 100644
--- a/testsuite/a11y/stack.txt
+++ b/testsuite/a11y/stack.txt
@@ -25,13 +25,11 @@ window1
       <AtkComponent>
       layer: widget
       alpha: 1
-      unnamed-GtkRadioButtonAccessible-0
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-0
+        "toggle button"
         parent: stackswitcher1
         index: 0
         name: Page 1
-        member-of: unnamed-GtkRadioButtonAccessible-1
-                   unnamed-GtkRadioButtonAccessible-0
         state: checked enabled focusable sensitive showing visible
         toolkit: gtk
         <AtkComponent>
@@ -43,13 +41,11 @@ window1
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-      unnamed-GtkRadioButtonAccessible-1
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-1
+        "toggle button"
         parent: stackswitcher1
         index: 1
         name: Page 2
-        member-of: unnamed-GtkRadioButtonAccessible-1
-                   unnamed-GtkRadioButtonAccessible-0
         state: enabled focusable sensitive showing visible
         toolkit: gtk
         <AtkComponent>


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