237238239240241242243244245246247
} catch (AssumptionViolatedException e) { testNotifier.fireTestIgnored(); } catch (StoppedByUserException e) { throw e; } catch (Throwable e) { testNotifier.addFailure(e); } } // // Implementation of Filterable and Sortable
262263264265266267268269270271272
try { statement.evaluate(); } catch (AssumptionViolatedException e) { eachNotifier.addFailedAssumption(e); } catch (Throwable e) { eachNotifier.addFailure(e); } finally { eachNotifier.fireTestFinished(); } }
293294295296297298299300301302303
7273747576777879808182
try { methodBlock(method).evaluate(); } catch (AssumptionViolatedException e) { eachNotifier.addFailedAssumption(e); } catch (Throwable e) { eachNotifier.addFailure(e); } finally { eachNotifier.fireTestFinished(); } }
221222223224225226227228229230231
143144145146147148149150151152153
} catch ( StoppedByUserException e ) { throw e; } catch ( Throwable e ) { testNotifier.addFailure( e ); } finally { testNotifier.fireTestFinished(); } }
2930313233343536373839
try { testCode.run(); } catch (AssumptionViolatedException e) { testNotifier.addFailedAssumption(e); } catch (Throwable e) { testNotifier.addFailure(e); } finally { testNotifier.fireTestFinished(); } }
171172173174175176177178179180181
} catch (AssumptionViolatedException e) { testNotifier.fireTestIgnored(); } catch (StoppedByUserException e) { throw e; } catch (Throwable e) { testNotifier.addFailure(e); } } /**
7576777879808182838485
9293949596979899100101102
for (FactHandle factHandle : ksession.getFactHandles()) { ksession.delete(factHandle); } } } catch ( Throwable t ) { eachNotifier.addFailure( t ); } finally { // has to always be called as per junit docs eachNotifier.fireTestFinished(); } }