Пример #1
0
 public override void run(TestResult result)
 {
   for (int index = 0; index < this.fTimesRepeat && !result.shouldStop(); ++index)
     base.run(result);
 }
Пример #2
0
 public virtual void run(TestResult result)
 {
   Iterator iterator = this.fTests.iterator();
   while (iterator.hasNext())
   {
     Test test = (Test) iterator.next();
     if (result.shouldStop())
       break;
     this.runTest(test, result);
   }
 }