summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-03-27 16:51:59 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-03-27 16:54:05 +0200
commit23316cce76ad174cc65e5f626b0cf8e9e64726d4 (patch)
tree7842342b1fda97c559785233ea2c6b6e2c3dbda4 /configmgr
parent119ec47e4c88edc3db4b8e26b706322c3c442956 (diff)
cleanup of unoapi test
Diffstat (limited to 'configmgr')
-rwxr-xr-xconfigmgr/qa/unoapi/Test.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/configmgr/qa/unoapi/Test.java b/configmgr/qa/unoapi/Test.java
index 4d1f5a3c4b..d6bc19df44 100755
--- a/configmgr/qa/unoapi/Test.java
+++ b/configmgr/qa/unoapi/Test.java
@@ -27,6 +27,7 @@ package org.openoffice.configmgr.qa.unoapi;
import org.openoffice.Runner;
import org.openoffice.test.OfficeConnection;
+import org.openoffice.test.Argument;
import static org.junit.Assert.*;
public final class Test {
@@ -37,13 +38,15 @@ public final class Test {
@org.junit.After public void tearDown()
throws InterruptedException, com.sun.star.uno.Exception
{
+ Thread.sleep(4000);
connection.tearDown();
}
@org.junit.Test public void test() {
assertTrue(
Runner.run(
- "-sce", "module.sce", "-cs", connection.getDescription()));
+ "-sce", Argument.get("sce"), "-xcl", Argument.get("xcl"), "-tdoc",
+ Argument.get("tdoc"), "-cs", connection.getDescription()));
}
private final OfficeConnection connection = new OfficeConnection();