Search for test

  1. Search 7.x for test
  2. Search 8.9.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
FormattableMarkupTest::testToString function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString[[api-linebreak]]
@covers ::jsonSerialize[[api-linebreak]]
FormattableMarkupTest::testUnexpectedPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString[[api-linebreak]]
@dataProvider providerTestUnexpectedPlaceholder
FormatterPluginManagerTest class core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php Tests the field formatter plugin manager.
FormatterPluginManagerTest.php file core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php
FormatterPluginManagerTest::testNotApplicableFallback function core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php Tests that getInstance falls back on default if current is not applicable.
FormBuilderTest class core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @coversDefaultClass \Drupal\Core\Form\FormBuilder[[api-linebreak]]
@group Form
FormBuilderTest.php file core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Contains \Drupal\Tests\Core\Form\FormBuilderTest.
FormBuilderTest::$container property core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php The dependency injection container.
FormBuilderTest::formStateResponseProvider function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Provides test data for testHandleFormStateResponse().
FormBuilderTest::providerTestBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for ::testBuildFormWithTriggeringElement().
FormBuilderTest::providerTestChildAccessInheritance function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for testChildAccessInheritance.
FormBuilderTest::providerTestFormTokenCacheability function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for testFormTokenCacheability.
FormBuilderTest::providerTestInvalidToken function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::providerTestValueCallableIsSafe function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::setUp function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::testBuildFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a class name based form ID.
FormBuilderTest::testBuildFormWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a form object.
FormBuilderTest::testBuildFormWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a string based form ID.
FormBuilderTest::testBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests whether the triggering element is properly identified.
FormBuilderTest::testChildAccessInheritance function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm[[api-linebreak]]
FormBuilderTest::testExceededFileSize function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm[[api-linebreak]]
FormBuilderTest::testFormCacheDeletionCached function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that a cached form is deleted after submit.
FormBuilderTest::testFormCacheDeletionUncached function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that an uncached form does not trigger cache set or delete.
FormBuilderTest::testFormTokenCacheability function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::prepareForm[[api-linebreak]]
FormBuilderTest::testGetCache function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getCache() method.
FormBuilderTest::testGetFormIdWithBaseForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a base form object.
FormBuilderTest::testGetFormIdWithClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a class name form ID.
FormBuilderTest::testGetFormIdWithInjectedClassName function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with an injected class name form ID.
FormBuilderTest::testGetFormIdWithNonFormClass function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::getFormId[[api-linebreak]]
FormBuilderTest::testGetFormIdWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a form object.
FormBuilderTest::testGetFormIdWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a string based form ID.
FormBuilderTest::testGetFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a class name based form ID.
FormBuilderTest::testGetFormWithObject function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a form object.
FormBuilderTest::testGetFormWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a string based form ID.
FormBuilderTest::testGetPostAjaxRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm[[api-linebreak]]
FormBuilderTest::testHandleFormStateResponse function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the handling of FormStateInterface::$response.
FormBuilderTest::testHandleRedirectWithResponse function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the handling of a redirect when FormStateInterface::$response exists.
FormBuilderTest::testInvalidToken function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::doBuildForm[[api-linebreak]]
FormBuilderTest::testRebuildForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the rebuildForm() method for a POST submission.
FormBuilderTest::testRebuildFormOnGetRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the rebuildForm() method for a GET submission.
FormBuilderTest::testUniqueElementHtmlId function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that HTML IDs are unique between 2 forms with the same element names.
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 FormBuilder caching.
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

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