public function PHPUnit_Extensions_TestDecorator::run in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Extensions/TestDecorator.php \PHPUnit_Extensions_TestDecorator::run()
Runs the decorated test and collects the result in a TestResult.
Parameters
PHPUnit_Framework_TestResult $result:
Return value
Overrides PHPUnit_Framework_Test::run
1 method overrides PHPUnit_Extensions_TestDecorator::run()
- PHPUnit_Extensions_RepeatedTest::run in vendor/
phpunit/ phpunit/ src/ Extensions/ RepeatedTest.php - Runs the decorated test and collects the result in a TestResult.
File
- vendor/
phpunit/ phpunit/ src/ Extensions/ TestDecorator.php, line 98
Class
- PHPUnit_Extensions_TestDecorator
- A Decorator for Tests.
Code
public function run(PHPUnit_Framework_TestResult $result = null) {
if ($result === null) {
$result = $this
->createResult();
}
$this
->basicRun($result);
return $result;
}