Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 11.x for test
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
FormTestVerticalTabsForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php
FormTestVerticalTabsForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php Form constructor.
FormTestVerticalTabsForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php Returns a unique string identifying the form.
FormTestVerticalTabsForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsForm.php Form submission handler.
FormValidationMessageOrderTest class core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Tests form validation messages are displayed in the same order as the fields.
FormValidationMessageOrderTest.php file core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php
FormValidationMessageOrderTest::buildForm function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Form constructor.
FormValidationMessageOrderTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Returns a unique string identifying the form.
FormValidationMessageOrderTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Form submission handler.
FormValidationMessageOrderTest::testValidationErrorMessagesSortedWithWeight function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Tests that fields validation messages are sorted in the fields order.
FormValidationMessageOrderTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php Form validation handler.
FormValidatorTest class core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @coversDefaultClass \Drupal\Core\Form\FormValidator[[api-linebreak]]
@group Form
FormValidatorTest.php file core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::$csrfToken property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php The CSRF token generator to validate the form token.
FormValidatorTest::$formErrorHandler property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php The form error handler.
FormValidatorTest::$logger property core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php A logger instance.
FormValidatorTest::providerTestHandleErrorsWithLimitedValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::providerTestPerformRequiredValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::providerTestRequiredErrorMessage function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::setUp function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::testElementValidate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::doValidateForm[[api-linebreak]]
FormValidatorTest::testExecuteValidateHandlers function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::executeValidateHandlers[[api-linebreak]]
FormValidatorTest::testHandleErrorsWithLimitedValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::handleErrorsWithLimitedValidation[[api-linebreak]]
FormValidatorTest::testMustValidate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'must_validate' $form_state flag.
FormValidatorTest::testPerformRequiredValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::performRequiredValidation[[api-linebreak]]
FormValidatorTest::testPreventDuplicateValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'must_validate' $form_state flag.
FormValidatorTest::testRequiredErrorMessage function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::doValidateForm[[api-linebreak]]
FormValidatorTest::testValidateInvalidFormToken function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::validateForm[[api-linebreak]]
FormValidatorTest::testValidateValidFormToken function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::validateForm[[api-linebreak]]
FormValidatorTest::testValidationComplete function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Tests the 'validation_complete' $form_state flag.
FormValidatorTestMockInterface interface core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Interface used in the mocking process of this test.
FormValidatorTestMockInterface::element_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
FormValidatorTestMockInterface::hash_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
FormValidatorTestMockInterface::validate_handler function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
FormValuesTest class core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Tests that form values are properly delivered to AJAX callbacks.
FormValuesTest.php file core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php
FormValuesTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php The theme to install as the default for testing.
FormValuesTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Modules to install.
FormValuesTest::formModeProvider function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Data provider for testSimpleAjaxFormValue.
FormValuesTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php
FormValuesTest::testSimpleAjaxFormValue function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Submits forms with select and checkbox elements via Ajax.
FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Tests that AJAX elements with invalid callbacks return error code 500.
form_base_test.inc file core/tests/Drupal/Tests/Core/Form/fixtures/form_base_test.inc
form_test.event_subscriber service core/modules/system/tests/modules/form_test/form_test.services.yml Drupal\form_test\EventSubscriber\FormTestEventSubscriber
form_test.form.service_form service core/modules/system/tests/modules/form_test/form_test.services.yml Drupal\form_test\FormTestServiceObject
form_test.http_middleware service core/modules/system/tests/modules/form_test/form_test.services.yml Drupal\form_test\StackMiddleware\FormTestMiddleware
form_test.info.yml file core/modules/system/tests/modules/form_test/form_test.info.yml core/modules/system/tests/modules/form_test/form_test.info.yml
form_test.module file core/modules/system/tests/modules/form_test/form_test.module Helper module for the form API tests.
form_test.permissions.yml file core/modules/system/tests/modules/form_test/form_test.permissions.yml core/modules/system/tests/modules/form_test/form_test.permissions.yml
form_test.routing.yml file core/modules/system/tests/modules/form_test/form_test.routing.yml core/modules/system/tests/modules/form_test/form_test.routing.yml

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