namespace Drupal\Tests\Core\Entity

Same name in other branches
  1. 9 Drupal\Tests\Core\Entity
  2. 8.9.x Drupal\Tests\Core\Entity
  3. 11.x Drupal\Tests\Core\Entity
Object name File name Summary
Apple core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
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.
Blackcurrant core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
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 @coversDefaultClass \Drupal\Core\Entity\ContentEntityBase
@group Entity
@group Access
EntityAccessCheckTest core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php Unit test of entity access checking system.
EntityBaseTest core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
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
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\EntityBase
@group Entity
EntityListBuilderTest core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php @coversDefaultClass \Drupal\Core\Entity\EntityListBuilder
@group Entity
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
EntityStorageBaseTest core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php @coversDefaultClass \Drupal\Core\Entity\EntityStorageBase
@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.
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 @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\EntityBase
@group Entity
@group Access
EntityUrlTest core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests URL handling of the \Drupal\Core\Entity\EntityBase class.
FieldDefinitionTest core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Unit test for the FieldDefinition class.
Fruit core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
RevisionableEntity core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
RoyalGala core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
TestEntity core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A concrete entity.
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.
TestEntityHandlerBase core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity handler.
TestEntityListBuilder core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
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.
UrlTestEntity core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php

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