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. 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.

All search results

Title Object type File name Summary
RouteCompilerTest::testCompilation function core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php Confirms that a route compiles properly with the necessary data.
RouteCompilerTest::testCompilationDefaultValue function core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php Confirms that a compiled route with default values has the correct outline.
RouteCompilerTest::testGetFit function core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php Tests RouteCompiler::getFit().
RouteMatchTest class core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @coversDefaultClass \Drupal\Core\Routing\RouteMatch[[api-linebreak]]
@group Routing
RouteMatchTest.php file core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php
RouteMatchTest::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php Build a test route match object for the given implementation.
RouteMatchTest::testRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @covers ::createFromRequest[[api-linebreak]]
@covers ::__construct[[api-linebreak]]
RouteMatchTestBase class core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Base test class for testing classes implementing the route match interface.
RouteMatchTestBase.php file core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php
RouteMatchTestBase::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Build a test route match object for the given implementation.
RouteMatchTestBase::routeMatchProvider function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Provide sets of parameters and expected parameters for parameter tests.
RouteMatchTestBase::testGetParameter function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getParameter[[api-linebreak]]
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames[[api-linebreak]]
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetParameters function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getParameters[[api-linebreak]]
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames[[api-linebreak]]
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRawParameter function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRawParameter[[api-linebreak]]
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames[[api-linebreak]]
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRawParameters function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRawParameters[[api-linebreak]]
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames[[api-linebreak]]
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRouteName function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRouteName[[api-linebreak]]
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRouteObject function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRouteObject[[api-linebreak]]
@dataProvider routeMatchProvider
RouteNoneTest class core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php Tests the <none> route processor.
RouteNoneTest.php file core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
RouteNoneTest::$modules property core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php Modules to enable.
RouteNoneTest::$urlGenerator property core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php The URL generator.
RouteNoneTest::setUp function core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
RouteNoneTest::testProcessOutbound function core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php Tests the output process.
RoutePreloaderTest class core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php @coversDefaultClass \Drupal\Core\Routing\RoutePreloader[[api-linebreak]]
@group Routing
RoutePreloaderTest.php file core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php
RoutePreloaderTest::$cache property core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php The mocked cache.
RoutePreloaderTest::$preloader property core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php The tested preloader.
RoutePreloaderTest::$routeProvider property core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php The mocked route provider.
RoutePreloaderTest::$state property core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php The mocked state.
RoutePreloaderTest::setUp function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php
RoutePreloaderTest::testOnAlterRoutesWithAdminPathNoAdminRoute function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with "admin" appearing in the path.
RoutePreloaderTest::testOnAlterRoutesWithAdminRoutes function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with just admin routes.
RoutePreloaderTest::testOnAlterRoutesWithNonAdminRoutes function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with admin routes and non admin routes.
RoutePreloaderTest::testOnRequestNonHtml function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onRequest on a non html request.
RoutePreloaderTest::testOnRequestOnHtml function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onRequest on a html request.
RouteProcessorCsrfTest class core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php @coversDefaultClass \Drupal\Core\Access\RouteProcessorCsrf[[api-linebreak]]
@group Access
RouteProcessorCsrfTest.php file core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php
RouteProcessorCsrfTest::$csrfToken property core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php The mock CSRF token generator.
RouteProcessorCsrfTest::$processor property core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php The route processor.
RouteProcessorCsrfTest::setUp function core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php
RouteProcessorCsrfTest::testProcessOutbound function core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php Tests the processOutbound() method with a _csrf_token route requirement.
RouteProcessorCsrfTest::testProcessOutboundDynamicOne function core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php Tests the processOutbound() method with a dynamic path and one replacement.
RouteProcessorCsrfTest::testProcessOutboundDynamicTwo function core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php Tests the processOutbound() method with two parameter replacements.
RouteProcessorCsrfTest::testProcessOutboundNoRequirement function core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php Tests the processOutbound() method with no _csrf_token route requirement.
RouteProcessorCurrentIntegrationTest class core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php Tests the <current> route processor.
RouteProcessorCurrentIntegrationTest.php file core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php
RouteProcessorCurrentIntegrationTest::$modules property core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php Modules to enable.
RouteProcessorCurrentIntegrationTest::$urlGenerator property core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php The URL generator.
RouteProcessorCurrentIntegrationTest::setUp function core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php
RouteProcessorCurrentIntegrationTest::testProcessOutbound function core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php Tests the output process.

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