Search for test
Title | Object type | File name | Summary |
---|---|---|---|
FormsTestCase::testRequiredCheckboxesRadio | function | modules/ |
Tests validation for required checkbox, select, and radio elements. |
FormsTestCase::testRequiredFields | function | modules/ |
Check several empty values for required forms elements. |
FormsTestCase::testRequiredTextfieldNoTitle | function | modules/ |
Tests validation for required textfield element without title. |
FormsTestCase::testSelect | function | modules/ |
Tests validation of #type 'select' elements. |
FormsTestCase::testTextfieldStringValue | function | modules/ |
Tests that submitted values are converted to scalar strings for textfields. |
FormsTriggeringElementTestCase | class | modules/ |
Test that FAPI correctly determines $form_state['triggering_element']. |
FormsTriggeringElementTestCase::getInfo | function | modules/ |
|
FormsTriggeringElementTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FormsTriggeringElementTestCase::testAttemptAccessControlBypass | function | modules/ |
Test that $form_state['triggering_element'] does not get set to a button with #access=FALSE. |
FormsTriggeringElementTestCase::testNoButtonInfoInPost | function | modules/ |
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/ |
Tests for form textarea. |
FormTextareaTestCase::getInfo | function | modules/ |
|
FormTextareaTestCase::testValueCallback | function | modules/ |
Tests that textarea value is properly set. |
FormValidationTestCase | class | modules/ |
Test form validation handlers. |
FormValidationTestCase::getInfo | function | modules/ |
|
FormValidationTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FormValidationTestCase::testDisabledToken | function | modules/ |
Tests that a form with a disabled CSRF token can be validated. |
FormValidationTestCase::testMultiFormSameNameErrorClass | function | modules/ |
Tests error border of multiple fields with same name in a page. |
FormValidationTestCase::testValidate | function | modules/ |
Tests form alterations by #element_validate, #validate, and form_set_value(). |
FormValidationTestCase::testValidateLimitErrors | function | modules/ |
Tests partial form validation through #limit_validation_errors. |
form_label_test_form | function | modules/ |
A form for testing form labels and required marks. |
form_storage_test_form_continue_submit | function | modules/ |
Form submit handler to continue multi-step form. |
form_test.file.inc | file | modules/ |
An include file to test loading it with the form API. |
form_test.info | file | modules/ |
name = "FormAPI Test" description = "Support module for Form API tests." package = Testing version = VERSION core = 7.x hidden = TRUE |
form_test.module | file | modules/ |
Helper module for the form API tests. |
form_test_alter_form | function | modules/ |
Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter(). |
form_test_cache_form | function | modules/ |
A simple form for testing form caching. |
form_test_checkboxes_radios | function | modules/ |
Form constructor to test expansion of #type checkboxes and radios. |
form_test_checkboxes_zero | function | modules/ |
|
form_test_checkbox_type_juggling | function | modules/ |
|
form_test_clicked_button | function | modules/ |
Form builder to test button click detection. |
form_test_clicked_button_submit | function | modules/ |
Form submit handler for the form_test_clicked_button() form. |
form_test_clicked_button_validate | function | modules/ |
Form validation handler for the form_test_clicked_button() form. |
form_test_double_form | function | modules/ |
Menu callback returns two instances of the same form. |
form_test_element_validate_name | function | modules/ |
Form element validation handler for 'name' in form_test_validate_form(). |
form_test_form_alter | function | modules/ |
Implements hook_form_alter(). |
form_test_form_form_test_alter_form_alter | function | modules/ |
Implements hook_form_FORM_ID_alter(). |
form_test_form_form_test_state_persist_alter | function | modules/ |
Implements hook_form_FORM_ID_alter(). |
form_test_form_rebuild_preserve_values_form | function | modules/ |
Form builder for testing preservation of values during a rebuild. |
form_test_form_rebuild_preserve_values_form_add_more | function | modules/ |
Button submit handler for form_test_form_rebuild_preserve_values_form(). |
form_test_form_rebuild_preserve_values_form_submit | function | modules/ |
Form submit handler for form_test_form_rebuild_preserve_values_form(). |
form_test_form_state_values_clean_advanced_form | function | modules/ |
Form constructor for the form_state_values_clean() test. |
form_test_form_state_values_clean_advanced_form_submit | function | modules/ |
Form submission handler for form_test_form_state_values_clean_advanced_form(). |
form_test_form_state_values_clean_form | function | modules/ |
Form builder for form_state_values_clean() test. |
form_test_form_state_values_clean_form_submit | function | modules/ |
Form submit handler for form_state_values_clean() test form. |
form_test_form_user_register_form_alter | function | modules/ |
Implements hook_form_FORM_ID_alter() for the registration form. |
form_test_html_id | function | modules/ |
Builds a simple form to test duplicate HTML IDs. |
form_test_limit_validation_errors_element_validate_test | function | modules/ |
Form element validation handler for the 'test' element. |
form_test_limit_validation_errors_form | function | modules/ |
Builds a simple form with a button triggering partial validation. |
form_test_limit_validation_errors_form_partial_submit | function | modules/ |
Form submit handler for the partial validation submit button. |
Pagination
- Previous page
- Page 45
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.