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
ErrorTest class core/tests/Drupal/Tests/Core/Utility/ErrorTest.php Tests Drupal\Core\Utility\Error.
ErrorTest.php file core/tests/Drupal/Tests/Core/Utility/ErrorTest.php
ErrorTest::createBacktraceItem function core/tests/Drupal/Tests/Core/Utility/ErrorTest.php Creates a mock backtrace item.
ErrorTest::providerTestFormatBacktrace function core/tests/Drupal/Tests/Core/Utility/ErrorTest.php Data provider for testFormatBacktrace.
ErrorTest::providerTestGetLastCaller function core/tests/Drupal/Tests/Core/Utility/ErrorTest.php Data provider for testGetLastCaller.
ErrorTest::testFormatBacktrace function core/tests/Drupal/Tests/Core/Utility/ErrorTest.php Tests the formatBacktrace() method.
ErrorTest::testGetLastCaller function core/tests/Drupal/Tests/Core/Utility/ErrorTest.php Tests the getLastCaller() method.
ErrorTestController class core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Controller routines for error_test routes.
ErrorTestController.php file core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php
ErrorTestController::$database property core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php The database connection.
ErrorTestController::create function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Instantiates a new instance of the implementing class using autowiring.
ErrorTestController::generateFatalErrors function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Generate fatal errors to test the error handler.
ErrorTestController::generateWarnings function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Generate warnings to test the error handler.
ErrorTestController::triggerException function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Trigger an exception to test the exception handler.
ErrorTestController::triggerPDOException function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Trigger an exception to test the PDO exception handler.
ErrorTestController::triggerRendererException function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Trigger an exception during rendering.
ErrorTestController::__construct function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Constructs a \Drupal\error_test\Controller\ErrorTestController object.
error_service_test.info.yml file core/modules/system/tests/modules/error_service_test/error_service_test.info.yml core/modules/system/tests/modules/error_service_test/error_service_test.info.yml
error_service_test.routing.yml file core/modules/system/tests/modules/error_service_test/error_service_test.routing.yml core/modules/system/tests/modules/error_service_test/error_service_test.routing.yml
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 Tests Drupal\migrate\Event\EventBase.
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.
EventWithPackageListTraitTest class core/modules/package_manager/tests/src/Unit/EventWithPackageListTraitTest.php Tests Event With Package List Trait.
EventWithPackageListTraitTest.php file core/modules/package_manager/tests/src/Unit/EventWithPackageListTraitTest.php
EventWithPackageListTraitTest::providerGetPackages function core/modules/package_manager/tests/src/Unit/EventWithPackageListTraitTest.php Data provider for testGetPackages().
EventWithPackageListTraitTest::testGetPackages function core/modules/package_manager/tests/src/Unit/EventWithPackageListTraitTest.php Tests that runtime and dev packages are keyed correctly.
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 install.
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::test406 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests a route with a non-supported _format parameter.
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 Tests Drupal\Core\EventSubscriber\ExceptionJsonSubscriber.
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 Tests on 4xx.
ExceptionLoggingSubscriberTest class core/tests/Drupal/KernelTests/Core/EventSubscriber/ExceptionLoggingSubscriberTest.php Tests that HTTP exceptions are logged correctly.
ExceptionLoggingSubscriberTest.php file core/tests/Drupal/KernelTests/Core/EventSubscriber/ExceptionLoggingSubscriberTest.php

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