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
ConnectionUnitTest::assertConnection function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Asserts that a connection ID exists.
ConnectionUnitTest::assertNoConnection function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Asserts that a connection ID does not exist.
ConnectionUnitTest::getConnectionId function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Returns the connection ID of the current test connection.
ConnectionUnitTest::setUp function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
ConnectionUnitTest::testConnectionOpen function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests pdo options override.
ConnectionUnitTest::testOpenClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() with a select query.
ConnectionUnitTest::TEST_TARGET_CONNECTION constant core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php A target connection identifier to be used for testing.
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::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::testLabel function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::label[[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::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.