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. 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
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/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::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::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php The theme to install as the default for testing.
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::sortableUpdate function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Define to provide any necessary callback following layout change.
EntityReferenceWidgetTest::testAddAfterReordering function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that order is correct after re-order and adding another item.
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::testRemoveAfterReordering function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that changed order is maintained after removing a selection.
EntityReferenceWidgetTest::testRequiredMediaField function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests saving a required media library field.
EntityReferenceWidgetTest::testWidget function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that the Media library's widget works as expected.
EntityReferenceWidgetTest::testWidgetPreview function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests the preview displayed by the field widget.
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.
EntityRepositoryTest class core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php @coversDefaultClass \Drupal\Core\Entity\EntityRepository[[api-linebreak]]
@group Entity
EntityRepositoryTest class core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests the entity repository.
EntityRepositoryTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest.php file core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest::$contextRepository property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The context repository.
EntityRepositoryTest::$entityRepository property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The entity repository under test.
EntityRepositoryTest::$entityRepository property core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php The entity repository.
EntityRepositoryTest::$entityTypeManager property core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php The entity type manager.
EntityRepositoryTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The entity type manager.
EntityRepositoryTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The language manager.
EntityRepositoryTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Modules to enable.
EntityRepositoryTest::assertEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Asserts that the entity has the expected entity type ID.
EntityRepositoryTest::doTestLanguageFallback function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Check that language fallback is applied.
EntityRepositoryTest::getLanguageContexts function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Returns a set of language contexts matching the specified language.
EntityRepositoryTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest::testGetActive function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests retrieving active variants.
EntityRepositoryTest::testGetCanonical function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests retrieving canonical variants.
EntityRepositoryTest::testGetTranslationFromContext function core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php Tests the getTranslationFromContext() method.
EntityResolverManagerTest class core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityResolverManager[[api-linebreak]]
@group Entity
EntityResolverManagerTest.php file core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Contains \Drupal\Tests\Core\Entity\EntityResolverManagerTest.
EntityResolverManagerTest::$classResolver property core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php The mocked class resolver.
EntityResolverManagerTest::$container property core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php The mocked dependency injection container.
EntityResolverManagerTest::$entityResolverManager property core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php The tested entity resolver manager.
EntityResolverManagerTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php The mocked entity type manager.
EntityResolverManagerTest::providerTestSetRouteOptionsWithContentController function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Data provider for testSetRouteOptionsWithContentController.

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