You are here

public function Extensions_RepeatedTestTest::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Extensions/RepeatedTestTest.php \Extensions_RepeatedTestTest::__construct()

Constructs a test case with the given name.

Parameters

string $name:

array $data:

string $dataName:

Overrides PHPUnit_Framework_TestCase::__construct

File

vendor/phpunit/phpunit/tests/Extensions/RepeatedTestTest.php, line 19

Class

Extensions_RepeatedTestTest
@since Class available since Release 2.0.0 @covers PHPUnit_Extensions_RepeatedTest

Code

public function __construct() {
  $this->suite = new PHPUnit_Framework_TestSuite();
  $this->suite
    ->addTest(new Success());
  $this->suite
    ->addTest(new Success());
}