function VideoUtilityTestCase::setUp in Video 7.2
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/
VideoUtility.test, line 19 - Tests for the video_utility class
Class
- VideoUtilityTestCase
- Tests for video_utility
Code
function setUp() {
drupal_load('module', 'video');
require_once dirname(__FILE__) . '/../video.utility.inc';
parent::setUp();
}