You are here

protected function PHPUnit_Extensions_TestDecorator::createResult in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Extensions/TestDecorator.php \PHPUnit_Extensions_TestDecorator::createResult()

Creates a default TestResult object.

Return value

PHPUnit_Framework_TestResult

2 calls to PHPUnit_Extensions_TestDecorator::createResult()
PHPUnit_Extensions_RepeatedTest::run in vendor/phpunit/phpunit/src/Extensions/RepeatedTest.php
Runs the decorated test and collects the result in a TestResult.
PHPUnit_Extensions_TestDecorator::run in vendor/phpunit/phpunit/src/Extensions/TestDecorator.php
Runs the decorated test and collects the result in a TestResult.

File

vendor/phpunit/phpunit/src/Extensions/TestDecorator.php, line 76

Class

PHPUnit_Extensions_TestDecorator
A Decorator for Tests.

Code

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