85 string references to 'Test' in Drupal 9
- CacheableExceptionTest::testCacheableHttpException in core/
tests/ Drupal/ Tests/ Core/ Http/ CacheableExceptionTest.php - @covers \Drupal\Core\Http\Exception\CacheableHttpException
- config_translation_test.content.yml in core/
modules/ config_translation/ tests/ modules/ config_translation_test/ config/ install/ config_translation_test.content.yml - core/modules/config_translation/tests/modules/config_translation_test/config/install/config_translation_test.content.yml
- ContentModerationWorkflowTypeTest::testNewWorkflow in core/
modules/ content_moderation/ tests/ src/ Functional/ ContentModerationWorkflowTypeTest.php - Tests creating a new workflow using the content moderation plugin.
- ContentTranslationContextualLinksTest::testContentTranslationContextualLinks in core/
modules/ content_translation/ tests/ src/ FunctionalJavascript/ ContentTranslationContextualLinksTest.php - Tests that a contextual link is available for translating a node.
- ContentTranslationHandlerTest::providerTestEntityFormSharedElements in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationHandlerTest.php - Returns test cases for ::testEntityFormSharedElements().
- ContentTranslationSettingsTest::testFieldTranslatableSettingsUI in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationSettingsTest.php - Tests that field setting depends on bundle translatability.
- core.entity_view_mode.entity_test.test.yml in core/
modules/ system/ tests/ modules/ entity_test/ config/ install/ core.entity_view_mode.entity_test.test.yml - core/modules/system/tests/modules/entity_test/config/install/core.entity_view_mode.entity_test.test.yml
- DisplayVariantTest::providerTestGetConfiguration in core/
tests/ Drupal/ Tests/ Core/ Display/ DisplayVariantTest.php - Provides test data for testGetConfiguration().
- EditorIntegrationTest::testGetUntransformedTextCommand in core/
modules/ quickedit/ tests/ src/ Kernel/ EditorIntegrationTest.php - Tests GetUntransformedTextCommand AJAX command.
- EditorIntegrationTest::testMetadata in core/
modules/ quickedit/ tests/ src/ Kernel/ EditorIntegrationTest.php - Tests (custom) metadata when the formatted text editor is used.
- EntityFieldManagerTest::testGetBaseFieldDefinitionsTranslatableEntityTypeLangcode in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php - Tests the getBaseFieldDefinitions() method with a translatable entity type.
- EntityFormModeResourceTestBase::createEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityFormModeResourceTestBase.php - Creates the entity to be tested.
- EntityFormModeResourceTestBase::getExpectedNormalizedEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityFormModeResourceTestBase.php - Returns the expected normalization of the entity.
- EntityFormModeTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityFormModeTest.php - Creates the entity to be tested.
- EntityFormModeTest::getExpectedDocument in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityFormModeTest.php - Returns the expected JSON:API document for the entity.
- EntityReferenceAdminTest::testFieldAdminHandler in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAdminTest.php - Tests the Entity Reference Admin UI.
- EntityReferenceAdminTest::testFieldAdminHandler in core/
modules/ field/ tests/ src/ FunctionalJavascript/ EntityReference/ EntityReferenceAdminTest.php - Tests the Entity Reference Admin UI.
- EntityReferenceAutocompleteWidgetTest::doAutocomplete in core/
tests/ Drupal/ FunctionalJavascriptTests/ EntityReference/ EntityReferenceAutocompleteWidgetTest.php - Executes an autocomplete on a given field and waits for it to finish.
- EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidget in core/
tests/ Drupal/ FunctionalJavascriptTests/ EntityReference/ EntityReferenceAutocompleteWidgetTest.php - Tests that the default autocomplete widget return the correct results.
- EntityTypeTest::testConstraintMethods in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Tests the constraint methods.
- EntityViewModeResourceTestBase::createEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityViewModeResourceTestBase.php - Creates the entity to be tested.
- EntityViewModeResourceTestBase::getExpectedNormalizedEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityViewModeResourceTestBase.php - Returns the expected normalization of the entity.
- EntityViewModeTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityViewModeTest.php - Creates the entity to be tested.
- EntityViewModeTest::getExpectedDocument in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityViewModeTest.php - Returns the expected JSON:API document for the entity.
- FieldBlockTest::getTestBlock in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Instantiates a block for testing.
- FieldUIRouteTest::testFieldUIRoutes in core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIRouteTest.php - Ensures that entity types with bundles do not break following entity types.
- FormElementInlineErrorTest::testDisplayErrorMessagesNotInline in core/
modules/ inline_form_errors/ tests/ src/ Kernel/ FormElementInlineErrorTest.php - Tests that no inline form errors are shown when disabled for a form.
- FormTestLimitValidationErrorsForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestLimitValidationErrorsForm.php - Form constructor.
- FormValidatorTest::providerTestRequiredErrorMessage in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - FormValidatorTest::testElementValidate in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - @covers ::doValidateForm
- FormValidatorTest::testPerformRequiredValidation in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - @covers ::performRequiredValidation
- HelpTopicDiscoveryTest::testHelpTopicsDefinition in core/
modules/ help_topics/ tests/ src/ Unit/ HelpTopicDiscoveryTest.php - @covers ::findAll
- ImageDimensionsTest::testImageDimensions in core/
modules/ image/ tests/ src/ Functional/ ImageDimensionsTest.php - Tests styled image dimensions cumulatively.
- ImageFieldWidgetMultipleTest::testWidgetElementMultipleUploads in core/
modules/ image/ tests/ src/ FunctionalJavascript/ ImageFieldWidgetMultipleTest.php - Tests image widget element support multiple upload correctly.
- ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageStyleTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image style theme function.
- InOperatorTest::testValidate in core/
modules/ views/ tests/ src/ Unit/ Plugin/ filter/ InOperatorTest.php - @covers ::validate
- InstallerConfigDirectorySetNoDirectoryErrorTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerConfigDirectorySetNoDirectoryErrorTest.php - Prepares the current environment for running the test.
- LanguageNegotiationUrlTest::testDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageNegotiationUrlTest.php - @covers ::processInbound
- language_test_language_types_info in core/
modules/ language/ tests/ language_test/ language_test.module - Implements hook_language_types_info().
- LinkGeneratorTest::testGenerate in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with a route.
- LinkGeneratorTest::testGenerateActive in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the active class on the link method.
- LinkGeneratorTest::testGenerateAttributes in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with additional attributes.
- LinkGeneratorTest::testGenerateBubbleableMetadata in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the LinkGenerator's support for collecting bubbleable metadata.
- LinkGeneratorTest::testGenerateButton in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <button> route.
- LinkGeneratorTest::testGenerateHrefs in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with certain hrefs.
- LinkGeneratorTest::testGenerateNoLink in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <nolink> route.
- LinkGeneratorTest::testGenerateNone in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <none> route.
- LinkGeneratorTest::testGenerateOptions in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with arbitrary passed options.
- LinkGeneratorTest::testGenerateParametersAsQuery in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with passed query options via parameters.
- LinkGeneratorTest::testGenerateQuery in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with passed query options.
- LinkGeneratorTest::testGenerateWithHtml in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with html.
- LocaleConfigManagerTest::testGetStringTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigManagerTest.php - Tests getStringTranslation().
- LocaleConfigSubscriberForeignTest::testLocaleCreateActiveTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests importing community translations of shipped configuration.
- LocaleConfigSubscriberTest::setUpLocale in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Sets up the locale storage strings to be in line with configuration.
- LocaleConfigSubscriberTest::testLocaleCreateTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Tests importing community translations of shipped configuration.
- locale_test.no_translation.yml in core/
modules/ locale/ tests/ modules/ locale_test/ config/ install/ locale_test.no_translation.yml - core/modules/locale/tests/modules/locale_test/config/install/locale_test.no_translation.yml
- locale_test.schema.yml in core/
modules/ locale/ tests/ modules/ locale_test/ config/ schema/ locale_test.schema.yml - core/modules/locale/tests/modules/locale_test/config/schema/locale_test.schema.yml
- ManageDisplayTest::testNonInitializedFields in core/
modules/ field_ui/ tests/ src/ Functional/ ManageDisplayTest.php - Tests that fields with no explicit display settings do not break.
- MetadataGeneratorTest::testEditorWithCustomMetadata in core/
modules/ quickedit/ tests/ src/ Kernel/ MetadataGeneratorTest.php - Tests a field whose associated in-place editor generates custom metadata.
- MetadataGeneratorTest::testSimpleEntityType in core/
modules/ quickedit/ tests/ src/ Kernel/ MetadataGeneratorTest.php - Tests a simple entity type, with two different simple fields.
- ModerationStateAccessTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateAccessTest.php - ModerationStateNodeTypeTest::testEnablingOnExistingContent in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateNodeTypeTest.php - Tests enabling moderation on an existing node-type, with content.
- ModerationStateNodeTypeTest::testNotModerated in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateNodeTypeTest.php - A node type without moderation state disabled.
- NullCoalesceTest::transformWithDefaultProvider in core/
modules/ migrate/ tests/ src/ Unit/ process/ NullCoalesceTest.php - Provides Data for ::testTransformWithDefault.
- ProfileFieldTranslationTest::providerSource in core/
modules/ config_translation/ tests/ src/ Kernel/ Plugin/ migrate/ source/ d6/ ProfileFieldTranslationTest.php - The data provider.
- system.menu.exclude_test.yml in core/
modules/ config/ tests/ config_exclude_test/ config/ install/ system.menu.exclude_test.yml - core/modules/config/tests/config_exclude_test/config/install/system.menu.exclude_test.yml
- system.menu.indirect_exclude_test.yml in core/
modules/ config/ tests/ config_exclude_test/ config/ install/ system.menu.indirect_exclude_test.yml - core/modules/config/tests/config_exclude_test/config/install/system.menu.indirect_exclude_test.yml
- TestDiscoveryTest::infoParserProvider in core/
tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php - TestWorkspaceNegotiator::getActiveWorkspace in core/
modules/ workspaces/ tests/ modules/ workspace_update_test/ src/ Negotiator/ TestWorkspaceNegotiator.php - Gets the negotiated workspace, if any.
- test_form_id in core/
tests/ Drupal/ Tests/ Core/ Form/ fixtures/ form_base_test.inc - Creates a test form.
- tour.tour.testing_config_overrides_module.yml in core/
profiles/ testing_config_overrides/ modules/ testing_config_overrides_module/ config/ optional/ tour.tour.testing_config_overrides_module.yml - core/profiles/testing_config_overrides/modules/testing_config_overrides_module/config/optional/tour.tour.testing_config_overrides_module.yml
- UpdatePathTestBaseFilledTest::testUpdatedSite in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePathTestBaseFilledTest.php - Tests that the content and configuration were properly updated.
- UpdatePathTestBaseTest::testDatabaseLoaded in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that the database was properly loaded.
- UpdatePathTestBaseTest::testModuleListChange in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that test running environment is updated when module list changes.
- views.view.test_exposed_admin_ui.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_exposed_admin_ui.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_admin_ui.yml
- ViewStorageTest::displayTests in core/
modules/ views/ tests/ src/ Kernel/ ViewStorageTest.php - Tests adding, saving, and loading displays on configuration entities.
- WorkflowTest::testSetTransitionFromStates in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionFromStates
- WorkflowUiTest::testSorting in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Tests the sorting of states and transitions by weight and label.
- WorkflowUiTest::testWorkflowConfigurationForm in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Tests the workflow configuration form.
- WorkflowUiTest::testWorkflowCreation in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Tests the creation of a workflow through the UI.
- WorkspaceBypassTest::testBypassOwnWorkspace in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceBypassTest.php - Verifies that a user can edit anything in a workspace they own.
- WorkspaceConcurrentEditingTest::testConcurrentEditing in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceConcurrentEditingTest.php - Tests editing a node in multiple workspaces.
- WorkspaceTest::testDeleteWorkspaceWithExistingContent in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceTest.php - Verifies that a workspace with existing content may be deleted.
- WorkspaceTest::testWorkspaceManagePage in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceTest.php - Tests the manage workspace page.