[Libreoffice-commits] core.git: qadevOOo/qa

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Fri Sep 23 10:51:21 UTC 2016


 qadevOOo/qa/unoapi/Test.java |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

New commits:
commit b316edff1ba12529c23683c50a077e349d084f56
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
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 <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

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();


More information about the Libreoffice-commits mailing list