qadevOOo/qa/unoapi/Test.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
New commits: commit b316edff1ba12529c23683c50a077e349d084f56 Author: Samuel Mehrbrodt <[email protected]> Date: Fri Sep 23 10:47:25 2016 +0200 Handle exception Change-Id: If295d9a6106c0d03313c80464134e060da72bf53 Reviewed-on: https://gerrit.libreoffice.org/29224 Reviewed-by: Samuel Mehrbrodt <[email protected]> Tested-by: Samuel Mehrbrodt <[email protected]> diff --git a/qadevOOo/qa/unoapi/Test.java b/qadevOOo/qa/unoapi/Test.java index cecd71c..e6b8120 100644 --- a/qadevOOo/qa/unoapi/Test.java +++ b/qadevOOo/qa/unoapi/Test.java @@ -34,10 +34,14 @@ public final class Test { } @org.junit.Test public void test() { - assertTrue( - Runner.run( - "-sce", "qadevOOo.sce", "-xcl", "knownissues.xcl", "-cs", - connection.getDescription())); + try { + assertTrue( + Runner.run( + "-sce", "qadevOOo.sce", "-xcl", "knownissues.xcl", "-cs", + connection.getDescription())); + } catch (Exception e) { + fail("Could not run test"); + } } private final OfficeConnection connection = new OfficeConnection(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
