Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.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
DrupalKernelTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php
DrupalKernelTest::getTestKernel function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Build a kernel for testings.
DrupalKernelTest::providerTestTrustedHosts function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Provides test data for testTrustedHosts().
DrupalKernelTest::setUp function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php
DrupalKernelTest::testCompileDIC function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests DIC compilation.
DrupalKernelTest::testFindSitePath function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests site path finding.
DrupalKernelTest::testInitializeSettings function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests the reregistration of autoloaders if APCu available.
DrupalKernelTest::testPrepareLegacyRequest function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php @group legacy
@expectedDeprecation Drupal\Core\DrupalKernel::prepareLegacyRequest is deprecated drupal:8.0.0 and is removed from drupal:9.0.0. Use DrupalKernel::boot() and DrupalKernel::preHandle() instead. See https://www.drupal.org/node/3070678
DrupalKernelTest::testPreventChangeOfSitePath function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests setting of site path after kernel boot.
DrupalKernelTest::testRepeatedBootWithDifferentEnvironment function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests repeated loading of compiled DIC with different environment.
DrupalKernelTest::testTrustedHosts function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests hostname validation with settings.
DrupalListener::endTest function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/DrupalListener.php
DrupalListener::endTest function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/DrupalListener.php
DrupalListener::startTest function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/DrupalListener.php
DrupalListener::startTest function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/DrupalListener.php
DrupalLogErrorTest class core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php Tests logging of errors in core/error.inc.
DrupalLogErrorTest.php file core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php
DrupalLogErrorTest::testFatalExitCode function core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php Test that fatal errors return a non-zero exit code.
DrupalMessengerServiceTest class core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php Tests the Messenger service.
DrupalMessengerServiceTest.php file core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
DrupalMessengerServiceTest::$defaultTheme property core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php The theme to install as the default for testing.
DrupalMessengerServiceTest::$modules property core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php Modules to enable.
DrupalMessengerServiceTest::testDrupalMessengerService function core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php Tests Messenger service.
DrupalMinkClientTest class core/tests/Drupal/BuildTests/Framework/Tests/DrupalMinkClientTest.php Test \Drupal\BuildTests\Framework\DrupalMinkClient.
DrupalMinkClientTest.php file core/tests/Drupal/BuildTests/Framework/Tests/DrupalMinkClientTest.php
DrupalMinkClientTest::getTestsForMetaRefresh function core/tests/Drupal/BuildTests/Framework/Tests/DrupalMinkClientTest.php
DrupalMinkClientTest::testBackForwardMetaRefresh function core/tests/Drupal/BuildTests/Framework/Tests/DrupalMinkClientTest.php @covers ::request[[api-linebreak]]
DrupalMinkClientTest::testFollowMetaRefresh function core/tests/Drupal/BuildTests/Framework/Tests/DrupalMinkClientTest.php @dataProvider getTestsForMetaRefresh
@covers ::getMetaRefreshUrl[[api-linebreak]]
DrupalSelenium2DriverTest class core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php Tests the DrupalSelenium2Driver methods.
DrupalSelenium2DriverTest.php file core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php
DrupalSelenium2DriverTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php The theme to install as the default for testing.
DrupalSelenium2DriverTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php Modules to enable.
DrupalSelenium2DriverTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php
DrupalSelenium2DriverTest::testGetRemoteFilePath function core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php Tests uploading remote files.
DrupalSetMessageTest class core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php @covers ::drupal_set_message[[api-linebreak]]
@group Common
@group legacy
DrupalSetMessageTest.php file core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php
DrupalSetMessageTest::testDrupalSetMessage function core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php The basic functionality of drupal_set_message().
DrupalSqlBaseTest class core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @coversDefaultClass Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase[[api-linebreak]]
@group migrate_drupal
DrupalSqlBaseTest.php file core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
DrupalSqlBaseTest::$base property core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
DrupalSqlBaseTest::$databaseContents property core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Minimum database contents needed to test DrupalSqlBase.
DrupalSqlBaseTest::$migrationConfiguration property core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Define bare minimum migration configuration.
DrupalSqlBaseTest::testSourceDatabaseError function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @covers ::checkRequirements[[api-linebreak]]
DrupalSqlBaseTest::testSourceProviderNotActive function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @covers ::checkRequirements[[api-linebreak]]
DrupalStandardsListenerDeprecatedClass::testFunction function core/modules/system/tests/modules/deprecation_test/src/Deprecation/DrupalStandardsListenerDeprecatedClass.php Returns a known value.
DrupalStandardsListenerDeprecationTest class core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php Test deprecation error handling by DrupalStandardsListener.
DrupalStandardsListenerDeprecationTest.php file core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php
DrupalStandardsListenerDeprecationTest::testDeprecation function core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php Exercise DrupalStandardsListener's coverage validation.
DrupalStandardsListenerTrait::checkValidCoversForTest function core/tests/Drupal/Tests/Listeners/DrupalStandardsListenerTrait.php Check an individual test run for valid @covers annotation.
DrupalStandardsListenerTrait::doEndTest function core/tests/Drupal/Tests/Listeners/DrupalStandardsListenerTrait.php Reacts to the end of a test.

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