Browse Source

assira.junit

Ranides Atterwim 10 years ago
parent
commit
81de3077c3

+ 3 - 3
assira.junit/src/main/java/net/ranides/assira/junit/QTesterSuite.java

@@ -136,12 +136,12 @@ public class QTesterSuite {
                 throw QAssert.rethrow(ex);
             } catch (InvocationTargetException ex) {
                 if(ex.getTargetException() instanceof UnsupportedOperationException) {
-                    if(debug) {
-                        ex.printStackTrace();
-                    }
                     UnsupportedOperationException uoe = (UnsupportedOperationException)ex.getTargetException();
                     
                     if( !"TEST.SILENT".equals(uoe.getMessage())) {
+                        if(debug) {
+                            ex.printStackTrace();
+                        }
                         String comment = "TEST.IGNORE".equals(uoe.getMessage()) ? "IGNORED" : "UNSUPPORTED";
                         printf(" - SUITE: %s [%d] %s.%s - %s%n",
                             type.getName(),