protected function Framework_TestListenerTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Framework/TestListenerTest.php \Framework_TestListenerTest::setUp()
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
Overrides PHPUnit_Framework_TestCase::setUp
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ TestListenerTest.php, line 69
Class
- Framework_TestListenerTest
- @since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestCase
Code
protected function setUp() {
$this->result = new PHPUnit_Framework_TestResult();
$this->result
->addListener($this);
$this->endCount = 0;
$this->failureCount = 0;
$this->notImplementedCount = 0;
$this->riskyCount = 0;
$this->skippedCount = 0;
$this->startCount = 0;
}