public virtual Result run(Runner runner) { Result result = new Result(); RunListener listener = result.createListener(); this.fNotifier.addFirstListener(listener); try { this.fNotifier.fireTestRunStarted(runner.getDescription()); runner.run(this.fNotifier); this.fNotifier.fireTestRunFinished(result); } finally { this.removeListener(listener); } return result; }
protected internal virtual void runChild(Runner runner, RunNotifier notifier) { runner.run(notifier); }