You are here

43 calls to UnitTestCase::getStringTranslationStub() in Drupal 10

BaseFieldDefinitionTestBase::setUp in core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
BlockManagerTest::setUp in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.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.
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
FieldItemListTest::testDefaultValuesForm in core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php
@covers ::defaultValuesForm
FinalExceptionSubscriberTest::testOnExceptionWithUnknownFormat in core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php
@covers ::onException
FormTestBase::setUp in core/tests/Drupal/Tests/Core/Form/FormTestBase.php
FormValidatorTest::testElementValidate in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
@covers ::doValidateForm
FormValidatorTest::testExecuteValidateHandlers in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
@covers ::executeValidateHandlers
FormValidatorTest::testHandleErrorsWithLimitedValidation in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
@covers ::handleErrorsWithLimitedValidation
FormValidatorTest::testMustValidate in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
Tests the 'must_validate' $form_state flag.
FormValidatorTest::testPerformRequiredValidation in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
@covers ::performRequiredValidation
FormValidatorTest::testPreventDuplicateValidation in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
Tests the 'must_validate' $form_state flag.
FormValidatorTest::testRequiredErrorMessage in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
@covers ::doValidateForm
FormValidatorTest::testValidateInvalidFormToken in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
@covers ::validateForm
FormValidatorTest::testValidateValidFormToken in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
@covers ::validateForm
FormValidatorTest::testValidationComplete in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
Tests the 'validation_complete' $form_state flag.
ForumBreadcrumbBuilderBaseTest::testBuild in core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php
Tests ForumBreadcrumbBuilderBase::build().
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
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
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.
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization in core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
Tests serialization of PluralTranslatableMarkup().
RequiredModuleUninstallValidatorTest::setUp in core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php
ShortcutLocalTasksTest::setUp in core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.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.
UserLocalTasksTest::setUp in core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php
UserLocalTaskTest::setUp in core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php
UserLocalTaskTest::testGetDerivativeDefinitions in core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php
Tests the derivatives generated for local tasks.