You are here

protected function PHPUnit_Framework_TestSuite::createResult in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestSuite.php \PHPUnit_Framework_TestSuite::createResult()

Creates a default TestResult object.

Return value

PHPUnit_Framework_TestResult

1 call to PHPUnit_Framework_TestSuite::createResult()
PHPUnit_Framework_TestSuite::run in vendor/phpunit/phpunit/src/Framework/TestSuite.php
Runs the tests and collects their result in a TestResult.

File

vendor/phpunit/phpunit/src/Framework/TestSuite.php, line 612

Class

PHPUnit_Framework_TestSuite
A TestSuite is a composite of Tests. It runs a collection of test cases.

Code

protected function createResult() {
  return new PHPUnit_Framework_TestResult();
}