public function PHPUnit_Framework_TestResult::startTestSuite

Informs the result that a testsuite will be started.

@since Method available since Release 2.2.0

Parameters

PHPUnit_Framework_TestSuite $suite:

File

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

Class

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

Code

public function startTestSuite(PHPUnit_Framework_TestSuite $suite) {
  if ($this->topTestSuite === NULL) {
    $this->topTestSuite = $suite;
  }
  foreach ($this->listeners as $listener) {
    $listener
      ->startTestSuite($suite);
  }
}