namespace Drupal\Tests\Core\Entity

Same name in other branches
  1. 8.9.x Drupal\Tests\Core\Entity
  2. 10 Drupal\Tests\Core\Entity
  3. 9 Drupal\Tests\Core\Entity
Object name File name Summary
Apple core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php A Fruit class for testing.
BaseFieldDefinitionTest core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php Unit test for BaseFieldDefinition.
BasicControllerClass core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A class containing all kind of different controller methods.
BasicForm core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A basic form with a passed entity with an interface.
BasicFormNoContainerInjectionInterface core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A basic form without a container injection interface implemented.
BasicFormNoUpcasting core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A basic form with a passed entity without an interface.
Blackcurrant core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php A Fruit class for testing.
ContentEntityBaseMockableClass core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php A class extending ContentEntityBase for mocking purposes.
ContentEntityBaseUnitTest core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests Drupal\Core\Entity\ContentEntityBase.
EntityAccessCheckTest core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php Unit test of entity access checking system.
EntityConstraintViolationListTest core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php Tests Drupal\Core\Entity\EntityConstraintViolationList.
EntityCreateAccessCheckTest core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php Tests Drupal\Core\Entity\EntityCreateAccessCheck.
EntityFieldManagerTest core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests Drupal\Core\Entity\EntityFieldManager.
EntityFormBuilderTest core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php Tests Drupal\Core\Entity\EntityFormBuilder.
EntityFormTest core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests Drupal\Core\Entity\EntityForm.
EntityLinkTest core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Tests Drupal\Core\Entity\EntityBase.
EntityListBuilderTest core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php Tests Drupal\Core\Entity\EntityListBuilder.
EntityRepositoryTest core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php Tests Drupal\Core\Entity\EntityRepository.
EntityResolverManagerTest core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Tests Drupal\Core\Entity\EntityResolverManager.
EntityStorageBaseTest core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php Tests Drupal\Core\Entity\EntityStorageBase.
EntityTypeBundleInfoTest core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php Tests Drupal\Core\Entity\EntityTypeBundleInfo.
EntityTypeManagerTest core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests Drupal\Core\Entity\EntityTypeManager.
EntityTypeManagerTestEntity core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Provides a content entity with dummy static method implementations.
EntityTypeManagerTestEntityBundle core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Provides a bundle specific class with dummy static method implementations.
EntityTypeRepositoryTest core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php Tests Drupal\Core\Entity\EntityTypeRepository.
EntityTypeTest core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests Drupal\Core\Entity\EntityType.
EntityUnitTest core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php Tests Drupal\Core\Entity\EntityBase.
EntityUrlTest core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests URL handling of the \Drupal\Core\Entity\EntityBase class.
EntityViewBuilderTest core/tests/Drupal/Tests/Core/Entity/EntityViewBuilderTest.php Tests Drupal\Core\Entity\EntityViewBuilder.
FieldDefinitionTest core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Unit test for the FieldDefinition class.
Fruit core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php A simple entity for testing.
RoyalGala core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php An Apple class for testing.
StubEntityBase core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php A stub base entity for testing purposes.
StubEntityHandlerBase core/tests/Drupal/Tests/Core/Entity/StubEntityHandlerBase.php A stub base entity handler for testing purposes.
StubEntityStorageBase core/tests/Drupal/Tests/Core/Entity/StubEntityStorageBase.php A stub base entity storage for testing purposes.
StubFieldItemBase core/tests/Drupal/Tests/Core/Entity/StubFieldItemBase.php A stub field item base entity for testing purposes.
StubRevisionableEntity core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php A stub revisionable entity for testing purposes.
TestEntity core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A concrete entity.
TestEntityFieldManager core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Stub class for testing EntityFieldManager.
TestEntityForm core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity form.
TestEntityFormInjected core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity form that uses injection.
TestEntityListBuilder core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php Stub class for testing EntityListBuilder.
TestEntityTypeManager core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity type manager.
TestRouteProvider core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity route provider.

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