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. 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
DrupalFlushAllCachesTest::register function core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Registers test-specific services.
DrupalFlushAllCachesTest::testDrupalFlushAllCachesModuleList function core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Tests that drupal_flush_all_caches() uses core.extension properly.
DrupalKernelLegacyTest class core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelLegacyTest.php @coversDefaultClass \Drupal\Core\DrupalKernel[[api-linebreak]]
@group legacy
DrupalKernelLegacyTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelLegacyTest.php
DrupalKernelLegacyTest::testKernelEventDeprecation function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelLegacyTest.php Tests deprecation message in overridden KernelEvent.
DrupalKernelSiteTest class core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelSiteTest.php Tests site-specific service overrides.
DrupalKernelSiteTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelSiteTest.php
DrupalKernelSiteTest::testServicesYml function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelSiteTest.php Tests services.yml in site directory.
DrupalKernelTest class core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests DIC compilation to disk.
DrupalKernelTest class core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php @coversDefaultClass \Drupal\Core\DrupalKernel[[api-linebreak]]
@group DrupalKernel
DrupalKernelTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
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::providerClassLoaderAutoDetect function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Data provider for self::testClassLoaderAutoDetect.
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::testClassLoaderAutoDetect function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests class_loader_auto_detect setting.
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::testGetServiceIdMapping function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php @covers ::getServiceIdMapping[[api-linebreak]]
@group legacy
DrupalKernelTest::testKernelEvent function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests KernelEvent class_alias() override.
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::addSkippedTest function core/tests/Drupal/Tests/Listeners/DrupalListener.php
DrupalListener::endTest function core/tests/Drupal/Tests/Listeners/DrupalListener.php
DrupalListener::startTest function core/tests/Drupal/Tests/Listeners/DrupalListener.php
DrupalListener::startTestSuite function core/tests/Drupal/Tests/Listeners/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 Tests 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.
DrupalMessengerServiceTest::testStatusMessageAssertions function core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php Tests assertion methods in WebAssert related to status messages.
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.
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::$entityTypeManager property core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Mock entity type manager.
DrupalSqlBaseTest::$migrationConfiguration property core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Define bare minimum migration configuration.
DrupalSqlBaseTest::$pluginDefinition property core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php The plugin definition.

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