diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-25 12:31:55 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-25 12:31:55 +0100 |
commit | 69111e77a11fcdb97d1493f6a797d3fc5fb74b44 (patch) | |
tree | 2edbf6a0891501e8115bf2a212796e46c0ca1eb6 /test | |
parent | 0134428a21eb3a260ad55eee0e1e178aae9d3260 (diff) |
adjusting OfficeConnection for junit tests to new parameters
Diffstat (limited to 'test')
-rw-r--r-- | test/source/java/org/openoffice/test/OfficeConnection.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/java/org/openoffice/test/OfficeConnection.java b/test/source/java/org/openoffice/test/OfficeConnection.java index 60978717a993..084453fdaf35 100644 --- a/test/source/java/org/openoffice/test/OfficeConnection.java +++ b/test/source/java/org/openoffice/test/OfficeConnection.java @@ -54,9 +54,9 @@ public final class OfficeConnection { if (sofficeArg.startsWith("path:")) { description = "pipe,name=oootest" + UUID.randomUUID(); ProcessBuilder pb = new ProcessBuilder( - sofficeArg.substring("path:".length()), "-quickstart=no", - "-nofirststartwizard", "-norestore", - "-accept=" + description + ";urp", + sofficeArg.substring("path:".length()), "--quickstart=no", + "--nofirststartwizard", "--norestore", + "--accept=" + description + ";urp", "-env:UserInstallation=" + Argument.get("user"), "-env:UNO_JAVA_JFW_ENV_JREHOME=true"); String envArg = Argument.get("env"); |