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 | 23316cce76ad174cc65e5f626b0cf8e9e64726d4 (patch) | |
tree | 7842342b1fda97c559785233ea2c6b6e2c3dbda4 /configmgr | |
parent | 119ec47e4c88edc3db4b8e26b706322c3c442956 (diff) |
cleanup of unoapi test
Diffstat (limited to 'configmgr')
-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 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(); |