예제 #1
0
 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;
 }
예제 #2
0
 protected internal virtual void runChild(Runner runner, RunNotifier notifier)
 {
   runner.run(notifier);
 }