diff options
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/qa/unoapi/Test.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/qadevOOo/qa/unoapi/Test.java b/qadevOOo/qa/unoapi/Test.java index cecd71c797c2..e6b8120dbdf7 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(); |