summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-25 09:22:13 +0200
committerNoel Grandin <noel@peralex.com>2015-06-25 09:23:21 +0200
commit7c815d304a151895298506b763989c2c0954a961 (patch)
treeeff1642263ed1c85b1ff482ec6a20b63e3aba73f /unotest
parentf7a7a9dd84d1cd8b49d59e1fb1853ea7e9f40edf (diff)
improve the error message when a java UNO test fails
Change-Id: Ibd9f121b94c00040acd3a1d2f6f702d711295f2d
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/java/org/openoffice/test/UnoApiTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/unotest/source/java/org/openoffice/test/UnoApiTest.java b/unotest/source/java/org/openoffice/test/UnoApiTest.java
index bf8948ceb4f6..44dd472319a7 100644
--- a/unotest/source/java/org/openoffice/test/UnoApiTest.java
+++ b/unotest/source/java/org/openoffice/test/UnoApiTest.java
@@ -34,7 +34,10 @@ public final class UnoApiTest {
}
@Test public void test() throws Exception {
- assertTrue(
+ assertTrue("org.openoffice.Runner failed with params: -sce " + Argument.get("sce")
+ + "-xcl " + Argument.get("xcl")
+ + " -tdoc " + Argument.get("tdoc")
+ + " -cs " + connection.getDescription(),
Runner.run(
"-sce", Argument.get("sce"), "-xcl", Argument.get("xcl"), "-tdoc",
Argument.get("tdoc"), "-cs", connection.getDescription()));