You are here

function simpletest_load in SimpleTest 6

Same name and namespace in other branches
  1. 5 simpletest.module \simpletest_load()

Load required SimepleTest files.

2 calls to simpletest_load()
run_all_tests.php in ./run_all_tests.php
simpletest_entrypoint in ./simpletest.module
Menu callback for both running tests and listing possible tests

File

./simpletest.module, line 58

Code

function simpletest_load() {
  include_once SIMPLETEST_LIBRARY_PATH . '/web_tester.php';
  include_once SIMPLETEST_LIBRARY_PATH . '/reporter.php';
  include_once SIMPLETEST_LIBRARY_PATH . '/unit_tester.php';
  include_once SIMPLETEST_MODULE_PATH . '/drupal_reporter.php';
  include_once SIMPLETEST_MODULE_PATH . '/drupal_test_case.php';
  include_once SIMPLETEST_MODULE_PATH . '/drupal_unit_tests.php';
}