You are here

public function ApachesolrProximityUnitTestCase::setUp in Apache Solr Term Proximity 7

Same name and namespace in other branches
  1. 6.3 apachesolr_proximity.test \ApachesolrProximityUnitTestCase::setUp()

Overrides DrupalTestCase::setUp().

Overrides DrupalUnitTestCase::setUp

File

./apachesolr_proximity.test, line 36
Contains ApachesolrProximityUnitTestCase.

Class

ApachesolrProximityUnitTestCase
Test cases for the Apache Solr Term Proximity API functions.

Code

public function setUp() {
  parent::setUp();
  $module_dir = dirname(__FILE__);
  require_once $module_dir . '/apachesolr_proximity.module';
  require_once $module_dir . '/apachesolr_proximity.apachesolr.inc';
  $this
    ->resetExpected();
}