[orca] Bring gtk-demo tests up to date.



commit 87f0a90483e407dee44636bbe5bf30ba82a366fc
Author: Willie Walker <william walker sun com>
Date:   Fri Dec 18 13:09:45 2009 -0500

    Bring gtk-demo tests up to date.

 test/keystrokes/gtk-demo/role_radio_button.py      |    3 ++-
 .../keystrokes/gtk-demo/role_tear_off_menu_item.py |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/test/keystrokes/gtk-demo/role_radio_button.py b/test/keystrokes/gtk-demo/role_radio_button.py
index c4cfda5..da6972e 100644
--- a/test/keystrokes/gtk-demo/role_radio_button.py
+++ b/test/keystrokes/gtk-demo/role_radio_button.py
@@ -45,7 +45,8 @@ sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "All Pages radio button Where Am I",
-    ["BRAILLE LINE:  'gtk-demo Application Print Dialog TabList General Page Range &=y All Pages RadioButton'",
+    ["KNOWN ISSUE - we say 'of 4' instead of 'of 3' due to bug https://bugzilla.gnome.org/show_bug.cgi?id=594152.";,
+     "BRAILLE LINE:  'gtk-demo Application Print Dialog TabList General Page Range &=y All Pages RadioButton'",
      "     VISIBLE:  '&=y All Pages RadioButton', cursor=1",
      "SPEECH OUTPUT: 'Range All Pages radio button selected 1 of 3.'",
      "SPEECH OUTPUT: 'Alt a'"]))
diff --git a/test/keystrokes/gtk-demo/role_tear_off_menu_item.py b/test/keystrokes/gtk-demo/role_tear_off_menu_item.py
index 35e54db..1bf1ebf 100644
--- a/test/keystrokes/gtk-demo/role_tear_off_menu_item.py
+++ b/test/keystrokes/gtk-demo/role_tear_off_menu_item.py
@@ -40,7 +40,7 @@ sequence.append(KeyComboAction("Up"))
 sequence.append(WaitForFocus(acc_role=pyatspi.ROLE_TEAROFF_MENU_ITEM))
 sequence.append(utils.AssertPresentationAction(
     "Tear off menu item",
-    ["BRAILLE LINE:  'gtk-demo Application menus Frame MenuBar TearOffMenuItem'",
+    ["BRAILLE LINE:  'gtk-demo Application Menus Frame MenuBar TearOffMenuItem'",
      "     VISIBLE:  'TearOffMenuItem', cursor=1",
      "SPEECH OUTPUT: 'tear off menu item'"]))
 
@@ -52,7 +52,7 @@ sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "Tear off menu item Where Am I",
-    ["BRAILLE LINE:  'gtk-demo Application menus Frame MenuBar TearOffMenuItem'",
+    ["BRAILLE LINE:  'gtk-demo Application Menus Frame MenuBar TearOffMenuItem'",
      "     VISIBLE:  'TearOffMenuItem', cursor=1",
      "SPEECH OUTPUT: 'tear off menu item'"]))
 



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