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 Description describeChild(Runner child) { return child.getDescription(); }