Search for test

  1. Search 7.x for test
  2. Search 9.5.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
ErrorServiceTestServiceProvider::$containerBuilder property core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php The in-situ container builder.
ErrorServiceTestServiceProvider::alter function core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php Modifies existing service definitions.
ErrorTest class core/tests/Drupal/Tests/Core/Utility/ErrorTest.php @coversDefaultClass \Drupal\Core\Utility\Error[[api-linebreak]]
@group Utility
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 this class.
ErrorTestController::generateFatals function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Generate fatals 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 @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 Test getMigration method.
EventBaseTest::testLogMessage function core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php Test logging a message.
exception.test_site service core/core.services.yml Drupal\Core\EventSubscriber\ExceptionTestSiteSubscriber
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
ExceptionTestSiteSubscriber class core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php Custom handling of errors when in a system-under-test.
ExceptionTestSiteSubscriber.php file core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php
ExceptionTestSiteSubscriber::getHandledFormats function core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php Specifies the request formats this subscriber will respond to.
ExceptionTestSiteSubscriber::getPriority function core/lib/Drupal/Core/EventSubscriber/ExceptionTestSiteSubscriber.php Specifies the priority of all listeners in this class.

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