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
TestDiscovery::findAllClassFiles function core/lib/Drupal/Core/Test/TestDiscovery.php Discovers all class files in all available extensions.
TestDiscovery::getExtensions function core/lib/Drupal/Core/Test/TestDiscovery.php Returns all available extensions.
TestDiscovery::getPhpunitTestSuite function core/lib/Drupal/Core/Test/TestDiscovery.php Determines the phpunit testsuite for a given classname, based on namespace.
TestDiscovery::getTestClasses function core/lib/Drupal/Core/Test/TestDiscovery.php Discovers all available tests in all extensions.
TestDiscovery::getTestInfo function core/lib/Drupal/Core/Test/TestDiscovery.php Retrieves information about a test class for UI purposes.
TestDiscovery::parseTestClassSummary function core/lib/Drupal/Core/Test/TestDiscovery.php Parses the phpDoc summary line of a test class.
TestDiscovery::registerTestNamespaces function core/lib/Drupal/Core/Test/TestDiscovery.php Registers test namespaces of all extensions and core test classes.
TestDiscovery::scanDirectory function core/lib/Drupal/Core/Test/TestDiscovery.php Scans a given directory for class files.
TestDiscovery::__construct function core/lib/Drupal/Core/Test/TestDiscovery.php Constructs a new test discovery.
TestDiscoveryTest class core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Unit tests for TestDiscovery.
TestDiscoveryTest.php file core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::getTestDiscoveryMock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Mock a TestDiscovery object to return specific extension values.
TestDiscoveryTest::infoParserProvider function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::providerTestGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::setupVfsWithTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::testGetPhpunitTestSuite function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests get phpunit test suite.
TestDiscoveryTest::testGetTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests get test classes.
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Tests get test classes with selected types.
TestDiscoveryTest::testGetTestInfoEmptyDocblock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure that classes are not reflected when the docblock is empty.
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().

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