You are here

protected function TextimagePregMatchTestCase::setUp in Textimage 7.3

Same name and namespace in other branches
  1. 7.2 tests/textimage_preg_match.test \TextimagePregMatchTestCase::setUp()

Sets up unit test environment.

Includes the file with drupal_preg_match() function.

Overrides DrupalUnitTestCase::setUp

File

tests/textimage_preg_match.test, line 28
Textimage - unit test case script.

Class

TextimagePregMatchTestCase
Checks that drupal_preg_match() function works as expected.

Code

protected function setUp() {
  parent::setUp();
  module_load_include('inc', 'textimage', 'effects/textimage_text');
}