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 10.3.x for test
  5. Search 11.x for test
  6. 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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
FormCacheTest::$moduleHandler property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The mocked module handler.
FormCacheTest::$modules property core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Modules to install.
FormCacheTest::$requestPolicy property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php A policy rule determining the cacheability of a request.
FormCacheTest::$requestStack property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The request stack.
FormCacheTest::setUp function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php
FormCacheTest::setUp function core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
FormCacheTest::setUpMockAccount function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Reinitializes the account as a mock object.
FormCacheTest::setUpMockCsrfTokenGenerator function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Reinitializes the CSRF token generator as a mock object.
FormCacheTest::setUpMockFormCacheStore function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Reinitializes the form cache store as a mock object.
FormCacheTest::setUpMockFormStateCacheStore function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Reinitializes the form state cache store as a mock object.
FormCacheTest::setUpMockLogger function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Reinitializes the logger as a mock object.
FormCacheTest::testCacheCustomExpiration function core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Tests the form cache with an overridden cache expiration.
FormCacheTest::testCacheToken function core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Tests the form cache with a logged-in user.
FormCacheTest::testDeleteCache function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests delete cache.
FormCacheTest::testGetCacheAnonUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache anon user.
FormCacheTest::testGetCacheAuthUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache auth user.
FormCacheTest::testGetCacheInvalidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache invalid token.
FormCacheTest::testGetCacheNoForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache no form.
FormCacheTest::testGetCacheValidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache valid token.
FormCacheTest::testLoadCachedFormState function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests load cached form state.
FormCacheTest::testLoadCachedFormStateWithFiles function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests load cached form state with files.
FormCacheTest::testNoCacheToken function core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Tests the form cache without a logged-in user.
FormCacheTest::testSetCacheAuthUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests set cache auth user.
FormCacheTest::testSetCacheBuildIdMismatch function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests set cache build id mismatch.
FormCacheTest::testSetCacheWithForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests set cache with form.
FormCacheTest::testSetCacheWithoutForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests set cache without form.
FormDefaultHandlersTest class core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Tests automatically added form handlers.
FormDefaultHandlersTest.php file core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::buildForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form constructor.
FormDefaultHandlersTest::customSubmitForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::customValidateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Returns a unique string identifying the form.
FormDefaultHandlersTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form submission handler.
FormDefaultHandlersTest::testDefaultAndCustomHandlers function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Tests that default handlers are added even if custom are specified.
FormDefaultHandlersTest::testValueCallbackInvalidDefinitionThrows function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Tests that an unresolvable #value_callback throws an exception.
FormDefaultHandlersTest::testValueCallbackServiceNotation function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Tests a #value_callback defined using service notation.
FormDefaultHandlersTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form validation handler.
FormElementHelperTest class core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php Tests the form element helper.
FormElementHelperTest.php file core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php
FormElementHelperTest::getElementByNameProvider function core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php Provides test data.
FormElementHelperTest::getElementTitleProvider function core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php Provides test data.
FormElementHelperTest::testGetElementByName function core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php Tests the getElementByName() method.
FormElementHelperTest::testGetElementTitle function core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php Tests the getElementTitle() method.
FormElementInlineErrorTest class core/modules/inline_form_errors/tests/src/Kernel/FormElementInlineErrorTest.php Tests messages on form elements.
FormElementInlineErrorTest.php file core/modules/inline_form_errors/tests/src/Kernel/FormElementInlineErrorTest.php
FormElementInlineErrorTest::$modules property core/modules/inline_form_errors/tests/src/Kernel/FormElementInlineErrorTest.php Modules to install.
FormElementInlineErrorTest::testDisplayErrorMessagesNotInline function core/modules/inline_form_errors/tests/src/Kernel/FormElementInlineErrorTest.php Tests that no inline form errors are shown when disabled for a form.
FormElementLabelTest class core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php Tests for form_element_label theme hook.
FormElementLabelTest.php file core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php
FormElementLabelTest::$modules property core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php Modules to install.

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