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 main for Unit
  6. Other projects
Title Object type File name Summary
AnnounceFetcherUnitTest class core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Simple test to ensure that asserts pass.
AnnounceFetcherUnitTest.php file core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php
AnnounceFetcherUnitTest::$fetcher property core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php The Fetcher service object.
AnnounceFetcherUnitTest::setUp function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php
AnnounceFetcherUnitTest::testValidateUrl function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Test the ValidateUrl() method.
AnnounceFetcherUnitTest::urlProvider function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Data for the testValidateUrl.
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 Tests Drupal\block\Entity\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 Tests calculate dependencies.
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 Tests Drupal\comment\CommentStatistics.
CommentStatisticsUnitTest.php file core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php
CommentStatisticsUnitTest::$callsToFetch 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.

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