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
FormatDateTest::testMigrateExceptionBadFormat function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that date format mismatches will throw an exception.
FormatDateTest::testMigrateExceptionMissingFromFormat function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that missing configuration will throw an exception.
FormatDateTest::testMigrateExceptionMissingToFormat function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that missing configuration will throw an exception.
FormatDateTest::testMigrateExceptionUnexpectedValue function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests that an unexpected date value will throw an exception.
FormatDateTest::testTransform function core/modules/migrate/tests/src/Unit/process/FormatDateTest.php Tests transformation.
FormattableMarkupKernelTest class core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Provides a test covering integration of FormattableMarkup with other systems.
FormattableMarkupKernelTest.php file core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php
FormattableMarkupKernelTest::$modules property core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Modules to install.
FormattableMarkupKernelTest::getFormattableMarkupUriArgs function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Gets arguments for FormattableMarkup based on Url::fromUri() parameters.
FormattableMarkupKernelTest::providerTestFormattableMarkupUri function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php
FormattableMarkupKernelTest::providerTestFormattableMarkupUriWithException function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php
FormattableMarkupKernelTest::testFormattableMarkupUri function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php Tests URL ":placeholders" in \Drupal\Component\Render\FormattableMarkup.
FormattableMarkupKernelTest::testFormattableMarkupUriWithExceptionUri function core/tests/Drupal/KernelTests/Component/Render/FormattableMarkupKernelTest.php @dataProvider providerTestFormattableMarkupUriWithException
FormattableMarkupTest class core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Tests the TranslatableMarkup class.
FormattableMarkupTest.php file core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php
FormattableMarkupTest::$lastErrorMessage property core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php The error message of the last error in the error handler.
FormattableMarkupTest::$lastErrorNumber property core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php The error number of the last error in the error handler.
FormattableMarkupTest::errorHandler function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Custom error handler that saves the last error.
FormattableMarkupTest::providerTestNullPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Data provider for FormattableMarkupTest::testNullPlaceholder().
FormattableMarkupTest::providerTestUnexpectedPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php Data provider for FormattableMarkupTest::testUnexpectedPlaceholder().
FormattableMarkupTest::testCount function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::count[[api-linebreak]]
FormattableMarkupTest::testNullPlaceholder function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString[[api-linebreak]]
@dataProvider providerTestNullPlaceholder
@group legacy
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
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::testGetAjaxRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm[[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.

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