[orca] Minor update to the test harness for OOo Writer



commit 836ba5ed3c4d5eccb8a0d4e17fd0cb4656103a97
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Sun May 16 20:10:15 2010 -0400

    Minor update to the test harness for OOo Writer
    
    Rather than a bunch of versions, three build options: Release, Beta,
    and Dev. We'll default to Release rather than Dev as we had been.
    Hopefully this will make things more likely to JustWork(tm) for more
    people.

 test/harness/utils.py |   24 +++++++++---------------
 1 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/test/harness/utils.py b/test/harness/utils.py
index 80f8bce..dc1bbd1 100644
--- a/test/harness/utils.py
+++ b/test/harness/utils.py
@@ -38,30 +38,24 @@ firefoxLocationBarNames = "(Location|Search Bookmarks and History)"
 #
 OOoWriterNames = "(StarOffice Writer|OpenOffice.org Writer|OOo-dev Writer Beta)"
 
-#OOO_VERSION="OpenOffice 2.4"
-#OOO_VERSION="StarOffice 8"
-#OOO_VERSION="DEV300_m25"
-#OOO_VERSION="OpenOffice 3.0"
-OOO_VERSION="DEV300_m54" # This is the current dev build of 3.2
+OOO_VERSION="Release"
+#OOO_VERSION="Beta"
+#OOO_VERSION="Dev"
 
 def getOOoName(app):
-    if OOO_VERSION in ["OpenOffice 2.4", "OpenOffice 3.0"]:
+    if OOO_VERSION == "Release":
         return "OpenOffice.org %s" % app
-    elif OOO_VERSION == "StarOffice 8":
-        return "StarOffice %s" % app
-    elif OOO_VERSION == "DEV300_m25":
+    elif OOO_VERSION == "Beta":
         return "OOo-dev %s Beta" % app
-    elif OOO_VERSION == "DEV300_m54":
+    elif OOO_VERSION == "Dev":
         return "OOo-dev %s" % app
         
 def getOOoBrailleLine(app, title, remainder):
-    if OOO_VERSION in ["OpenOffice 2.4", "OpenOffice 3.0"]:
+    if OOO_VERSION == "Release":
         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
-    elif OOO_VERSION == "DEV300_m25":
+    elif OOO_VERSION == "Beta":
         return "soffice Application " + title + " - OOo-dev " + app + " Beta Frame " +  title + " - OOo-dev " + app + " Beta RootPane ScrollPane Document view " + remainder
-    elif OOO_VERSION == "DEV300_m54":
+    elif OOO_VERSION == "Dev":
         return "soffice Application " + title + " - OOo-dev " + app + " Frame " +  title + " - OOo-dev " + app + " RootPane ScrollPane Document view " + remainder
 
 createDiffs = True



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