*
*/
public class RunnerUtil {
public static RunnerScheduler getScheduler(Class<?> testClass) {
RunnerScheduler scheduler = null;
TestPolicy testPolicy = testClass.getAnnotation(TestPolicy.class);
if (testPolicy != null) {
Class<?> policyClass = testPolicy.value();
scheduler = SchedulerStrategy.getScheduler(policyClass, false);
RunnerScheduler testClassScheduler = SchedulerStrategy.getScheduler(testClass, true);
if (testClassScheduler != null) {
scheduler = testClassScheduler;
}
} else {