diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-27 16:51:59 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-27 16:54:05 +0200 |
commit | 44fe64ac4878ee9909e93de3855e1700217174e7 (patch) | |
tree | 46ef45ea8fb2e491c3f41844ad15c57fd8f920dc /configmgr/qa/unoapi | |
parent | 50839cd9143a6de9154564e43d3631248cb14798 (diff) |
cleanup of unoapi test
Diffstat (limited to 'configmgr/qa/unoapi')
-rwxr-xr-x | configmgr/qa/unoapi/Test.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configmgr/qa/unoapi/Test.java b/configmgr/qa/unoapi/Test.java index 4d1f5a3c4be7..d6bc19df4439 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(); |