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 10.3.x for Unit
  5. Search 11.x for Unit
  6. Other projects
Title Object type File name Summary
DriverSpecificConnectionUnitTestBase::testConnectionOpen function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests pdo options override.
DriverSpecificConnectionUnitTestBase::testOpenClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() without query.
DriverSpecificConnectionUnitTestBase::testOpenQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a query.
DriverSpecificConnectionUnitTestBase::testOpenQueryPrefetchClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a query and custom prefetch method.
DriverSpecificConnectionUnitTestBase::testOpenSelectQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a select query.
DriverSpecificConnectionUnitTestBase::TEST_TARGET_CONNECTION constant core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php A target connection identifier to be used for testing.
DriverSpecificConnectionUnitTestBase::waitFor function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Wait for a callback to return a truthy value.
drupal_phpunit_contrib_extension_directory_roots function core/tests/bootstrap.php Returns directories under which contributed extensions may exist.
drupal_phpunit_find_extension_directories function core/tests/bootstrap.php Finds all valid extension directories recursively within a given directory.
drupal_phpunit_get_extension_namespaces function core/tests/bootstrap.php Registers the namespace for each extension directory with the autoloader.
drupal_phpunit_populate_class_loader function core/tests/bootstrap.php Populate class loader with additional namespaces for tests.
EditorConfigEntityUnitTest class core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php Tests Drupal\editor\Entity\Editor.
EditorConfigEntityUnitTest.php file core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php
EditorConfigEntityUnitTest::$editorId property core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php Editor plugin ID.
EditorConfigEntityUnitTest::$editorPluginManager property core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php The editor plugin manager used for testing.
EditorConfigEntityUnitTest::$entityType property core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php The entity type used for testing.
EditorConfigEntityUnitTest::$entityTypeId property core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php The ID of the type of the entity under test.
EditorConfigEntityUnitTest::$entityTypeManager property core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php The entity type manager used for testing.
EditorConfigEntityUnitTest::$uuid property core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php The UUID generator used for testing.
EditorConfigEntityUnitTest::setUp function core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php
EditorConfigEntityUnitTest::testCalculateDependencies function core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php Tests calculate dependencies.
EntityAdapterUnitTest class core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests Drupal\Core\Entity\Plugin\DataType\EntityAdapter.
EntityAdapterUnitTest.php file core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php
EntityAdapterUnitTest::$bundle property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The bundle used for testing.
EntityAdapterUnitTest::$entity property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The content entity used for testing.
EntityAdapterUnitTest::$entityAdapter property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The content entity adapter under test.
EntityAdapterUnitTest::$entityFieldManager property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The entity field manager.
EntityAdapterUnitTest::$entityType property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The entity type used for testing.
EntityAdapterUnitTest::$entityTypeId property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The type ID of the entity under test.
EntityAdapterUnitTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The entity type manager used for testing.
EntityAdapterUnitTest::$fieldDefinitions property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Field definitions.
EntityAdapterUnitTest::$fieldItemList property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The field item list returned by the typed data manager.
EntityAdapterUnitTest::$fieldTypePluginManager property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The field type manager used for testing.
EntityAdapterUnitTest::$id property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The entity ID.
EntityAdapterUnitTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The language manager.
EntityAdapterUnitTest::$typedDataManager property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The typed data manager used for testing.
EntityAdapterUnitTest::$uuid property core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php The UUID generator used for testing.
EntityAdapterUnitTest::setUp function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php
EntityAdapterUnitTest::setUpMockFieldItemList function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Reinitializes the field item list as a mock object.
EntityAdapterUnitTest::testApplyDefaultValue function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests apply default value.
EntityAdapterUnitTest::testGet function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get.
EntityAdapterUnitTest::testGetConstraints function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get constraints.
EntityAdapterUnitTest::testGetDataDefinition function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get data definition.
EntityAdapterUnitTest::testGetEntity function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get entity.
EntityAdapterUnitTest::testGetInvalidField function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get invalid field.
EntityAdapterUnitTest::testGetIterator function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get iterator.
EntityAdapterUnitTest::testGetName function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get name.
EntityAdapterUnitTest::testGetParent function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get parent.
EntityAdapterUnitTest::testGetProperties function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get properties.
EntityAdapterUnitTest::testGetPropertyPath function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php Tests get property path.

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