Search for Unit

  1. Search 7.x for Unit
  2. Search 8.9.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
BackendChainImplementationUnitTest class core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Unit test of backend chain implementation specifics.
BackendChainImplementationUnitTest.php file core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
BackendChainImplementationUnitTest::$chain property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Chain that will be heavily tested.
BackendChainImplementationUnitTest::$firstBackend property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php First backend in the chain.
BackendChainImplementationUnitTest::$secondBackend property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Second backend in the chain.
BackendChainImplementationUnitTest::$thirdBackend property core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Third backend in the chain.
BackendChainImplementationUnitTest::setUp function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
BackendChainImplementationUnitTest::testDelete function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests that delete will propagate.
BackendChainImplementationUnitTest::testDeleteAllPropagation function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests that the delete all operation is propagated to all chained backends.
BackendChainImplementationUnitTest::testDeleteTagsPropagation function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests that the delete tags operation is propagated to all chained backends.
BackendChainImplementationUnitTest::testGet function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests the get feature.
BackendChainImplementationUnitTest::testGetHasPropagated function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Ensure get values propagation to previous backends.
BackendChainImplementationUnitTest::testGetMultiple function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests the get multiple feature.
BackendChainImplementationUnitTest::testGetMultipleHasPropagated function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Ensure get multiple values propagation to previous backends.
BackendChainImplementationUnitTest::testRemoveBin function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests that removing bin propagates to all backends.
BackendChainImplementationUnitTest::testSet function core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php Tests that set will propagate.
BlockConfigEntityUnitTest class core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php @coversDefaultClass \Drupal\block\Entity\Block[[api-linebreak]]
@group block
BlockConfigEntityUnitTest.php file core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php
BlockConfigEntityUnitTest::$entityType property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The entity type used for testing.
BlockConfigEntityUnitTest::$entityTypeId property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The ID of the type of the entity under test.
BlockConfigEntityUnitTest::$entityTypeManager property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The entity type manager used for testing.
BlockConfigEntityUnitTest::$moduleHandler property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The module handler.
BlockConfigEntityUnitTest::$themeHandler property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The theme handler.
BlockConfigEntityUnitTest::$uuid property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The UUID generator used for testing.
BlockConfigEntityUnitTest::setUp function core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php
BlockConfigEntityUnitTest::testCalculateDependencies function core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php @covers ::calculateDependencies[[api-linebreak]]
BlockStorageUnitTest class core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the storage of blocks.
BlockStorageUnitTest.php file core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php
BlockStorageUnitTest::$controller property core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php The block storage.
BlockStorageUnitTest::$modules property core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Modules to install.
BlockStorageUnitTest::createTests function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the creation of blocks.
BlockStorageUnitTest::deleteTests function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the deleting of blocks.
BlockStorageUnitTest::loadTests function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the loading of blocks.
BlockStorageUnitTest::setUp function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php
BlockStorageUnitTest::testBlockCRUD function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests CRUD operations.
BlockStorageUnitTest::testDefaultBlocks function core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php Tests the installation of default blocks.
CommentStatisticsUnitTest class core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php @coversDefaultClass \Drupal\comment\CommentStatistics[[api-linebreak]]
@group comment
CommentStatisticsUnitTest.php file core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php
CommentStatisticsUnitTest::$calls_to_fetch property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Counts calls to fetchAssoc().
CommentStatisticsUnitTest::$commentStatistics property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php CommentStatistics service under test.
CommentStatisticsUnitTest::$database property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Mock database connection.
CommentStatisticsUnitTest::$select property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Mock select interface.
CommentStatisticsUnitTest::$statement property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Mock statement.
CommentStatisticsUnitTest::fetchObjectCallback function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Return value callback for fetchObject() function on mocked object.
CommentStatisticsUnitTest::setUp function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Sets up required mocks and the CommentStatistics service under test.
CommentStatisticsUnitTest::testRead function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Tests the read method.
Composer::upgradePHPUnit function core/lib/Drupal/Core/Composer/Composer.php Fires the drupal-phpunit-upgrade script event if necessary.
Composer::upgradePHPUnitCheck function core/lib/Drupal/Core/Composer/Composer.php Determines if PHPUnit needs to be upgraded.
ConfigEntityBaseUnitTest class core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @coversDefaultClass \Drupal\Core\Config\Entity\ConfigEntityBase[[api-linebreak]]
@group Config
ConfigEntityBaseUnitTest.php file core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php Contains \Drupal\Tests\Core\Config\Entity\ConfigEntityBaseUnitTest.

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