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
DrupalFlushAllCachesTest::$containerBuilds property core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Stores the number of container builds.
DrupalFlushAllCachesTest::$modules property core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php Modules to install.
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.
DrupalInstalledTest class core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php Tests DrupalInstalled.php hash changes when scaffolding is run.
DrupalInstalledTest.php file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php
DrupalInstalledTest::$fixtures property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php The Fixtures object.
DrupalInstalledTest::$fixturesDir property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php Directory to perform the tests in.
DrupalInstalledTest::setUp function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php
DrupalInstalledTest::tearDown function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php
DrupalInstalledTest::testDrupalInstalledHash function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/DrupalInstalledTest.php Tests DrupalInstalled.php hash changes when scaffolding is run.
DrupalKernelRequestStackTest class core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Tests the usage of the request stack as part of request processing.
DrupalKernelRequestStackTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php
DrupalKernelRequestStackTest::$modules property core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Modules to install.
DrupalKernelRequestStackTest::$recordedRequests property core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php The request stack requests when the kernel request event is fired.
DrupalKernelRequestStackTest::$recordedRequestStackCount property core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php The request stack count when the kernel request event is fired.
DrupalKernelRequestStackTest::checkErrorHandlerOnTearDown function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Checks the test error handler after test execution.
DrupalKernelRequestStackTest::getRequestStackCount function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Uses reflection to count the number of requests in the request stack.
DrupalKernelRequestStackTest::getSubscribedEvents function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php
DrupalKernelRequestStackTest::onRequest function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Records the current request and master request for testing.
DrupalKernelRequestStackTest::register function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Registers test-specific services.
DrupalKernelRequestStackTest::testRequestStackHandling function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Tests request stack when sub requests are made.
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 Tests Drupal\Core\DrupalKernel.
DrupalKernelTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
DrupalKernelTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php
DrupalKernelTest::bootKernel function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Bootstraps a kernel for a test.
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::tearDown function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php
DrupalKernelTest::testBuildParametersRemoved function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests that dot-prefixed build parameters are removed from the container.
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::testLocale function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests system locale.
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::testResetContainer function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests reset container.
DrupalKernelTest::testTrustedHosts function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests hostname validation with settings.
DrupalKernelTest::testUnBootedTerminate function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests un booted terminate.
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::getScriptBody function core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php
DrupalLogErrorTest::provideFatalExitCodeData function 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.

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