Search for test

  1. Search 9.5.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Other projects
Title Object type File name Summary
FileURLRewritingTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileURLRewritingTest::testPublicCreatedFileURL function modules/simpletest/tests/file.test Test the generating of rewritten public created file URLs.
FileURLRewritingTest::testShippedFileURL function modules/simpletest/tests/file.test Test the generating of rewritten shipped file URLs.
FileUsageTest class modules/simpletest/tests/file.test Tests file usage functions.
FileUsageTest::getInfo function modules/simpletest/tests/file.test
FileUsageTest::testAddUsage function modules/simpletest/tests/file.test Tests file_usage_add().
FileUsageTest::testGetUsage function modules/simpletest/tests/file.test Tests file_usage_list().
FileUsageTest::testRemoveUsage function modules/simpletest/tests/file.test Tests file_usage_delete().
FileValidateTest class modules/simpletest/tests/file.test Tests the file_validate() function..
FileValidateTest::getInfo function modules/simpletest/tests/file.test
FileValidateTest::testCallerValidation function modules/simpletest/tests/file.test Test that the validators passed into are checked.
FileValidateTest::testInsecureExtensions function modules/simpletest/tests/file.test Tests hard-coded security check in file_validate().
FileValidatorTest class modules/simpletest/tests/file.test This will run tests against the file validation functions (file_validate_*).
FileValidatorTest::$image property modules/simpletest/tests/file.test
FileValidatorTest::$non_image property modules/simpletest/tests/file.test
FileValidatorTest::getInfo function modules/simpletest/tests/file.test
FileValidatorTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileValidatorTest::testFileValidateExtensions function modules/simpletest/tests/file.test Test the file_validate_extensions() function.
FileValidatorTest::testFileValidateImageResolution function modules/simpletest/tests/file.test This ensures the resolution of a specific file is within bounds.
The image will be resized if it's too large.
FileValidatorTest::testFileValidateIsImage function modules/simpletest/tests/file.test This ensures a specific file is actually an image.
FileValidatorTest::testFileValidateNameLength function modules/simpletest/tests/file.test This will ensure the filename length is valid.
FileValidatorTest::testFileValidateSize function modules/simpletest/tests/file.test Test file_validate_size().
file_module_test.info file modules/file/tests/file_module_test.info name = File test
description = Provides hooks for testing File module functionality.
package = Core
version = VERSION
core = 7.x
hidden = TRUE
file_module_test.module file modules/file/tests/file_module_test.module Provides File module pages for testing purposes.
file_module_test_file_download function modules/file/tests/file_module_test.module Implements hook_file_download().
file_module_test_form function modules/file/tests/file_module_test.module Form constructor for testing a 'managed_file' element.
file_module_test_form_submit function modules/file/tests/file_module_test.module Form submission handler for file_module_test_form().
file_module_test_menu function modules/file/tests/file_module_test.module Implements hook_menu().
file_test.info file modules/simpletest/tests/file_test.info name = "File test"
description = "Support module for file handling tests."
package = Testing
version = VERSION
core = 7.x
files[] = file_test.module
hidden = TRUE
file_test.module file modules/simpletest/tests/file_test.module Helper module for the file tests.
file_test_file_copy function modules/simpletest/tests/file_test.module Implements hook_file_copy().
file_test_file_delete function modules/simpletest/tests/file_test.module Implements hook_file_delete().
file_test_file_download function modules/simpletest/tests/file_test.module Implements hook_file_download().
file_test_file_insert function modules/simpletest/tests/file_test.module Implements hook_file_insert().
file_test_file_load function modules/simpletest/tests/file_test.module Implements hook_file_load().
file_test_file_mimetype_mapping_alter function modules/simpletest/tests/file_test.module Implements hook_file_mimetype_mapping_alter().
file_test_file_move function modules/simpletest/tests/file_test.module Implements hook_file_move().
file_test_file_scan_callback function modules/simpletest/tests/file.test Helper function for testing file_scan_directory().
file_test_file_scan_callback_reset function modules/simpletest/tests/file.test Reset static variables used by file_test_file_scan_callback().
file_test_file_update function modules/simpletest/tests/file_test.module Implements hook_file_update().
file_test_file_url_alter function modules/simpletest/tests/file_test.module Implements hook_file_url_alter().
file_test_file_validate function modules/simpletest/tests/file_test.module Implements hook_file_validate().
file_test_get_all_calls function modules/simpletest/tests/file_test.module Get an array with the calls for all hooks.
file_test_get_calls function modules/simpletest/tests/file_test.module Get the arguments passed to invocation of a given hook since
file_test_reset() was last called.
file_test_menu function modules/simpletest/tests/file_test.module Implements hook_menu().
file_test_reset function modules/simpletest/tests/file_test.module Reset/initialize the history of calls to the file_* hooks.
file_test_set_return function modules/simpletest/tests/file_test.module Assign a return value for a given operation.
file_test_stream_wrappers function modules/simpletest/tests/file_test.module Implements hook_stream_wrappers().
file_test_validator function modules/simpletest/tests/file.test Helper validator that returns the $errors parameter.
FILE_URL_TEST_CDN_1 constant modules/simpletest/tests/file_test.module @file
Helper module for the file tests.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.