You are here

function SolrBaseQueryTests::setUp in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 tests/solr_base_query.test \SolrBaseQueryTests::setUp()
  2. 7 tests/solr_base_query.test \SolrBaseQueryTests::setUp()

File

tests/solr_base_query.test, line 15

Class

SolrBaseQueryTests
Unit tests for query object methods.

Code

function setUp() {
  parent::setUp();
  require_once dirname(dirname(realpath(__FILE__))) . '/apachesolr.module';
  require_once dirname(dirname(realpath(__FILE__))) . '/apachesolr.interface.inc';
  require_once dirname(dirname(realpath(__FILE__))) . '/Solr_Base_Query.php';
  require_once dirname(dirname(realpath(__FILE__))) . '/Drupal_Apache_Solr_Service.php';
  require_once dirname(dirname(realpath(__FILE__))) . '/tests/Dummy_Solr.php';
}