@Override protected void runChild(Runner child, RunNotifier notifier) { if (!(initialized)) { initialize(); } child.run(notifier); }
// TODO: require an instance? @Override public void run(RunNotifier notifier) { List<Class<?>> allPossibleClasses = gatherClasses(); List<Runner> allPossibleRunners = runnersForClasses(allPossibleClasses); List<Runner> valid = filterRunners(allPossibleRunners); for (Runner each : valid) each.run(notifier); }
@Override public void run(RunNotifier notifier) { if (myTests == null) { runFailure( createTestDescription(ModuleSymbolicSuite.NO_TESTS), new IllegalStateException("no tests found in " + myClassName), notifier); } else if (myDelegate == null) { for (String test : myTests) { runFailure( createTestDescription(test), new ClassNotFoundException(myClassName), notifier); } } else { myDelegate.run(notifier); } }
@Override public void run(RunNotifier notifier) { cargoRunner.run(notifier); }
@Override protected void runChild(Runner runner, final RunNotifier notifier) { runner.run(notifier); }