Search for Unit

  1. Search 7.x for Unit
  2. Search 9.5.x for Unit
  3. Search 8.9.x for Unit
  4. Search 11.x for Unit
  5. Search main for Unit
  6. Other projects
Title Object type File name Summary
ConfigurableLanguageUnitTest.php file core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php
ConfigurableLanguageUnitTest::testDirection function core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php @covers ::getDirection[[api-linebreak]]
ConfigurableLanguageUnitTest::testWeight function core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php @covers ::getWeight[[api-linebreak]]
@covers ::setWeight[[api-linebreak]]
ConnectionUnitTest class core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php PostgreSQL-specific connection unit tests.
ConnectionUnitTest class core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php MySQL-specific connection unit tests.
ConnectionUnitTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php
ConnectionUnitTest.php file core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php
ConnectionUnitTest::getQuery function core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php Returns a set of queries specific for PostgreSQL.
ConnectionUnitTest::getQuery function core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php Returns a set of queries specific for MySQL.
ContentEntityBaseUnitTest class core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @coversDefaultClass \Drupal\Core\Entity\ContentEntityBase[[api-linebreak]]
@group Entity
@group Access
ContentEntityBaseUnitTest.php file core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentEntityBaseUnitTest::$bundle property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The bundle of the entity under test.
ContentEntityBaseUnitTest::$entity property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity under test.
ContentEntityBaseUnitTest::$entityFieldManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity field manager used for testing.
ContentEntityBaseUnitTest::$entityType property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity type used for testing.
ContentEntityBaseUnitTest::$entityTypeBundleInfo property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity type bundle manager used for testing.
ContentEntityBaseUnitTest::$entityTypeId property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The type ID of the entity under test.
ContentEntityBaseUnitTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity type manager used for testing.
ContentEntityBaseUnitTest::$entityUnd property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php An entity with no defined language to test.
ContentEntityBaseUnitTest::$fieldDefinitions property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Field definitions.
ContentEntityBaseUnitTest::$fieldTypePluginManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The field type manager used for testing.
ContentEntityBaseUnitTest::$id property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity ID.
ContentEntityBaseUnitTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The language manager.
ContentEntityBaseUnitTest::$typedDataManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The typed data manager used for testing.
ContentEntityBaseUnitTest::$uuid property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The UUID generator used for testing.
ContentEntityBaseUnitTest::providerGet function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Data provider for testGet().
ContentEntityBaseUnitTest::providerGetFields function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Data provider for testGetFields().
ContentEntityBaseUnitTest::providerTestTypedData function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Data provider for the ::getTypedData() test.
ContentEntityBaseUnitTest::setUp function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentEntityBaseUnitTest::testAccess function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::access[[api-linebreak]]
ContentEntityBaseUnitTest::testBundle function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::bundle[[api-linebreak]]
ContentEntityBaseUnitTest::testGet function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::get[[api-linebreak]]
@dataProvider providerGet
ContentEntityBaseUnitTest::testGetFields function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::getFields[[api-linebreak]]
@dataProvider providerGetFields
ContentEntityBaseUnitTest::testGetRevisionId function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::getRevisionId[[api-linebreak]]
ContentEntityBaseUnitTest::testIsDefaultRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isDefaultRevision[[api-linebreak]]
ContentEntityBaseUnitTest::testIsNewRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isNewRevision[[api-linebreak]]
@covers ::setNewRevision[[api-linebreak]]
ContentEntityBaseUnitTest::testIsTranslatable function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isTranslatable[[api-linebreak]]
ContentEntityBaseUnitTest::testIsTranslatableForMonolingual function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isTranslatable[[api-linebreak]]
ContentEntityBaseUnitTest::testPreSaveRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::preSaveRevision[[api-linebreak]]
ContentEntityBaseUnitTest::testRequiredValidation function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests required validation.
ContentEntityBaseUnitTest::testSet function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::set[[api-linebreak]]
ContentEntityBaseUnitTest::testSetNewRevisionException function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::setNewRevision[[api-linebreak]]
ContentEntityBaseUnitTest::testTypedData function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests each condition in EntityBase::getTypedData().
ContentEntityBaseUnitTest::testValidate function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::validate[[api-linebreak]]
ContentLanguageSettingsUnitTest class core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php @coversDefaultClass \Drupal\language\Entity\ContentLanguageSettings[[api-linebreak]]
@group language
ContentLanguageSettingsUnitTest.php file core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php
ContentLanguageSettingsUnitTest::$configEntityStorageInterface property core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php The typed configuration manager used for testing.
ContentLanguageSettingsUnitTest::$entityType property core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php The entity type used for testing.
ContentLanguageSettingsUnitTest::$entityTypeId property core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php The ID of the type of the entity under test.
ContentLanguageSettingsUnitTest::$entityTypeManager property core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php The entity type manager used for testing.

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