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
error_service_test.services.yml file core/modules/system/tests/modules/error_service_test/error_service_test.services.yml core/modules/system/tests/modules/error_service_test/error_service_test.services.yml
error_test.info.yml file core/modules/system/tests/modules/error_test/error_test.info.yml core/modules/system/tests/modules/error_test/error_test.info.yml
error_test.routing.yml file core/modules/system/tests/modules/error_test/error_test.routing.yml core/modules/system/tests/modules/error_test/error_test.routing.yml
EventBaseTest class core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php @coversDefaultClass \Drupal\migrate\Event\EventBase[[api-linebreak]]
@group migrate
EventBaseTest.php file core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php
EventBaseTest::testGetMigration function core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php Tests getMigration method.
EventBaseTest::testLogMessage function core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php Tests logging a message.
ExceptionHandlingTest class core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for various cases.
ExceptionHandlingTest.php file core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php
ExceptionHandlingTest::$modules property core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Modules to enable.
ExceptionHandlingTest::doTest404Route function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Sets the given path to use as the 404 page and triggers a 404.
ExceptionHandlingTest::setUp function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php
ExceptionHandlingTest::test405 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests on a route with a non-supported HTTP method.
ExceptionHandlingTest::testBacktraceEscaping function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests if exception backtraces are properly escaped when output to HTML.
ExceptionHandlingTest::testExceptionEscaping function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests exception message escaping.
ExceptionHandlingTest::testExceptionResponseGeneratedForOriginalRequest function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests that the exception response is executed in the original context.
ExceptionHandlingTest::testHtml403 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for HTML and 403 status code.
ExceptionHandlingTest::testHtml404 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for HTML and 404 status code.
ExceptionHandlingTest::testJson403 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for json and 403 status code.
ExceptionHandlingTest::testJson404 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for json and 404 status code.
ExceptionJsonSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\ExceptionJsonSubscriber[[api-linebreak]]
@group EventSubscriber
ExceptionJsonSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php
ExceptionJsonSubscriberTest::providerTestOn4xx function core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php
ExceptionJsonSubscriberTest::testOn4xx function core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php @covers ::on4xx[[api-linebreak]]
@dataProvider providerTestOn4xx
ExcludedFieldTokenTest class core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php Tests the display of an excluded field that is used as a token.
ExcludedFieldTokenTest.php file core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php
ExcludedFieldTokenTest::$defaultTheme property core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php The theme to install as the default for testing.
ExcludedFieldTokenTest::$modules property core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php The modules that need to be installed for this test.
ExcludedFieldTokenTest::$testViews property core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php The views that are used by this test.
ExcludedFieldTokenTest::$view property core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php
ExcludedFieldTokenTest::setUp function core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php Sets up the test.
ExcludedFieldTokenTest::testExcludedTitleTokenDisplay function core/modules/rest/tests/src/Functional/Views/ExcludedFieldTokenTest.php Tests the display of an excluded title field when used as a token.
ExcludedModulesEventSubscriberTest class core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php Tests ExcludedModulesEventSubscriber.
ExcludedModulesEventSubscriberTest.php file core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php
ExcludedModulesEventSubscriberTest::$modules property core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php Modules to enable.
ExcludedModulesEventSubscriberTest::setUp function core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php
ExcludedModulesEventSubscriberTest::testExcludedModules function core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php Tests excluding modules from the config export.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest class core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php @group Database
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php file core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::$defaultTheme property core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php The theme to install as the default for testing.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::setUp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testExistingDrupal8StyleDatabaseConnectionInSettingsPhp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php Confirms that the site works with Drupal 8 style database connection array.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testReplicaDrupal8StyleDatabaseConnectionInSettingsPhp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php Confirms that the replica database connection works.
ExpectDeprecationTest class core/tests/Drupal/Tests/ExpectDeprecationTest.php @coversDefaultClass \Drupal\Tests\Traits\ExpectDeprecationTrait[[api-linebreak]]
ExpectDeprecationTest.php file core/tests/Drupal/Tests/ExpectDeprecationTest.php
ExpectDeprecationTest::testExpectDeprecation function core/tests/Drupal/Tests/ExpectDeprecationTest.php @covers ::addExpectedDeprecationMessage[[api-linebreak]]
ExpectDeprecationTest::testExpectDeprecationInIsolation function core/tests/Drupal/Tests/ExpectDeprecationTest.php @covers ::addExpectedDeprecationMessage[[api-linebreak]]
@runInSeparateProcess
@preserveGlobalState disabled
ExperimentalHelpTest class core/modules/help/tests/src/Functional/ExperimentalHelpTest.php Verifies help for experimental modules.
ExperimentalHelpTest.php file core/modules/help/tests/src/Functional/ExperimentalHelpTest.php
ExperimentalHelpTest::$adminUser property core/modules/help/tests/src/Functional/ExperimentalHelpTest.php The admin user.

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