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. Search main 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.

All search results

Title Object type File name Summary
TranslationInterface::translateString function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Translates a TranslatableMarkup object to a string.
TranslationLinkTest class core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Tests the content translation overview link field handler.
TranslationLinkTest.php file core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
TranslationLinkTest::$defaultTheme property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php The theme to install as the default for testing.
TranslationLinkTest::$modules property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Modules to enable.
TranslationLinkTest::$testViews property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Views used by this test.
TranslationLinkTest::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Returns an array of permissions needed for the translator.
TranslationLinkTest::setUp function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
TranslationLinkTest::testTranslationLink function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Tests the content translation overview link field handler.
TranslationManager::translateString function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Translates a TranslatableMarkup object to a string.
TranslationManagerTest class core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @coversDefaultClass \Drupal\Core\StringTranslation\TranslationManager[[api-linebreak]]
@group StringTranslation
TranslationManagerTest.php file core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Contains \Drupal\Tests\Core\StringTranslation\TranslationManagerTest.
TranslationManagerTest::$translationManager property core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php The tested translation manager.
TranslationManagerTest::providerTestFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides some test data for formatPlural()
TranslationManagerTest::providerTestTranslatePlaceholder function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides test data for translate().
TranslationManagerTest::setUp function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
TranslationManagerTest::testFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @dataProvider providerTestFormatPlural
TranslationManagerTest::testTranslatePlaceholder function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Tests translation using placeholders.
TranslationsTest class core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Tests media library for translatable media.
TranslationsTest.php file core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php
TranslationsTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php The theme to install as the default for testing.
TranslationsTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Modules to enable.
TranslationsTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php
TranslationsTest::testMediaLibraryTranslations function core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Tests the media library widget shows all media only once.
TranslationStringTest class core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Tests the TranslatableMarkup class.
TranslationStringTest.php file core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::$modules property core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Modules to enable.
TranslationStringTest::rebootAndPrepareSettings function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Reboots the kernel to set custom translations in Settings.
TranslationStringTest::setUp function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::testComparison function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Tests that TranslatableMarkup objects can be compared.
TranslationTest class core/modules/field/tests/src/Kernel/TranslationTest.php Tests multilanguage fields logic.
TranslationTest class core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php @coversDefaultClass \Drupal\Core\Annotation\Translation[[api-linebreak]]
@group Annotation
TranslationTest.php file core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
TranslationTest.php file core/modules/field/tests/src/Kernel/TranslationTest.php
TranslationTest::$entityType property core/modules/field/tests/src/Kernel/TranslationTest.php The name of the entity type to use in this test.
TranslationTest::$field property core/modules/field/tests/src/Kernel/TranslationTest.php The field to use in this test.
TranslationTest::$fieldDefinition property core/modules/field/tests/src/Kernel/TranslationTest.php An array defining the field to use in this test.
TranslationTest::$fieldName property core/modules/field/tests/src/Kernel/TranslationTest.php The name of the field to use in this test.
TranslationTest::$fieldStorage property core/modules/field/tests/src/Kernel/TranslationTest.php The field storage to use in this test.
TranslationTest::$fieldStorageDefinition property core/modules/field/tests/src/Kernel/TranslationTest.php An array defining the field storage to use in this test.
TranslationTest::$modules property core/modules/field/tests/src/Kernel/TranslationTest.php Modules to enable.
TranslationTest::$translationManager property core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php The translation manager used for testing.
TranslationTest::providerTestGet function core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php Provides data to self::testGet().
TranslationTest::setUp function core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
TranslationTest::setUp function core/modules/field/tests/src/Kernel/TranslationTest.php Set the default field storage backend for fields created during tests.
TranslationTest::testFieldAccess function core/modules/field/tests/src/Kernel/TranslationTest.php Tests field access.
TranslationTest::testGet function core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php @covers ::get[[api-linebreak]]
TranslationTest::testTranslatableFieldSaveLoad function core/modules/field/tests/src/Kernel/TranslationTest.php Test translatable fields storage/retrieval.
TranslationWebTest class core/modules/field/tests/src/Functional/TranslationWebTest.php Tests multilanguage fields logic that require a full environment.
TranslationWebTest.php file core/modules/field/tests/src/Functional/TranslationWebTest.php

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