orca r4323 - trunk/test/keystrokes/firefox



Author: joanied
Date: Wed Nov  5 23:33:57 2008
New Revision: 4323
URL: http://svn.gnome.org/viewvc/orca?rev=4323&view=rev

Log:
Updated tests


Modified:
   trunk/test/keystrokes/firefox/bug_552887a.py
   trunk/test/keystrokes/firefox/line_nav_bug_547573.py
   trunk/test/keystrokes/firefox/line_nav_bug_549128.py

Modified: trunk/test/keystrokes/firefox/bug_552887a.py
==============================================================================
--- trunk/test/keystrokes/firefox/bug_552887a.py	(original)
+++ trunk/test/keystrokes/firefox/bug_552887a.py	Wed Nov  5 23:33:57 2008
@@ -96,7 +96,7 @@
 sequence.append(utils.AssertPresentationAction(
     "7. Line Down",
     ["BRAILLE LINE:  'This text comes before the box section'",
-     "     VISIBLE:  'xt comes before the box section', cursor=32",
+     "     VISIBLE:  'This text comes before the box s', cursor=1",
      "SPEECH OUTPUT: 'This text comes before the box section",
      "'"]))
 
@@ -136,17 +136,17 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "12. Line Down",
-    ["BRAILLE LINE:  'This text comes after'",
-     "     VISIBLE:  'This text comes after', cursor=1",
-     "SPEECH OUTPUT: 'This text comes after'"]))
+    ["BRAILLE LINE:  'This text comes after the'",
+     "     VISIBLE:  'This text comes after the', cursor=1",
+     "SPEECH OUTPUT: 'This text comes after the'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "13. Line Down",
-    ["BRAILLE LINE:  'the box section.'",
-     "     VISIBLE:  'the box section.', cursor=1",
-     "SPEECH OUTPUT: 'the box section.",
+    ["BRAILLE LINE:  'box section.'",
+     "     VISIBLE:  'box section.', cursor=1",
+     "SPEECH OUTPUT: 'box section.",
      "'"]))
 
 sequence.append(utils.StartRecordingAction())
@@ -170,18 +170,18 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "1. Line Up",
-    ["BRAILLE LINE:  'the box section.'",
-     "     VISIBLE:  'the box section.', cursor=1",
-     "SPEECH OUTPUT: 'the box section.",
+    ["BRAILLE LINE:  'box section.'",
+     "     VISIBLE:  'box section.', cursor=1",
+     "SPEECH OUTPUT: 'box section.",
      "'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "2. Line Up",
-    ["BRAILLE LINE:  'This text comes after'",
-     "     VISIBLE:  'This text comes after', cursor=1",
-     "SPEECH OUTPUT: 'This text comes after'"]))
+    ["BRAILLE LINE:  'This text comes after the'",
+     "     VISIBLE:  'This text comes after the', cursor=1",
+     "SPEECH OUTPUT: 'This text comes after the'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Up"))

Modified: trunk/test/keystrokes/firefox/line_nav_bug_547573.py
==============================================================================
--- trunk/test/keystrokes/firefox/line_nav_bug_547573.py	(original)
+++ trunk/test/keystrokes/firefox/line_nav_bug_547573.py	Wed Nov  5 23:33:57 2008
@@ -506,17 +506,17 @@
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "56. Line Down",
-    ["BRAILLE LINE:  'The JDK files are installed in a directory called jdk1.6.0_<version> in the current directory. Follow this link to see its directory structure. The JDK'",
+    ["BRAILLE LINE:  'The JDK files are installed in a directory called jdk1.6.0_<version> in the current directory. Follow this link to see its directory structure. The JDK documentation'",
      "     VISIBLE:  'The JDK files are installed in a', cursor=1",
-     "SPEECH OUTPUT: 'The JDK files are installed in a directory called jdk1.6.0_<version> in the current directory. Follow this link to see its directory structure link . The JDK'"]))
+     "SPEECH OUTPUT: 'The JDK files are installed in a directory called jdk1.6.0_<version> in the current directory. Follow this link to see its directory structure link . The JDK documentation'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Down"))
 sequence.append(utils.AssertPresentationAction(
     "57. Line Down",
-    ["BRAILLE LINE:  'documentation is a separate download.'",
-     "     VISIBLE:  'documentation is a separate down', cursor=1",
-     "SPEECH OUTPUT: 'documentation is a separate download.'"]))
+    ["BRAILLE LINE:  'is a separate download.'",
+     "     VISIBLE:  'is a separate downoad', cursor=1",
+     "SPEECH OUTPUT: 'is a separate download.'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Down"))
@@ -1178,17 +1178,17 @@
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "38. Line Up",
-    ["BRAILLE LINE:  'documentation is a separate download.'",
-     "     VISIBLE:  'documentation is a separate down', cursor=1",
-     "SPEECH OUTPUT: 'documentation is a separate download.'"]))
+    ["BRAILLE LINE:  'is a separate download.'",
+     "     VISIBLE:  'is a separate download', cursor=1",
+     "SPEECH OUTPUT: 'is a separate download.'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
     "39. Line Up",
-    ["BRAILLE LINE:  'The JDK files are installed in a directory called jdk1.6.0_<version> in the current directory. Follow this link to see its directory structure. The JDK'",
+    ["BRAILLE LINE:  'The JDK files are installed in a directory called jdk1.6.0_<version> in the current directory. Follow this link to see its directory structure. The JDK documentation'",
      "     VISIBLE:  'The JDK files are installed in a', cursor=1",
-     "SPEECH OUTPUT: 'The JDK files are installed in a directory called jdk1.6.0_<version> in the current directory. Follow this link to see its directory structure link . The JDK'"]))
+     "SPEECH OUTPUT: 'The JDK files are installed in a directory called jdk1.6.0_<version> in the current directory. Follow this link to see its directory structure link . The JDK documentation'"]))
 
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Up"))
@@ -1544,15 +1544,6 @@
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Up"))
 sequence.append(utils.AssertPresentationAction(
-    "83. Line Up",
-    ["BRAILLE LINE:  'ÂInstallation of Self-Extracting Binary'",
-     "     VISIBLE:  'ÂInstallation of Self-Extracting', cursor=1",
-     "SPEECH OUTPUT: 'Â Installation of Self-Extracting Binary link ",
-     "'"]))
-
-sequence.append(utils.StartRecordingAction())
-sequence.append(KeyComboAction("Up"))
-sequence.append(utils.AssertPresentationAction(
     "84. Line Up",
     ["BRAILLE LINE:  'JDK Installation Instructions'",
      "     VISIBLE:  'JDK Installation Instructions', cursor=1",

Modified: trunk/test/keystrokes/firefox/line_nav_bug_549128.py
==============================================================================
--- trunk/test/keystrokes/firefox/line_nav_bug_549128.py	(original)
+++ trunk/test/keystrokes/firefox/line_nav_bug_549128.py	Wed Nov  5 23:33:57 2008
@@ -36,7 +36,7 @@
 sequence.append(utils.AssertPresentationAction(
     "Top of file",
     ["BRAILLE LINE:  'Holiday Gift Giving'",
-     "     VISIBLE:  'Holiday Gift Giving', cursor=0",
+     "     VISIBLE:  'Holiday Gift Giving', cursor=1",
      "SPEECH OUTPUT: 'Holiday Gift Giving'"]))
 
 ########################################################################



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