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
FormValidationTestCase::getInfo function modules/simpletest/tests/form.test
FormValidationTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormValidationTestCase::testDisabledToken function modules/simpletest/tests/form.test Tests that a form with a disabled CSRF token can be validated.
FormValidationTestCase::testMultiFormSameNameErrorClass function modules/simpletest/tests/form.test Tests error border of multiple fields with same name in a page.
FormValidationTestCase::testValidate function modules/simpletest/tests/form.test Tests form alterations by #element_validate, #validate, and form_set_value().
FormValidationTestCase::testValidateLimitErrors function modules/simpletest/tests/form.test Tests partial form validation through #limit_validation_errors.
form_label_test_form function modules/simpletest/tests/form_test.module A form for testing form labels and required marks.
form_storage_test_form_continue_submit function modules/simpletest/tests/form_test.module Form submit handler to continue multi-step form.
form_test.file.inc file modules/simpletest/tests/form_test.file.inc An include file to test loading it with the form API.
form_test.info file modules/simpletest/tests/form_test.info name = "FormAPI Test"
description = "Support module for Form API tests."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
form_test.module file modules/simpletest/tests/form_test.module Helper module for the form API tests.
form_test_alter_form function modules/simpletest/tests/form_test.module Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter().
form_test_cache_form function modules/simpletest/tests/form_test.module A simple form for testing form caching.
form_test_checkboxes_radios function modules/simpletest/tests/form_test.module Form constructor to test expansion of #type checkboxes and radios.
form_test_checkboxes_zero function modules/simpletest/tests/form_test.module
form_test_checkbox_type_juggling function modules/simpletest/tests/form_test.module
form_test_clicked_button function modules/simpletest/tests/form_test.module Form builder to test button click detection.
form_test_clicked_button_submit function modules/simpletest/tests/form_test.module Form submit handler for the form_test_clicked_button() form.
form_test_clicked_button_validate function modules/simpletest/tests/form_test.module Form validation handler for the form_test_clicked_button() form.
form_test_double_form function modules/simpletest/tests/form_test.module Menu callback returns two instances of the same form.
form_test_element_validate_name function modules/simpletest/tests/form_test.module Form element validation handler for 'name' in form_test_validate_form().
form_test_form_alter function modules/simpletest/tests/form_test.module Implements hook_form_alter().
form_test_form_form_test_alter_form_alter function modules/simpletest/tests/form_test.module Implements hook_form_FORM_ID_alter().
form_test_form_form_test_state_persist_alter function modules/simpletest/tests/form_test.module Implements hook_form_FORM_ID_alter().
form_test_form_rebuild_preserve_values_form function modules/simpletest/tests/form_test.module Form builder for testing preservation of values during a rebuild.
form_test_form_rebuild_preserve_values_form_add_more function modules/simpletest/tests/form_test.module Button submit handler for form_test_form_rebuild_preserve_values_form().
form_test_form_rebuild_preserve_values_form_submit function modules/simpletest/tests/form_test.module Form submit handler for form_test_form_rebuild_preserve_values_form().
form_test_form_state_values_clean_advanced_form function modules/simpletest/tests/form_test.module Form constructor for the form_state_values_clean() test.
form_test_form_state_values_clean_advanced_form_submit function modules/simpletest/tests/form_test.module Form submission handler for form_test_form_state_values_clean_advanced_form().
form_test_form_state_values_clean_form function modules/simpletest/tests/form_test.module Form builder for form_state_values_clean() test.
form_test_form_state_values_clean_form_submit function modules/simpletest/tests/form_test.module Form submit handler for form_state_values_clean() test form.
form_test_form_user_register_form_alter function modules/simpletest/tests/form_test.module Implements hook_form_FORM_ID_alter() for the registration form.
form_test_html_id function modules/simpletest/tests/form_test.module Builds a simple form to test duplicate HTML IDs.
form_test_limit_validation_errors_element_validate_test function modules/simpletest/tests/form_test.module Form element validation handler for the 'test' element.
form_test_limit_validation_errors_form function modules/simpletest/tests/form_test.module Builds a simple form with a button triggering partial validation.
form_test_limit_validation_errors_form_partial_submit function modules/simpletest/tests/form_test.module Form submit handler for the partial validation submit button.
form_test_load_include_custom function modules/simpletest/tests/form_test.module Menu callback for testing custom form includes.
form_test_load_include_menu function modules/simpletest/tests/form_test.file.inc Form constructor for testing FAPI file inclusion of the file specified in
hook_menu().
form_test_load_include_menu_ajax function modules/simpletest/tests/form_test.file.inc Ajax callback for the file inclusion via menu test.
form_test_load_include_submit function modules/simpletest/tests/form_test.file.inc Submit callback for the form API file inclusion test forms.
form_test_menu function modules/simpletest/tests/form_test.module Implements hook_menu().
form_test_programmatic_form function modules/simpletest/tests/form_test.module Form builder to test programmatic form submissions.
form_test_programmatic_form_submit function modules/simpletest/tests/form_test.module Form submit handler for programmatic form submissions.
form_test_programmatic_form_validate function modules/simpletest/tests/form_test.module Form validation handler for programmatic form submissions.
form_test_redirect function modules/simpletest/tests/form_test.module Form builder to detect form redirect.
form_test_redirect_submit function modules/simpletest/tests/form_test.module Form submit handler to test different redirect behaviours.
form_test_select function modules/simpletest/tests/form_test.module Builds a form to test #type 'select' validation.
form_test_select_submit function modules/simpletest/tests/form_test.module Form submit handler for form_test_select().
form_test_state_persist function modules/simpletest/tests/form_test.module Form constructor for testing form state persistence.
form_test_state_persist_submit function modules/simpletest/tests/form_test.module Submit handler.

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