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. 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
TransitionTest class core/modules/workflows/tests/src/Unit/TransitionTest.php @coversDefaultClass \Drupal\workflows\Transition[[api-linebreak]]
TransitionTest.php file core/modules/workflows/tests/src/Unit/TransitionTest.php
TransitionTest::testFromAndTo function core/modules/workflows/tests/src/Unit/TransitionTest.php @covers ::from[[api-linebreak]]
@covers ::to[[api-linebreak]]
TransitionTest::testGetters function core/modules/workflows/tests/src/Unit/TransitionTest.php @covers ::__construct[[api-linebreak]]
@covers ::id[[api-linebreak]]
@covers ::label[[api-linebreak]]
TranslatableFieldTest class core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Tests Layout Builder with a translatable layout field.
TranslatableFieldTest.php file core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php
TranslatableFieldTest::$modules property core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Modules to enable.
TranslatableFieldTest::setUp function core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php
TranslatableFieldTest::testSectionsClearedOnCreateTranslation function core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Tests that sections on cleared when creating a new translation.
TranslatableMarkupTest class core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Tests the TranslatableMarkup class.
TranslatableMarkupTest.php file core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php
TranslatableMarkupTest::$lastErrorMessage property core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php The error message of the last error in the error handler.
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 enable.
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 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

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