public function 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

drupal/core/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);
}