endTest() 공개 메소드

A test ended.
public endTest ( PHPUnit_Framework_Test $test, float $time )
$test PHPUnit_Framework_Test
$time float
예제 #1
0
 public function endTest(\PHPUnit_Framework_Test $test, $time)
 {
     if ($test instanceof \Codeception\TestCase\Cept) {
         $this->currentTestCase->setAttribute('name', $test->toString());
     }
     return parent::endTest($test, $time);
 }
예제 #2
0
 public function endTest(\PHPUnit_Framework_Test $test, $time)
 {
     if ($this->attachCurrentTestCase and $test instanceof Test) {
         $numAssertions = $test->getNumAssertions();
         $this->testSuiteAssertions[$this->testSuiteLevel] += $numAssertions;
         $this->currentTestCase->setAttribute('assertions', $numAssertions);
     }
     parent::endTest($test, $time);
 }
예제 #3
0
 public function endTest(PHPUnit_Framework_Test $test, $time)
 {
     parent::endTest($test, $time);
     $this->logger->endTest($test, $time);
 }