Search for test

  1. Search 7.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.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.

All search results

Title Object type File name Summary
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 @coversDefaultClass \Drupal\Core\Test\TestDiscovery[[api-linebreak]]
@group Test
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 @covers ::getPhpunitTestSuite[[api-linebreak]]
@dataProvider providerTestGetPhpunitTestSuite
TestDiscoveryTest::testGetTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
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 @covers ::getTestClasses[[api-linebreak]]
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 @covers ::getTestInfo[[api-linebreak]]
@dataProvider infoParserProvider
TestDiscoveryTest::testTestInfoParserMissingGroup function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
TestDiscoveryTest::testTestInfoParserMissingSummary function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo[[api-linebreak]]
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
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
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
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.

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