Test module for system functions.

File

core/modules/simpletest/tests/system_test.module

Functions

Namesort descending Description
system_test_access_callback Access callback used to check access based on a variable.
system_test_authorize_init_page Page callback to initialize authorize.php during testing.
system_test_backdrop_set_message Sets two messages and removes the first one before the messages are displayed.
system_test_basic_auth_page Check HTTP headers for authentication.
system_test_boot Implements hook_boot().
system_test_exit Implements hook_exit().
system_test_filetransfer_info Implements hook_filetransfer_info().
system_test_get_destination Page callback to print out $_GET['destination'] for testing.
system_test_hello_world Menu callback; Basic page with no dynamic content.
system_test_init Implements hook_init().
system_test_lock_acquire Try to acquire a named lock and report the outcome.
system_test_lock_exit Try to acquire a specific lock, and then exit.
system_test_main_content_fallback Menu callback to test main content fallback().
system_test_menu Implements hook_menu().
system_test_modules_disabled Implements hook_modules_disabled().
system_test_modules_enabled Implements hook_modules_enabled().
system_test_modules_installed Implements hook_modules_installed().
system_test_modules_uninstalled Implements hook_modules_uninstalled().
system_test_multiple_redirects Menu callback; sends a redirect header to itself until $count argument is 0.
system_test_page_shutdown_functions A simple page callback which adds a register shutdown function.
system_test_redirect
system_test_redirect_invalid_scheme
system_test_redirect_noparse
system_test_redirect_noscheme
system_test_redirect_protocol_relative Redirects to protocol-relative URL.
system_test_request_destination Page callback to print out $_REQUEST['destination'] for testing.
system_test_set_header
system_test_sleep Menu callback; Delay the return of a response, simulating a heavy page.
system_test_system_info_alter Implements hook_system_info_alter().
_system_test_first_shutdown_function Dummy shutdown function which registers another shutdown function.
_system_test_second_shutdown_function Dummy shutdown function.

Classes

Namesort descending Description
SystemTestFileTransfer Mock FileTransfer object to test the settings form functionality.