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
TranslatableMarkupTest::$lastErrorNumber property core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php The error number of the last error in the error handler.
TranslatableMarkupTest::errorHandler function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Custom error handler that saves the last error.
TranslatableMarkupTest::testIsStringAssertion function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php @covers ::__construct[[api-linebreak]]
TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php @covers ::__construct[[api-linebreak]]
TranslatableMarkupTest::testToString function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Tests that errors are correctly handled when a __toString() fails.
TranslatableRevisionableInterface::isLatestTranslationAffectedRevision function core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Checks whether this is the latest revision affecting this translation.
TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId function core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php Returns the latest revision affecting the specified translation.
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
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 @coversDefaultClass \Drupal\Core\StringTranslation\TranslationManager[[api-linebreak]]
@group StringTranslation
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 @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 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/modules/field/tests/src/Kernel/TranslationTest.php Tests multilingual 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.

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