[orca] Updated Java regression tests.



commit 4eb29a956a88ac2e5dc083894332f694412b1733
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Sun Jul 18 12:02:39 2010 -0400

    Updated Java regression tests.

 test/keystrokes/java/role_dialog.py      |    2 +-
 test/keystrokes/java/role_push_button.py |   14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/test/keystrokes/java/role_dialog.py b/test/keystrokes/java/role_dialog.py
index e852eb6..40aa47d 100644
--- a/test/keystrokes/java/role_dialog.py
+++ b/test/keystrokes/java/role_dialog.py
@@ -71,7 +71,7 @@ sequence.append(utils.AssertPresentationAction(
     ["BRAILLE LINE:  'SwingSet2 Application Input Dialog'",
      "     VISIBLE:  'Input Dialog', cursor=1",
      "BRAILLE LINE:  ' $l'",
-     "     VISIBLE:  ' $l', cursor=1",
+     "     VISIBLE:  ' $l', cursor=0",
      "SPEECH OUTPUT: 'Input What is your favorite movie?'",
      "SPEECH OUTPUT: 'text '"]))
 
diff --git a/test/keystrokes/java/role_push_button.py b/test/keystrokes/java/role_push_button.py
index ab13f54..a418369 100644
--- a/test/keystrokes/java/role_push_button.py
+++ b/test/keystrokes/java/role_push_button.py
@@ -68,7 +68,7 @@ sequence.append(KeyComboAction("Tab"))
 sequence.append(WaitForFocus("One ", acc_role=pyatspi.ROLE_PUSH_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "1. Move to One button",
-    ["BRAILLE LINE:  'SwingSet2 Application SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page Buttons TabList Buttons Page Text Buttons Panel One  Button'",
+    ["BRAILLE LINE:  'SwingSet2 Application (SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page |)Buttons TabList Buttons Page Text Buttons Panel One  Button'",
      "     VISIBLE:  'One  Button', cursor=1",
      "SPEECH OUTPUT: 'Text Buttons panel One  button'"]))
 
@@ -80,7 +80,7 @@ sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(PauseAction(3000))
 sequence.append(utils.AssertPresentationAction(
     "2. Basic Where Am I",
-    ["BRAILLE LINE:  'SwingSet2 Application SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page Buttons TabList Buttons Page Text Buttons Panel One  Button'",
+    ["BRAILLE LINE:  'SwingSet2 Application (SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page |)Buttons TabList Buttons Page Text Buttons Panel One  Button'",
      "     VISIBLE:  'One  Button', cursor=1",
      "SPEECH OUTPUT: 'One  button'"]))
 
@@ -92,7 +92,7 @@ sequence.append(KeyComboAction("Tab"))
 sequence.append(WaitForFocus("Two", acc_role=pyatspi.ROLE_PUSH_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "3. Move to Two button",
-    ["BRAILLE LINE:  'SwingSet2 Application SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page Buttons TabList Buttons Page Text Buttons Panel Two Button'",
+    ["BRAILLE LINE:  'SwingSet2 Application (SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page |)Buttons TabList Buttons Page Text Buttons Panel Two Button'",
      "     VISIBLE:  'Two Button', cursor=1",
      "SPEECH OUTPUT: 'Two button'"]))
 
@@ -105,7 +105,7 @@ sequence.append(WaitForFocus("<html><font size=2 color=red><bold>Three!</font></
 sequence.append(utils.AssertPresentationAction(
     "4. Move to Three button",
     ["BUG? - What's up with the extra whitespace in the speech?",
-     "BRAILLE LINE:  'SwingSet2 Application SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page Buttons TabList Buttons Page Text Buttons Panel Three! Button'",
+     "BRAILLE LINE:  'SwingSet2 Application (SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page |)Buttons TabList Buttons Page Text Buttons Panel Three! Button'",
      "     VISIBLE:  'Three! Button', cursor=1",
      "SPEECH OUTPUT: '",
 "Three! button'"]))
@@ -120,7 +120,7 @@ sequence.append(KeyComboAction("Tab"))
 sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_PUSH_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "5. Move to first image button",
-    ["BRAILLE LINE:  'SwingSet2 Application SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page Buttons TabList Buttons Page Image Buttons Panel Button'",
+    ["BRAILLE LINE:  'SwingSet2 Application (SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page |)Buttons TabList Buttons Page Image Buttons Panel Button'",
      "     VISIBLE:  'Button', cursor=1",
      "SPEECH OUTPUT: 'Image Buttons panel button'"]))
 
@@ -132,7 +132,7 @@ sequence.append(KeyComboAction("Tab"))
 sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_PUSH_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "6. Move to second image button",
-    ["BRAILLE LINE:  'SwingSet2 Application SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page Buttons TabList Buttons Page Image Buttons Panel Button'",
+    ["BRAILLE LINE:  'SwingSet2 Application (SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page |)Buttons TabList Buttons Page Image Buttons Panel Button'",
      "     VISIBLE:  'Button', cursor=1",
      "SPEECH OUTPUT: 'button'"]))
 
@@ -144,7 +144,7 @@ sequence.append(KeyComboAction("Tab"))
 sequence.append(WaitForFocus("", acc_role=pyatspi.ROLE_PUSH_BUTTON))
 sequence.append(utils.AssertPresentationAction(
     "7. Move to third image button",
-    ["BRAILLE LINE:  'SwingSet2 Application SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page Buttons TabList Buttons Page Image Buttons Panel Button'",
+    ["BRAILLE LINE:  'SwingSet2 Application (SwingSet2 Frame RootPane LayeredPane Button Demo TabList Button Demo Page |)Buttons TabList Buttons Page Image Buttons Panel Button'",
      "     VISIBLE:  'Button', cursor=1",
      "SPEECH OUTPUT: 'button'"]))
 



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