namespace Drupal\Tests\Core\Entity

Same name in other branches
  1. 9 Drupal\Tests\Core\Entity
  2. 11.x Drupal\Tests\Core\Entity
  3. 10 Drupal\Tests\Core\Entity
Object name File name Summary
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
BasicFormNoUpcasting core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A basic form with a passed entity without an interface.
ContentEntityBaseUnitTest core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @coversDefaultClass \Drupal\Core\Entity\ContentEntityBase
@group Entity
@group Access
ContentEntityFormTest core/tests/Drupal/Tests/Core/Entity/ContentEntityFormTest.php @coversDefaultClass \Drupal\Core\Entity\ContentEntityForm
@group Entity
EntityAccessCheckTest core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php Unit test of entity access checking system.
EntityBundleAccessCheckTest core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php Unit test of entity access checking system.
EntityConstraintViolationListTest core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php @coversDefaultClass \Drupal\Core\Entity\EntityConstraintViolationList
@group entity
EntityCreateAccessCheckTest core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php @coversDefaultClass \Drupal\Core\Entity\EntityCreateAccessCheck
EntityDefinitionUpdateManagerTest core/tests/Drupal/Tests/Core/Entity/EntityDefinitionUpdateManagerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityDefinitionUpdateManager
@group Entity
@group legacy
EntityFieldManagerTest core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityFieldManager
@group Entity
EntityFormBuilderTest core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php @coversDefaultClass \Drupal\Core\Entity\EntityFormBuilder
@group Entity
EntityFormTest core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php @coversDefaultClass \Drupal\Core\Entity\EntityForm
@group Entity
EntityLinkTest core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php @coversDefaultClass \Drupal\Core\Entity\Entity
@group Entity
EntityListBuilderTest core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php @coversDefaultClass \Drupal\entity_test\EntityTestListBuilder
@group Entity
EntityManagerTest core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityManager
@group Entity
@group legacy
EntityRepositoryTest core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php @coversDefaultClass \Drupal\Core\Entity\EntityRepository
@group Entity
EntityResolverManagerTest core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityResolverManager
@group Entity
EntityTypeBundleInfoTest core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php @coversDefaultClass \Drupal\Core\Entity\EntityTypeBundleInfo
@group Entity
EntityTypeManagerTest core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityTypeManager
@group Entity
EntityTypeManagerTestEntity core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Provides a content entity with dummy static method implementations.
EntityTypeRepositoryTest core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @coversDefaultClass \Drupal\Core\Entity\EntityTypeRepository
@group Entity
EntityTypeTest core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @coversDefaultClass \Drupal\Core\Entity\EntityType
@group Entity
EntityUnitTest core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @coversDefaultClass \Drupal\Core\Entity\Entity
@group Entity
@group Access
EntityUrlTest core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests URL handling of the \Drupal\Core\Entity\Entity class.
FieldDefinitionTest core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Unit test for the FieldDefinition class.
LegacyContentEntityStorageBaseTest core/tests/Drupal/Tests/Core/Entity/LegacyContentEntityStorageBaseTest.php Tests deprecated methods of ContentEntityStorageBase.
RevisionableEntity core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
SimpleTestEntity core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A concrete entity.
TestContentEntityStorageBase core/tests/Drupal/Tests/Core/Entity/LegacyContentEntityStorageBaseTest.php Test class for ContentEntityStorageBaseTest.
TestEntityFieldManager core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
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
TestEntityTypeManager core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
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.