use of org.junit.internal.AssumptionViolatedException in project sling by apache.
the class SlingRemoteTestRunner method runChild.
@Override
protected void runChild(SlingRemoteTest t, RunNotifier notifier) {
try {
maybeExecuteTests();
} catch (Exception e) {
throw new Error(e);
}
EachTestNotifier eachNotifier = new EachTestNotifier(notifier, t.describe());
eachNotifier.fireTestStarted();
try {
log.debug("Running test {}", t.describe());
t.run();
} catch (AssumptionViolatedException e) {
eachNotifier.addFailedAssumption(e);
} catch (Throwable e) {
eachNotifier.addFailure(e);
} finally {
eachNotifier.fireTestFinished();
}
}
Aggregations