use of org.eclipse.scout.rt.testing.platform.runner.statement.PlatformStatement in project scout.rt by eclipse.
the class PlatformTestRunner method classBlock.
@Override
protected Statement classBlock(final RunNotifier notifier) {
final Statement s4 = super.classBlock(notifier);
final Statement s3 = new RunContextStatement(s4, new IRunContextProvider() {
@Override
public RunContext create() {
return createJUnitRunContext();
}
});
final Statement s2 = new AssertNoRunningJobsStatement(s3, "Test class");
final Statement s1 = new PlatformStatement(s2, ReflectionUtility.getAnnotation(RunWithNewPlatform.class, getTestClass().getJavaClass()));
return s1;
}
Aggregations