namespace Drupal\Tests\Core\Controller

Same name in other branches
  1. 11.x Drupal\Tests\Core\Controller
  2. 9 Drupal\Tests\Core\Controller
  3. 8.9.x Drupal\Tests\Core\Controller
Object name File name Summary
AjaxRendererTest core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php @coversDefaultClass \Drupal\Core\Render\MainContent\AjaxRenderer
@group Ajax
ControllerBaseTest core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php Tests that the base controller class.
ControllerResolverTest core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php @coversDefaultClass \Drupal\Core\Controller\ControllerResolver
@group Controller
MockContainerAware core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockController core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockControllerPsr7 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockInvokeController core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
TestController core/tests/Drupal/Tests/Core/Controller/TestController.php Defines a test controller used by unit tests.
TitleCallback core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php Provides an example title callback for the testDynamicTitle method above.
TitleResolverTest core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php @coversDefaultClass \Drupal\Core\Controller\TitleResolver
@group Controller

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