Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
TestDiscoveryTest::testGetTestsInProfiles function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @legacy-covers ::getTestClasses
TestDiscoveryTest::testScanDirectoryNoAbstract function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure TestDiscovery::scanDirectory() ignores certain abstract file types.
TestDiscoveryTest::testTestInfoParser function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests test info parser.
TestDiscoveryTest::testTestInfoParserMissingGroup function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @legacy-covers ::getTestInfo
TestDiscoveryTest::testTestInfoParserMissingSummary function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @legacy-covers ::getTestInfo
TestDiskSpaceValidator class core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php A test version of the disk space validator to bypass system-level functions.
TestDiskSpaceValidator::$freeSpace property core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php The amount of free space, keyed by path.
TestDiskSpaceValidator::$sharedDisk property core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php Whether the root and vendor directories are on the same logical disk.
TestDiskSpaceValidator::freeSpace function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
TestDiskSpaceValidator::stat function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
TestDiskSpaceValidator::temporaryDirectory function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
TestDisplayVariant class core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Provides a display variant that requires configuration.
TestDisplayVariant.php file core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php
TestDisplayVariant::$contexts property core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php An array of collected contexts.
TestDisplayVariant::$mainContent property core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php The render array representing the main page content.
TestDisplayVariant::$title property core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php The page title: a string (plain title) or a render array (formatted title).
TestDisplayVariant::build function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Builds and returns the renderable array for the display variant.
TestDisplayVariant::getContexts function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Gets the contexts.
TestDisplayVariant::setContexts function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Sets the contexts.
TestDisplayVariant::setMainContent function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Sets the main content for the page being rendered.
TestDisplayVariant::setTitle function core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php Sets the title for the page being rendered.
TestDomainObject class core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObject.php Test domain class.
TestDomainObject.php file core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObject.php
TestDomainObjectViewSubscriber class core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObjectViewSubscriber.php View subscriber for turning TestDomainObject objects into Response objects.
TestDomainObjectViewSubscriber.php file core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObjectViewSubscriber.php
TestDomainObjectViewSubscriber::getSubscribedEvents function core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObjectViewSubscriber.php
TestDomainObjectViewSubscriber::onViewTestDomainObject function core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObjectViewSubscriber.php Sets a response given a TestDomainObject instance.
TestDrupal6SqlBase class core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Extends the Drupal6SqlBase abstract class.
TestDrupal6SqlBase::fields function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Returns available fields on the source.
TestDrupal6SqlBase::getIds function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Defines the source fields uniquely identifying a source row.
TestDrupal6SqlBase::getModuleSchemaVersionWrapper function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Wrapper method to test protected method getModuleSchemaVersion().
TestDrupal6SqlBase::moduleExistsWrapper function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Wrapper method to test protected method moduleExists().
TestDrupal6SqlBase::query function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Prepares query object to retrieve data from the source database.
TestDrupal6SqlBase::setDatabase function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tweaks Drupal6SqlBase to set a new database connection for tests.
TestDrupal6SqlBase::setModuleHandler function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tweaks Drupal6SqlBase to set a new module handler for tests.
TestDrupal6SqlBase::variableGetWrapper function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Wrapper method to test protected method variableGet().
TestDrupalSqlBase class core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Extends the DrupalSqlBase abstract class.
TestDrupalSqlBase::fields function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Returns available fields on the source.
TestDrupalSqlBase::getIds function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Defines the source fields uniquely identifying a source row.
TestDrupalSqlBase::query function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Prepares query object to retrieve data from the source database.
TestDrupalSqlBase::setDatabase function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Tweaks DrupalSqlBase to set a new database connection for tests.
TestElementInfoManager class core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Provides a test custom element plugin.
TestElementInfoManager::$elementInfo property core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Stores the available element information.
TestEmptyBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestEmptyBlock.php Provides a block that returns an empty array.
TestEmptyBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestEmptyBlock.php
TestEmptyBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestEmptyBlock.php Builds and returns the renderable array for this block plugin.
TestEntity class core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A concrete entity.
TestEntity class core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php A concrete entity.
TestEntityFieldManager class core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Stub class for testing EntityFieldManager.
TestEntityFieldManager::testClearEntityFieldInfo function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Allows the static caches to be cleared.

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