You are here

public function FeedsXPathParserQueryParserTestCase::setUp in Feeds XPath Parser 6

Same name and namespace in other branches
  1. 7 tests/feeds_xpathparser_query_parser.test \FeedsXPathParserQueryParserTestCase::setUp()

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides DrupalUnitTestCase::setUp

File

tests/feeds_xpathparser_query_parser.test, line 19
Test cases for the xpath query parser.

Class

FeedsXPathParserQueryParserTestCase
@file Test cases for the xpath query parser.

Code

public function setUp() {
  parent::setUp();
  require_once dirname(__FILE__) . '/../FeedsXPathParserQueryParser.inc';
}