Helper module for the file tests.

The caller is must call file_test_reset() to initializing this module before calling file_test_get_calls() or file_test_set_return().

File

modules/simpletest/tests/file_test.module

Functions

Namesort descending Description
file_test_autoload_info Implements hook_autoload_info().
file_test_file_copy Implements hook_file_copy().
file_test_file_download Implements hook_file_download().
file_test_file_insert Implements hook_file_insert().
file_test_file_load Implements hook_file_load().
file_test_file_mimetype_mapping_alter Implements hook_file_mimetype_mapping_alter().
file_test_file_move Implements hook_file_move().
file_test_file_predelete Implements hook_file_predelete().
file_test_file_update Implements hook_file_update().
file_test_file_url_alter Implements hook_file_url_alter().
file_test_file_validate Implements hook_file_validate().
_file_test_form Form to test file uploads.
_file_test_form_submit Process the upload.
file_test_get_all_calls Get an array with the calls for all hooks.
file_test_get_calls Get the arguments passed to invocation of a given hook since file_test_reset() was last called.
_file_test_get_return Load the appropriate return value.
_file_test_log_call Store the values passed to a hook invocation.
file_test_menu Implements hook_menu().
file_test_reset Reset/initialize the history of calls to the file_* hooks.
file_test_set_return Assign a return value for a given operation.
file_test_stream_wrappers Implements hook_stream_wrappers().

Constants