orca r4289 - trunk/test/harness



Author: joanied
Date: Tue Oct 14 21:44:44 2008
New Revision: 4289
URL: http://svn.gnome.org/viewvc/orca?rev=4289&view=rev

Log:
Updated the test harness for OpenOffice 3.0.


Modified:
   trunk/test/harness/utils.py

Modified: trunk/test/harness/utils.py
==============================================================================
--- trunk/test/harness/utils.py	(original)
+++ trunk/test/harness/utils.py	Tue Oct 14 21:44:44 2008
@@ -31,10 +31,11 @@
 #OOO_VERSION="OpenOffice 2.4"
 #OOO_VERSION="StarOffice 8"
 #OOO_VERSION="DEV300_m25"
-OOO_VERSION="DEV300_m29"
+#OOO_VERSION="DEV300_m29"
+OOO_VERSION="OpenOffice 3.0"
 
 def getOOoName(app):
-    if OOO_VERSION == "OpenOffice 2.4":
+    if OOO_VERSION in ["OpenOffice 2.4", "OpenOffice 3.0"]:
         return "OpenOffice.org %s" % app
     elif OOO_VERSION == "StarOffice 8":
         return "StarOffice %s" % app
@@ -44,7 +45,7 @@
         return "OOo-dev %s" % app
         
 def getOOoBrailleLine(app, title, remainder):
-    if OOO_VERSION == "OpenOffice 2.4":
+    if OOO_VERSION in ["OpenOffice 2.4", "OpenOffice 3.0"]:
         return "soffice Application " + title + " - OpenOffice.org " + app + " Frame " +  title + " - OpenOffice.org " + app + " RootPane ScrollPane Document view " + remainder
     elif OOO_VERSION == "StarOffice 8":
         return "soffice Application " + title + " - StarOffice " + app + " Frame " +  title + " - StarOffice " + app + " RootPane ScrollPane Document view " + remainder



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