function SearchExpressionInsertExtractTestCase::setUp

7.x search.test SearchExpressionInsertExtractTestCase::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

drupal/modules/search/search.test, line 963
Tests for search.module.

Class

SearchExpressionInsertExtractTestCase
Tests search_expression_insert() and search_expression_extract().

Code

function setUp() {
  drupal_load('module', 'search');
  parent::setUp();
}