namespace Drupal\KernelTests\Core\Entity

Same name in other branches
  1. 11.x Drupal\KernelTests\Core\Entity
  2. 9 Drupal\KernelTests\Core\Entity
  3. 10 Drupal\KernelTests\Core\Entity
Object name File name Summary
BundleConstraintValidatorTest core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php Tests validation constraints for BundleConstraintValidator.
ConfigEntityAdapterTest core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityAdapterTest.php Tests entity adapter for configuration entities.
ConfigEntityQueryTest core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php Tests Config Entity Query functionality.
ContentEntityChangedTest core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Tests basic EntityChangedInterface functionality.
ContentEntityCloneTest core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests proper cloning of content entities.
ContentEntityFieldMethodInvocationOrderTest core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php Tests correct field method invocation order.
ContentEntityHasChangesTest core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Tests ContentEntityBase::hasTranslationChanges().
ContentEntityNonRevisionableFieldTest core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php Tests non-revisionable fields on revisionable (and translatable) entities.
ContentEntityNullStorageTest core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNullStorageTest.php Tests ContentEntityNullStorage entity query support.
ContentEntityStorageBaseTest core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php @coversDefaultClass \Drupal\Core\Entity\ContentEntityStorageBase
CreateSampleEntityTest core/tests/Drupal/KernelTests/Core/Entity/CreateSampleEntityTest.php Tests the ContentEntityStorageBase::createWithSampleValues method.
DefaultTableMappingIntegrationTest core/tests/Drupal/KernelTests/Core/Entity/DefaultTableMappingIntegrationTest.php Tests the default table mapping class for content entities stored in SQL.
EntityAccessControlHandlerTest core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Tests the entity access control handler.
EntityApiTest core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php Tests basic CRUD functionality.
EntityAutocompleteTest core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php Tests the autocomplete functionality.
EntityBundleFieldTest core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php Tests adding a custom bundle field.
EntityBundleListenerTest core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityBundleListener
EntityCrudHookTest core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests the invocation of hooks when creating, inserting, loading, updating or
deleting an entity.
EntityDecoupledTranslationRevisionsTest core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Test decoupled translation revisions.
EntityDefinitionUpdateTest core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests EntityDefinitionUpdateManager functionality.
EntityDeriverTest core/tests/Drupal/KernelTests/Core/Entity/EntityDeriverTest.php Tests EntityDeriver functionality.
EntityDisplayBaseTest core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php @coversDefaultClass \Drupal\Core\Entity\EntityDisplayBase
EntityDisplayFormBaseTest core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayFormBaseTest.php @coversDefaultClass \Drupal\field_ui\Form\EntityDisplayFormBase
EntityDisplayRepositoryTest core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayRepositoryTest.php @coversDefaultClass \Drupal\Core\Entity\EntityDisplayRepository
EntityDuplicateTest core/tests/Drupal/KernelTests/Core/Entity/EntityDuplicateTest.php Test entity duplication.
EntityFieldDefaultValueTest core/tests/Drupal/KernelTests/Core/Entity/EntityFieldDefaultValueTest.php Tests default values for entity fields.
EntityFieldTest core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Tests the Entity Field API.
EntityHasFieldConstraintValidatorTest core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php @covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator
EntityKernelTestBase core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Defines an abstract test base for entity kernel tests.
EntityKernelTestBaseTest core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php @covers \Drupal\KernelTests\Core\Entity\EntityKernelTestBase
EntityKeysTest core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Test the behavior of entity keys.
EntityLanguageTestBase core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php Base class for language-aware entity tests.
EntityLegacyTest core/tests/Drupal/KernelTests/Core/Entity/EntityLegacyTest.php Tests legacy entity functions.
EntityLoadByUuidTest core/tests/Drupal/KernelTests/Core/Entity/EntityLoadByUuidTest.php Tests loading entities by UUID.
EntityNonRevisionableTranslatableFieldTest core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php Tests translating a non-revisionable field.
EntityQueryAggregateTest core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Tests the Entity Query Aggregation API.
EntityQueryRelationshipTest core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php Tests the Entity Query relationship API.
EntityQueryTest core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests Entity Query functionality.
EntityReferenceFieldTest core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests for the entity reference field.
EntityRepositoryTest core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests the entity repository.
EntityRevisionsTest core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php Tests the loaded Revision of an entity.
EntityRevisionTranslationTest core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests proper revision propagation of entities.
EntitySchemaTest core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests the default entity storage schema handler.
EntityTranslationTest core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests entity translation functionality.
EntityTypeConstraintsTest core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php Tests entity level validation constraints.
EntityTypeConstraintValidatorTest core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php Tests validation constraints for EntityTypeConstraintValidator.
EntityTypedDataDefinitionTest core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php Tests deriving metadata of entity and field data types.
EntityUUIDTest core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php Tests creation, saving, and loading of entity UUIDs.
EntityValidationTest core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests the Entity Validation API.
EntityViewBuilderTest core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php Tests the entity view builder.

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