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
FormsTestCase::testRequiredCheckboxesRadio function modules/simpletest/tests/form.test Tests validation for required checkbox, select, and radio elements.
FormsTestCase::testRequiredFields function modules/simpletest/tests/form.test Check several empty values for required forms elements.
FormsTestCase::testRequiredTextfieldNoTitle function modules/simpletest/tests/form.test Tests validation for required textfield element without title.
FormsTestCase::testSelect function modules/simpletest/tests/form.test Tests validation of #type 'select' elements.
FormsTestCase::testTextfieldStringValue function modules/simpletest/tests/form.test Tests that submitted values are converted to scalar strings for textfields.
FormsTriggeringElementTestCase class modules/simpletest/tests/form.test Test that FAPI correctly determines $form_state['triggering_element'].
FormsTriggeringElementTestCase::getInfo function modules/simpletest/tests/form.test
FormsTriggeringElementTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsTriggeringElementTestCase::testAttemptAccessControlBypass function modules/simpletest/tests/form.test Test that $form_state['triggering_element'] does not get set to a button
with #access=FALSE.
FormsTriggeringElementTestCase::testNoButtonInfoInPost function modules/simpletest/tests/form.test Test the determination of $form_state['triggering_element'] when no button
information is included in the POST data, as is sometimes the case when
the ENTER key is pressed in a textfield in Internet Explorer.
FormTextareaTestCase class modules/simpletest/tests/form.test Tests for form textarea.
FormTextareaTestCase::getInfo function modules/simpletest/tests/form.test
FormTextareaTestCase::testValueCallback function modules/simpletest/tests/form.test Tests that textarea value is properly set.
FormValidationTestCase class modules/simpletest/tests/form.test Test form validation handlers.
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.

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