You are here

public function DoubleTestCase::run in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/_files/DoubleTestCase.php \DoubleTestCase::run()

Runs a test and collects its result in a TestResult instance.

Parameters

PHPUnit_Framework_TestResult $result:

Return value

PHPUnit_Framework_TestResult

Overrides PHPUnit_Framework_Test::run

File

vendor/phpunit/phpunit/tests/_files/DoubleTestCase.php, line 16

Class

DoubleTestCase

Code

public function run(PHPUnit_Framework_TestResult $result = null) {
  $result
    ->startTest($this);
  $this->testCase
    ->runBare();
  $this->testCase
    ->runBare();
  $result
    ->endTest($this, 0);
}