You are here

public function FeedsXPathParserQueryParserTestCase::setUp in Feeds XPath Parser 7

Same name and namespace in other branches
  1. 6 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();
  module_load_include('inc', 'feeds_xpathparser', 'FeedsXPathParserQueryParser');
}