Esempio n. 1
0
 public function onFinished(TestName $test)
 {
     $key = array_search($test->toString(), $this->running);
     if ($key !== false) {
         unset($this->running[$key]);
     }
     if (!$this->running) {
         $this->onEnd();
     }
 }
Esempio n. 2
0
 function escapeSeparators(Assert $assert)
 {
     $name = new TestName('foo::bar::', ':b$az');
     $assert($name->toString(), 'foo$:$:bar$:$:::$:b$$az');
 }