orca r3701 - in trunk: . test/harness test/keystrokes/gtk-demo



Author: richb
Date: Fri Mar  7 21:56:36 2008
New Revision: 3701
URL: http://svn.gnome.org/viewvc/orca?rev=3701&view=rev

Log:
        * test/harness/utils.py:
          test/keystrokes/gtk-demo/role_radio_button.py:
          Fix for bug #519553 - gtk-demo/role_radio_button.py regression 
          test #3 produces the wrong results.


Modified:
   trunk/ChangeLog
   trunk/test/harness/utils.py
   trunk/test/keystrokes/gtk-demo/role_radio_button.py

Modified: trunk/test/harness/utils.py
==============================================================================
--- trunk/test/harness/utils.py	(original)
+++ trunk/test/harness/utils.py	Fri Mar  7 21:56:36 2008
@@ -124,11 +124,11 @@
             expectedToFail = False
             if isinstance(self._expectedResults, [].__class__):
                 for result in self._expectedResults:
-                    if result.startswith("BUG?"):
+                    if result.startswith("KNOWN ISSUE"):
                         expectedToFail = True
                     print >> myErr, '     "%s",' % result
             else:
-                if self._expectedResults.startswith("BUG?"):
+                if self._expectedResults.startswith("KNOWN ISSUE"):
                     expectedToFail = True
                 print >> myErr, '     "%s"' % self._expectedResults
             print >> myErr, "ACTUAL:"
@@ -140,7 +140,7 @@
             if expectedToFail:
                 AssertPresentationAction.totalExpectedToFail += 1
                 print >> myErr, '[FAILURE WAS EXPECTED - ' \
-                                'LOOK FOR BUG? IN EXPECTED RESULTS]'
+                                'LOOK FOR KNOWN ISSUE IN EXPECTED RESULTS]'
             else:
                 print >> myErr, '[FAILURE WAS UNEXPECTED]'
 

Modified: trunk/test/keystrokes/gtk-demo/role_radio_button.py
==============================================================================
--- trunk/test/keystrokes/gtk-demo/role_radio_button.py	(original)
+++ trunk/test/keystrokes/gtk-demo/role_radio_button.py	Fri Mar  7 21:56:36 2008
@@ -70,7 +70,7 @@
 sequence.append(WaitForFocus("Range", acc_role=pyatspi.ROLE_RADIO_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "Range radio button",
-    ["BUG? - the radio button should be presented as selected.",
+    ["KNOWN ISSUE - the radio button should be presented as selected.",
      "BRAILLE LINE:  'gtk-demo Application Print Dialog TabList General Page Print Pages Filler & y Range RadioButton'",
      "     VISIBLE:  '& y Range RadioButton', cursor=1",
      "SPEECH OUTPUT: ''",
@@ -100,7 +100,7 @@
 sequence.append(WaitForFocus("All", acc_role=pyatspi.ROLE_RADIO_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "All radio button",
-    ["BUG? - the radio button should be presented as selected.",
+    ["KNOWN ISSUE - the radio button should be presented as selected.",
      "BRAILLE LINE:  'gtk-demo Application Print Dialog TabList General Page Print Pages Filler & y All RadioButton'",
      "     VISIBLE:  '& y All RadioButton', cursor=1",
      "SPEECH OUTPUT: ''",



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