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. 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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
DrupalTestCaseTrait trait core/tests/Drupal/Tests/DrupalTestCaseTrait.php Provides methods common across all Drupal abstract base test classes.
DrupalTestCaseTrait.php file core/tests/Drupal/Tests/DrupalTestCaseTrait.php
DrupalTestCaseTrait::$root property core/tests/Drupal/Tests/DrupalTestCaseTrait.php The Drupal root directory.
DrupalTestCaseTrait::checkErrorHandlerOnTearDown function core/tests/Drupal/Tests/DrupalTestCaseTrait.php Checks the test error handler after test execution.
DrupalTestCaseTrait::checkLegacySymfonyDeprecationHelperEnvVariable function core/tests/Drupal/Tests/DrupalTestCaseTrait.php Checks legacy SYMFONY_DEPRECATIONS_HELPER env variable is not used.
DrupalTestCaseTrait::expectExceptionMessageIs function core/tests/Drupal/Tests/DrupalTestCaseTrait.php Expects an exactly matching exception message.
DrupalTestCaseTrait::expectExceptionMessageIsOrContains function core/tests/Drupal/Tests/DrupalTestCaseTrait.php Expects an exception message containing a specified string.
DrupalTestCaseTrait::getDrupalRoot function core/tests/Drupal/Tests/DrupalTestCaseTrait.php Returns the Drupal root directory.
DrupalTestCaseTrait::setDebugDumpHandler function core/tests/Drupal/Tests/DrupalTestCaseTrait.php Registers the dumper CLI handler when the DebugDump extension is enabled.
DrupalTestCaseTrait::setUpRoot function core/tests/Drupal/Tests/DrupalTestCaseTrait.php Ensure that the $root property is set initially.
DrupalTestCaseTrait::skipTestWithAttribute function core/tests/Drupal/Tests/DrupalTestCaseTrait.php Supports skipping tests with the Skip attribute.
Drupal\autowire_test\TestInjection service core/modules/system/tests/modules/autowire_test/autowire_test.services.yml
Drupal\autowire_test\TestInjection2 service core/modules/system/tests/modules/autowire_test/autowire_test.services.yml
Drupal\autowire_test\TestInjection3 service core/modules/system/tests/modules/autowire_test/autowire_test.services.yml
Drupal\autowire_test\TestInjectionInterface service core/modules/system/tests/modules/autowire_test/autowire_test.services.yml Alias of Drupal\autowire_test\TestInjection
Drupal\autowire_test\TestService service core/modules/system/tests/modules/autowire_test/autowire_test.services.yml
Drupal\batch_test\BatchInjectionCallbacks service core/modules/system/tests/modules/batch_test/batch_test.services.yml
Drupal\console_test\Command\ConsoleExampleConfigureCommand service core/modules/system/tests/modules/console_test/console_test.services.yml
Drupal\console_test\Command\ConsoleExamplePrivateCommand service core/modules/system/tests/modules/console_test/console_test.services.yml
Drupal\database_test\EventSubscriber\DatabaseEventSubscriber service core/modules/system/tests/modules/database_test/database_test.services.yml
Drupal\destructable_test\Destructable service core/modules/system/tests/modules/destructable_test/destructable_test.services.yml
Drupal\file_test\EventSubscriber\DummyMimeTypeMapLoadedSubscriber service core/modules/file/tests/file_test/file_test.services.yml
Drupal\mailer_transport_factory_kernel_test\Transport\CanaryTransportFactory service core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/mailer_transport_factory_kernel_test.services.yml
Drupal\module_installer_config_subscriber\EventSubscriber\ModuleInstallConfigTestSubscriber service core/modules/system/tests/modules/module_installer_config_subscriber/module_installer_config_subscriber.services.yml
Drupal\package_manager\PathExcluder\TestSiteExcluder service core/modules/package_manager/package_manager.services.yml
Drupal\package_manager_test_validation\TestExecutableFinder service core/modules/package_manager/tests/modules/package_manager_test_validation/package_manager_test_validation.services.yml
Drupal\performance_test\DatabaseEventEnabler service core/modules/system/tests/modules/performance_test/performance_test.services.yml
Drupal\performance_test\PerformanceDataCollector service core/modules/system/tests/modules/performance_test/performance_test.services.yml
Drupal\services_defaults_test\TestInjection service core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml
Drupal\services_defaults_test\TestInjection2 service core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml
Drupal\services_defaults_test\TestPrivateService service core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml
Drupal\services_defaults_test\TestService service core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml
Drupal\user_route_alter_test\Routing\RouteSubscriber service core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.services.yml
drupal_generate_test_ua function core/includes/bootstrap.inc Generates a user agent string with a HMAC and timestamp for tests.
drupal_system_cross_profile_test.info.yml file core/profiles/tests/testing/modules/drupal_system_cross_profile_test/drupal_system_cross_profile_test.info.yml core/profiles/tests/testing/modules/drupal_system_cross_profile_test/drupal_system_cross_profile_test.info.yml
drupal_system_listing_compatible_test.info.yml file core/profiles/tests/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml core/profiles/tests/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml
drupal_system_listing_compatible_test.info.yml file core/modules/system/tests/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml core/modules/system/tests/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info.yml
drupal_valid_test_ua function core/includes/bootstrap.inc Returns the test prefix if this is an internal request from a test.
DummyPrivateStreamWrapper class core/modules/file/tests/file_test/src/StreamWrapper/DummyPrivateStreamWrapper.php Helper class for testing the stream wrapper registry.
DummyPrivateStreamWrapper.php file core/modules/file/tests/file_test/src/StreamWrapper/DummyPrivateStreamWrapper.php
DummyPrivateStreamWrapper::getExternalUrl function core/modules/file/tests/file_test/src/StreamWrapper/DummyPrivateStreamWrapper.php Override getExternalUrl().
DummyRemoteStreamWrapper class core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php Helper class for testing the stream wrapper registry.
DummyRemoteStreamWrapper.php file core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php
DummyRemoteStreamWrapper::getDescription function core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php Returns the description of the stream wrapper for use in the UI.
DummyRemoteStreamWrapper::getName function core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php Returns the name of the stream wrapper for use in the UI.
DummyRemoteStreamWrapper::realpath function core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php Returns canonical, absolute path of the resource.
DummyStreamWrapperFileTest class core/modules/file/tests/src/Functional/DummyStreamWrapperFileTest.php Tests the file uploading functions.
DummyStreamWrapperFileTest.php file core/modules/file/tests/src/Functional/DummyStreamWrapperFileTest.php
DummyStreamWrapperFileTest::$account property core/modules/file/tests/src/Functional/DummyStreamWrapperFileTest.php
DummyStreamWrapperFileTest::$defaultTheme property core/modules/file/tests/src/Functional/DummyStreamWrapperFileTest.php The theme to install as the default for testing.

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