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 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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
TranslatedViewTest class core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Tests that translated strings in views UI don't override original strings.
TranslatedViewTest.php file core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
TranslatedViewTest::$adminUser property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Administrator user for tests.
TranslatedViewTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php The theme to install as the default for testing.
TranslatedViewTest::$langcodes property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Languages to enable.
TranslatedViewTest::$modules property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Modules to install.
TranslatedViewTest::setUp function core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Sets up the test.
TranslatedViewTest::testTranslatedStrings function core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Tests view translation.
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 install.
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 Tests Drupal\Core\StringTranslation\TranslationManager.
TranslationManagerTest.php file core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php
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 Tests format plural.
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 install.
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 install.
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/tests/Drupal/Tests/Core/Annotation/TranslationTest.php Tests Drupal\Core\Annotation\Translation.
TranslationTest class core/modules/field/tests/src/Kernel/TranslationTest.php Tests multilingual fields logic.
TranslationTest.php file core/modules/field/tests/src/Kernel/TranslationTest.php
TranslationTest.php file core/tests/Drupal/Tests/Core/Annotation/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 install.
TranslationTest::$translationManager property core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php The translation manager used for testing.

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