protected function Framework_SuiteTest::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

drupal/core/vendor/phpunit/phpunit/Tests/Framework/SuiteTest.php, line 66

Class

Framework_SuiteTest
@package PHPUnit @author Sebastian Bergmann <sebastian@phpunit.de> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link …

Code

protected function setUp() {
  $this->result = new PHPUnit_Framework_TestResult();
}