[Libreoffice-commits] core.git: unotest/source
Noel Grandin
noel at peralex.com
Thu Jun 25 00:23:49 PDT 2015
unotest/source/java/org/openoffice/test/UnoApiTest.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 7c815d304a151895298506b763989c2c0954a961
Author: Noel Grandin <noel at peralex.com>
Date: Thu Jun 25 09:22:13 2015 +0200
improve the error message when a java UNO test fails
Change-Id: Ibd9f121b94c00040acd3a1d2f6f702d711295f2d
diff --git a/unotest/source/java/org/openoffice/test/UnoApiTest.java b/unotest/source/java/org/openoffice/test/UnoApiTest.java
index bf8948c..44dd472 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()));
More information about the Libreoffice-commits
mailing list