}
}
}
private void runTest(RunNotifier notifier, FrameworkMethod testMethod, int index) {
TestRunNotifier testNotifier = new TestRunNotifier(notifier, methodDescription(testClass, testMethod, index));
if (testMethod.getAnnotation(Ignore.class.getName()) != null) {
testNotifier.fireTestIgnored();
} else {
testNotifier.fireTestStarted();
try {
FrameworkMethod osgiTestMethod = osgiTestClass.getTestMethod(testMethod.getName());
makeTestStatement(osgiTestMethod).evaluate();
} catch (AssumptionViolatedException e) {
testNotifier.addFailedAssumption(e);
} catch (Throwable e) {
testNotifier.addFailure(e);
} finally {
testNotifier.fireTestFinished();
}
}
}