Unit tests for the Backdrop Form API.

File

core/modules/simpletest/tests/form.test

Classes

Namesort ascending Description
SystemSettingsFormTest
HTMLIdTestCase Tests uniqueness of generated HTML IDs.
FormValidationTestCase Test form validation handlers.
FormUrlTestCase Tests url element.
FormTextareaTestCase Tests for form textarea.
FormsTriggeringElementTestCase Test that FAPI correctly determines $form_state['triggering_element'].
FormsTestCase
FormStateValuesCleanTestCase Test $form_state clearance.
FormStateValuesCleanAdvancedTestCase Tests $form_state clearance with form elements having buttons.
FormsRedirectTestCase Tests form redirection.
FormsRebuildTestCase Tests form rebuilding.
FormsProgrammaticTestCase Test the programmatic form submission behavior.
FormsFormWrapperTestCase Test wrapper form callbacks.
FormsFormStorageTestCase Test the form storage on a multistep form.
FormsFormStoragePageCacheTestCase Test the form storage when page caching for anonymous users is turned on.
FormsFormCacheTestCase Test cache_form.
FormsFileInclusionTestCase Tests form API file inclusion.
FormsElementsVerticalTabsFunctionalTest Test the vertical_tabs form element for expected behavior.
FormsElementsTableSelectFunctionalTest Test the tableselect form element for expected behavior.
FormsElementsLabelsTestCase Test form element labels, required markers and associated output.
FormsArbitraryRebuildTestCase Tests rebuilding of arbitrary forms by altering them.
FormResizableTextareaTestCase Test transition from old JS-based textarea resize to new CSS approach.
FormH5datetimeTestCase Tests html5 date and time elements.
FormEmailTestCase Tests email element.
FormElementTestCase Tests building and processing of core form elements.
FormCheckboxTestCase Tests checkbox element.
FormAlterTestCase Test form alter hooks.