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. 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.

All search results

Title Object type File name Summary
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.
TestEntityForm class core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity form.
TestEntityForm::$moduleHandler property core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php The module handler service.
TestEntityForm::$stringTranslation property core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php The string translation service.
TestEntityFormInjected class core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity form that uses injection.
TestEntityFormInjected::$color property core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php The color of the entity type.
TestEntityFormInjected::create function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Instantiates a new instance of the implementing class using autowiring.
TestEntityFormInjected::__construct function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Constructs a new TestEntityFormInjected.
TestEntityListBuilder class core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php Stub class for testing EntityListBuilder.
TestEntityListBuilder::buildOperations function core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php Builds a renderable list of operation links for the entity.
TestEntityType class core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Entity type class which allows changing the entity keys.
TestEntityType::setKey function core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Sets a specific entity key.
TestEntityTypeManager class core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity type manager.
TestEntityTypeManager::setDiscovery function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Sets the discovery for the manager.
TestErrorHandler class core/tests/Drupal/TestTools/ErrorHandler/TestErrorHandler.php Drupal's PHPUnit test level error handler.
TestErrorHandler.php file core/tests/Drupal/TestTools/ErrorHandler/TestErrorHandler.php
TestErrorHandler::__construct function core/tests/Drupal/TestTools/ErrorHandler/TestErrorHandler.php
TestErrorHandler::__invoke function core/tests/Drupal/TestTools/ErrorHandler/TestErrorHandler.php Executes when the object is called as a function.
TestExample class core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php Test area plugin.
TestExample.php file core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php
TestExample::access function core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php Check whether given user has access to this handler.
TestExample::buildOptionsForm function core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php Provide a form to edit options for this plugin.
TestExample::defineOptions function core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php Information about options for all kinds of purposes will be held here.
TestExample::render function core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php Render the area.
TestExecutableFinder class core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestExecutableFinder.php A test-only executable finder that can be rigged to throw an exception.
TestExecutableFinder.php file core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestExecutableFinder.php
TestExecutableFinder::find function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestExecutableFinder.php
TestExecutableFinder::throwFor function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestExecutableFinder.php Sets up an exception to throw when trying to find a specific executable.
TestExecutableFinder::__construct function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestExecutableFinder.php
TestExtendedNormalizer class core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php Test normalizer with a different supported class.
TestExtendedNormalizer::getSupportedTypes function core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
TestExtension class core/modules/system/tests/modules/twig_extension_test/src/TwigExtension/TestExtension.php A test Twig extension that adds a custom function and a custom filter.

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