forked from phoedos/pmd
@@ -138,9 +138,9 @@ public abstract class RuleTst {
|
||||
|
||||
report = processUsingStringReader(test, rule);
|
||||
res = report.size();
|
||||
} catch (Throwable t) {
|
||||
t.printStackTrace();
|
||||
throw new RuntimeException('"' + test.getDescription() + "\" failed", t);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
throw new RuntimeException('"' + test.getDescription() + "\" failed", e);
|
||||
}
|
||||
if (test.getNumberOfProblemsExpected() != res) {
|
||||
printReport(test, report);
|
||||
|
Reference in New Issue
Block a user