Search for Unit

  1. Search 7.x for Unit
  2. Search 9.5.x for Unit
  3. Search 10.3.x for Unit
  4. Search 11.x for Unit
  5. Search main for Unit
  6. Other projects
Title Object type File name Summary
EntityUnitTest::$uuid property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The UUID generator used for testing.
EntityUnitTest::$values property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity values.
EntityUnitTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityUnitTest::setupTestLoad function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php Setup for the tests of the ::load() method.
EntityUnitTest::testAccess function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::access[[api-linebreak]]
EntityUnitTest::testBundle function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::bundle[[api-linebreak]]
EntityUnitTest::testCacheContexts function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheContexts[[api-linebreak]]
@covers ::addCacheContexts[[api-linebreak]]
EntityUnitTest::testCacheMaxAge function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheMaxAge[[api-linebreak]]
@covers ::mergeCacheMaxAge[[api-linebreak]]
EntityUnitTest::testCacheTags function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheTags[[api-linebreak]]
@covers ::getCacheTagsToInvalidate[[api-linebreak]]
@covers ::addCacheTags[[api-linebreak]]
EntityUnitTest::testCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::create[[api-linebreak]]
EntityUnitTest::testDelete function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::delete[[api-linebreak]]
EntityUnitTest::testGetEntityType function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getEntityType[[api-linebreak]]
EntityUnitTest::testGetEntityTypeId function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getEntityTypeId[[api-linebreak]]
EntityUnitTest::testId function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::id[[api-linebreak]]
EntityUnitTest::testIsNew function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::isNew[[api-linebreak]]
@covers ::enforceIsNew[[api-linebreak]]
EntityUnitTest::testLabel function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::label[[api-linebreak]]
@group legacy
EntityUnitTest::testLanguage function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::language[[api-linebreak]]
EntityUnitTest::testLoad function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::load[[api-linebreak]]
EntityUnitTest::testLoadMultiple function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::loadMultiple[[api-linebreak]]
EntityUnitTest::testPostCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postCreate[[api-linebreak]]
EntityUnitTest::testPostDelete function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postDelete[[api-linebreak]]
EntityUnitTest::testPostDeleteBundle function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postDelete[[api-linebreak]]
EntityUnitTest::testPostLoad function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postLoad[[api-linebreak]]
EntityUnitTest::testPostSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postSave[[api-linebreak]]
EntityUnitTest::testPostSaveBundle function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postSave[[api-linebreak]]
EntityUnitTest::testPreCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preCreate[[api-linebreak]]
EntityUnitTest::testPreDelete function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preDelete[[api-linebreak]]
EntityUnitTest::testPreSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preSave[[api-linebreak]]
EntityUnitTest::testReferencedEntities function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::referencedEntities[[api-linebreak]]
EntityUnitTest::testSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::save[[api-linebreak]]
EntityUnitTest::testUuid function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::uuid[[api-linebreak]]
EntityUnitTestBase class core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Defines an abstract test base for entity unit tests.
EntityUnitTestBase.php file core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
EntityUnitTestBase::$entityManager property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php The entity manager service.
EntityUnitTestBase::$generatedIds property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php A list of generated identifiers.
EntityUnitTestBase::$modules property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Modules to enable.
EntityUnitTestBase::$state property core/modules/system/src/Tests/Entity/EntityUnitTestBase.php The state service.
EntityUnitTestBase::createUser function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Creates a user.
EntityUnitTestBase::generateRandomEntityId function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Generates a random ID avoiding collisions.
EntityUnitTestBase::getHooksInfo function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Returns the entity_test hook invocation info.
EntityUnitTestBase::installModule function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Installs a module and refreshes services.
EntityUnitTestBase::refreshServices function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Refresh services.
EntityUnitTestBase::reloadEntity function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Reloads the given entity from the storage and returns it.
EntityUnitTestBase::setUp function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Performs setup tasks before each individual test method is run.
EntityUnitTestBase::uninstallModule function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Uninstalls a module and refreshes services.
FieldConfigEntityUnitTest class core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php @coversDefaultClass \Drupal\field\Entity\FieldConfig[[api-linebreak]]
@group field
FieldConfigEntityUnitTest.php file core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php Contains \Drupal\Tests\field\Unit\FieldConfigEntityUnitTest.
FieldConfigEntityUnitTest::$entityFieldManager property core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php The entity field manager used for testing.
FieldConfigEntityUnitTest::$entityType property core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php The entity type used for testing.
FieldConfigEntityUnitTest::$entityTypeId property core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php The ID of the type of the entity under test.

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