You are here

protected function PHP_CodeCoverageTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php \PHP_CodeCoverageTest::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/php-code-coverage/tests/PHP/CodeCoverageTest.php, line 35

Class

PHP_CodeCoverageTest
Tests for the PHP_CodeCoverage class.

Code

protected function setUp() {
  $this->coverage = new PHP_CodeCoverage();
}