protected function Framework_AssertTest::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/AssertTest.php, line 69

Class

Framework_AssertTest
@package PHPUnit @author Sebastian Bergmann <sebastian@phpunit.de> @author Bernhard Schussek <bschussek@2bepublished.at> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license …

Code

protected function setUp() {
  $this->filesDirectory = dirname(__DIR__) . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR;
  $this->html = file_get_contents($this->filesDirectory . 'SelectorAssertionsFixture.html');
}