You are here

function CDNUnitTestCase::loadFile in CDN 7.2

4 calls to CDNUnitTestCase::loadFile()
CDNImageTestCase::setUp in tests/cdn.test
Sets up unit test environment.
CDNOriginPullFarFutureTestCase::setUp in tests/cdn.test
Sets up unit test environment.
CDNOriginPullTestCase::setUp in tests/cdn.test
Sets up unit test environment.
CDNUnitTestCase::setUp in tests/cdn.test
Sets up unit test environment.

File

tests/cdn.test, line 54
Test CDN.

Class

CDNUnitTestCase
@file Test CDN.

Code

function loadFile($file) {
  $cdn_path = DRUPAL_ROOT . '/' . drupal_get_path('module', 'cdn');
  require_once "{$cdn_path}/{$file}";
}