class DoubleTestCase in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/_files/DoubleTestCase.php \DoubleTestCase
Hierarchy
- class \DoubleTestCase implements PHPUnit_Framework_Test
Expanded class hierarchy of DoubleTestCase
File
- vendor/
phpunit/ phpunit/ tests/ _files/ DoubleTestCase.php, line 2
View source
class DoubleTestCase implements PHPUnit_Framework_Test {
protected $testCase;
public function __construct(PHPUnit_Framework_TestCase $testCase) {
$this->testCase = $testCase;
}
public function count() {
return 2;
}
public function run(PHPUnit_Framework_TestResult $result = null) {
$result
->startTest($this);
$this->testCase
->runBare();
$this->testCase
->runBare();
$result
->endTest($this, 0);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DoubleTestCase:: |
protected | property | ||
DoubleTestCase:: |
public | function | ||
DoubleTestCase:: |
public | function |
Runs a test and collects its result in a TestResult instance. Overrides PHPUnit_Framework_Test:: |
|
DoubleTestCase:: |
public | function |