Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.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
EntityReferenceSelectionReferenceableTest::setUp function core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php
EntityReferenceSelectionReferenceableTest::testReferenceablesWithNoLabelKey function core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php Tests values returned by SelectionInterface::getReferenceableEntities()
when the target entity type has no 'label' key.
EntityReferenceSelectionSortTest class core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php Tests sorting referenced items.
EntityReferenceSelectionSortTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php
EntityReferenceSelectionSortTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php Modules to enable.
EntityReferenceSelectionSortTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php
EntityReferenceSelectionSortTest::testSort function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php Assert sorting by field and property.
EntityReferenceSelectionUnitTest class core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Provides unit testing for selection handlers.
EntityReferenceSelectionUnitTest.php file core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php
EntityReferenceSelectionUnitTest::providerTestSetConfiguration function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Provides test data for ::testSetConfiguration()
EntityReferenceSelectionUnitTest::testDeprecationErrorTriggering function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Tests deprecation error triggering.
EntityReferenceSelectionUnitTest::testInvalidDefaultConfiguration function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Tests invalid default configuration.
EntityReferenceSelectionUnitTest::testMalformedHandlerSettingsValue function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Tests the selection handler with malformed 'handler_settings' value.
EntityReferenceSelectionUnitTest::testSetConfiguration function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Tests selection handler plugin configuration set.
EntityReferenceSelectionUnitTest::testSetConfigurationBcLevel function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Tests the selection handler plugin BC structure.
EntityReferenceSettingsTest class core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Tests entity reference field settings.
EntityReferenceSettingsTest.php file core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php
EntityReferenceSettingsTest::$customBundle property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php An entity bundle that is not stored as a configuration entity.
EntityReferenceSettingsTest::$modules property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Modules to enable.
EntityReferenceSettingsTest::$nodeType property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Testing node type.
EntityReferenceSettingsTest::$testLogServiceName property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php The service name for a logger implementation that collects anything logged.
EntityReferenceSettingsTest::$vocabulary property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Testing vocabulary.
EntityReferenceSettingsTest::register function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Registers test-specific services.
EntityReferenceSettingsTest::setUp function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php
EntityReferenceSettingsTest::testConfigTargetBundleDeletion function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Tests that config bundle deletions are mirrored in field config settings.
EntityReferenceSettingsTest::testCustomTargetBundleDeletion function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php Tests that deletions of custom bundles are mirrored in field settings.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest class core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator[[api-linebreak]]
@group workspaces
EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php file core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$modules property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php Modules to enable.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::setUp function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
EntityReferenceTestTrait trait core/modules/field/src/Tests/EntityReference/EntityReferenceTestTrait.php Provides common functionality for the EntityReference test classes.
EntityReferenceTestTrait trait core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php Provides common functionality for the EntityReference test classes.
EntityReferenceTestTrait.php file core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php
EntityReferenceTestTrait.php file core/modules/field/src/Tests/EntityReference/EntityReferenceTestTrait.php
EntityReferenceTestTrait::createEntityReferenceField function core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php Creates a field of an entity reference field storage on the specified bundle.
EntityReferenceWidgetTest class core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests the Media library entity reference widget.
EntityReferenceWidgetTest.php file core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php
EntityReferenceWidgetTest::$mediaItems property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Test media items.
EntityReferenceWidgetTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Modules to enable.
EntityReferenceWidgetTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php
EntityReferenceWidgetTest::testFocusNotAppliedWithoutSelectionChange function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that disabled media items don't capture focus on page load.
EntityReferenceWidgetTest::testWidget function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that the Media library's widget works as expected.
EntityReferenceXSSTest class core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php Tests possible XSS security issues in entity references.
EntityReferenceXSSTest.php file core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php
EntityReferenceXSSTest::$defaultTheme property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php The theme to install as the default for testing.
EntityReferenceXSSTest::$modules property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php Modules to enable.
EntityReferenceXSSTest::testEntityReferenceXSS function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php Tests markup is escaped in the entity reference select and label formatter.
EntityRepository::getLatestTranslationAffectedRevision function core/lib/Drupal/Core/Entity/EntityRepository.php Returns the latest revision translation of the specified entity.

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