You are here

49 calls to UnitTestCase::getStringTranslationStub() in Drupal 9

AggregatorPluginSettingsBaseTest::setUp in core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php
BaseFieldDefinitionTestBase::setUp in core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
BlockManagerTest::setUp in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php
BookManagerTest::setUp in core/modules/book/tests/src/Unit/BookManagerTest.php
BookUninstallValidatorTest::setUp in core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php
CategorizingPluginManagerTraitTest::setUp in core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php
CommentBulkFormTest::testConstructor in core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
Tests the constructor assignment of actions.
CommentLinkBuilderTest::setUp in core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
Prepares mocks for the test.
ConfigEntityMapperTest::setUp in core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php
ConfigFieldMapperTest::setUp in core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php
ConfigNamesMapperTest::setUp in core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
ContentTranslationLocalTasksTest::setUp in core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php
DateTest::setUp in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
EntityTypeTest::testGetBundleLabel in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
Tests the ::getBundleLabel() method.
EntityTypeTest::testGetCollectionLabel in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getCollectionLabel
EntityTypeTest::testGetCountLabel in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getCountLabel
EntityTypeTest::testGetCountLabelDefault in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getCountLabel
EntityTypeTest::testGetPluralLabel in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getPluralLabel
EntityTypeTest::testGetPluralLabelDefault in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getPluralLabel
EntityTypeTest::testGetSingularLabel in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getSingularLabel
EntityTypeTest::testGetSingularLabelDefault in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getSingularLabel
EntityViewsDataTest::setUp in core/modules/views/tests/src/Unit/EntityViewsDataTest.php
FieldItemListTest::testDefaultValuesForm in core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php
@covers ::defaultValuesForm
FieldUninstallValidatorTest::setUp in core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php
FilterHtmlTest::setUp in core/modules/filter/tests/src/Unit/FilterHtmlTest.php
FilterUninstallValidatorTest::setUp in core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php
FinalExceptionSubscriberTest::testOnExceptionWithUnknownFormat in core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php
@covers ::onException
FormAjaxSubscriberTest::setUp in core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php
ForumBreadcrumbBuilderBaseTest::testBuild in core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php
Tests ForumBreadcrumbBuilderBase::build().
ForumUninstallValidatorTest::setUp in core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php
HelpTopicDiscoveryTest::testHelpTopicsDefinition in core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php
@covers ::findAll
InOperatorTest::testValidate in core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php
@covers ::validate
LayoutPluginManagerTest::setUp in core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php
MailHandlerTest::setUp in core/modules/contact/tests/src/Unit/MailHandlerTest.php
MailManagerTest::setUpMailManager in core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
Sets up the mail manager for testing.
MenuLinkDefaultFormTest::testExtractFormValues in core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php
@covers ::extractFormValues
MigrateExecutableTest::setUp in core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php
MigrationStateUnitTest::testGetUpgradeStates in core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php
Tests ::getUpgradeStates.
ModuleRequiredByThemesUninstallValidatorTest::setUp in core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php
NodeBulkFormTest::testConstructor in core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php
Tests the constructor assignment of actions.
PathBasedBreadcrumbBuilderTest::setUp in core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
@covers ::__construct
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization in core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
Tests serialization of PluralTranslatableMarkup().
ProjectCoreCompatibilityTest::testSetProjectCoreCompatibilityRanges in core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php
@covers ::setReleaseMessage @dataProvider providerSetProjectCoreCompatibilityRanges
RequiredModuleUninstallValidatorTest::setUp in core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php
TranslatableMarkupTest::testIsStringAssertion in core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php
@covers ::__construct
TranslationTest::setUp in core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
UserBulkFormTest::testConstructor in core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
Tests the constructor assignment of actions.
ViewExecutableTest::setUp in core/modules/views/tests/src/Unit/ViewExecutableTest.php
ViewListBuilderTest::testBuildRowEntityList in core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
Tests the listing of displays on a views list builder.