public function PHPUnit_Framework_TestResult::startTest

Informs the result that a test will be started.

Parameters

PHPUnit_Framework_Test $test:

1 call to PHPUnit_Framework_TestResult::startTest()

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php, line 359

Class

PHPUnit_Framework_TestResult
A TestResult collects the results of executing a test case.

Code

public function startTest(PHPUnit_Framework_Test $test) {
  $this->lastTestFailed = FALSE;
  $this->runTests += count($test);
  foreach ($this->listeners as $listener) {
    $listener
      ->startTest($test);
  }
}