Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.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
FormBuilderTest::testUniqueHtmlId function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that HTML IDs are unique when rebuilding a form with errors.
FormBuilderTest::testValueCallableIsSafe function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::valueCallableIsSafe[[api-linebreak]]
FormCacheTest class core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @coversDefaultClass \Drupal\Core\Form\FormCache[[api-linebreak]]
@group Form
FormCacheTest class core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php Tests \Drupal::formBuilder()->setCache() and
\Drupal::formBuilder()->getCache().
FormCacheTest.php file core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
FormCacheTest.php file core/tests/Drupal/Tests/Core/Form/FormCacheTest.php
FormCacheTest::$account property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The current user.
FormCacheTest::$csrfToken property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The CSRF token generator.
FormCacheTest::$form property core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
FormCacheTest::$formBuildId property core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
FormCacheTest::$formCache property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The form cache object under test.
FormCacheTest::$formCacheStore property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value store used by form cache.
FormCacheTest::$formState property core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
FormCacheTest::$formStateCacheStore property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value store used by form state cache.
FormCacheTest::$keyValueExpirableFactory property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value factory.
FormCacheTest::$logger property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The logger channel.
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 enable.
FormCacheTest::$preserveGlobalState property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php
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::$runTestInSeparateProcess property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php
FormCacheTest::setUp function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php
FormCacheTest::setUp function core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
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 @covers ::deleteCache[[api-linebreak]]
FormCacheTest::testGetCacheAnonUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testGetCacheAuthUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testGetCacheImmutableForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testGetCacheInvalidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testGetCacheNoForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testGetCacheValidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache[[api-linebreak]]
FormCacheTest::testLoadCachedFormState function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::loadCachedFormState[[api-linebreak]]
FormCacheTest::testLoadCachedFormStateWithFiles function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::loadCachedFormState[[api-linebreak]]
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 @covers ::setCache[[api-linebreak]]
FormCacheTest::testSetCacheBuildIdMismatch function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::setCache[[api-linebreak]]
FormCacheTest::testSetCacheWithForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::setCache[[api-linebreak]]
FormCacheTest::testSetCacheWithoutForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::setCache[[api-linebreak]]
FormControllerTest class core/tests/Drupal/Tests/Core/Controller/FormControllerTest.php Tests the FormController class.
FormControllerTest.php file core/tests/Drupal/Tests/Core/Controller/FormControllerTest.php
FormControllerTest::testControllerResolverDeprecation function core/tests/Drupal/Tests/Core/Controller/FormControllerTest.php @expectedDeprecation Using the 'controller_resolver' service as the first argument is deprecated, use the 'http_kernel.controller.argument_resolver' instead. If your subclass requires the 'controller_resolver' service add…
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::$modules property core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Modules to enable.
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.

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