system_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/system_test/system_test.routing.yml
  2. 8.9.x core/modules/system/tests/modules/system_test/system_test.routing.yml
  3. 11.x core/modules/system/tests/modules/system_test/system_test.routing.yml
core/modules/system/tests/modules/system_test/system_test.routing.yml
4 string references to YAML keys in system_test.routing.yml
DrupalMessengerServiceTest::testDrupalMessengerService in core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
Tests Messenger service.
DrupalMessengerServiceTest::testStatusMessageAssertions in core/modules/system/tests/src/Functional/Bootstrap/DrupalMessengerServiceTest.php
Tests assertion methods in WebAssert related to status messages.
PageCacheTest::testPageCacheAnonymousRolePermissions in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the automatic presence of the anonymous role's cache tag.
PageCacheTest::testQueryParameterFormatRequests in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests support for different cache items with different request formats.

File

core/modules/system/tests/modules/system_test/system_test.routing.yml

View source
  1. # cspell:ignore ȅchȏ
  2. system_test.page_cache_accept_header:
  3. path: '/system-test/page-cache/accept-header'
  4. defaults:
  5. _controller: '\Drupal\system_test\Controller\PageCacheAcceptHeaderController::content'
  6. requirements:
  7. _access: 'TRUE'
  8. system_test.main_content_handling:
  9. path: '/system-test/main-content-handling'
  10. defaults:
  11. _title: 'Test main content handling'
  12. _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
  13. requirements:
  14. _access: 'TRUE'
  15. system_test.messenger_service:
  16. path: '/system-test/messenger-service'
  17. defaults:
  18. _title: 'Set messages with Messenger service'
  19. _controller: '\Drupal\system_test\Controller\SystemTestController::messengerServiceTest'
  20. requirements:
  21. _access: 'TRUE'
  22. system_test.status_messages_for_assertions:
  23. path: '/system-test/status-messages-for-assertions'
  24. defaults:
  25. _title: 'Set various message to test status message assertion methods'
  26. _controller: '\Drupal\system_test\Controller\SystemTestController::statusMessagesForAssertions'
  27. requirements:
  28. _access: 'TRUE'
  29. system_test.main_content_fallback:
  30. path: '/system-test/main-content-fallback'
  31. defaults:
  32. _title: 'Test main content fallback'
  33. _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
  34. requirements:
  35. _access: 'TRUE'
  36. system_test.lock_acquire:
  37. path: '/system-test/lock-acquire'
  38. defaults:
  39. _title: 'Lock acquire'
  40. _controller: '\Drupal\system_test\Controller\SystemTestController::lockAcquire'
  41. options:
  42. no_cache: TRUE
  43. requirements:
  44. _access: 'TRUE'
  45. system_test.lock_exit:
  46. path: '/system-test/lock-exit'
  47. defaults:
  48. _title: 'Lock acquire then exit'
  49. _controller: '\Drupal\system_test\Controller\SystemTestController::lockExit'
  50. options:
  51. no_cache: TRUE
  52. requirements:
  53. _access: 'TRUE'
  54. system_test.lock_persist:
  55. path: '/system-test/lock-persist/{lock_name}'
  56. defaults:
  57. _title: 'Persistent lock acquire'
  58. _controller: '\Drupal\system_test\Controller\SystemTestController::lockPersist'
  59. options:
  60. no_cache: TRUE
  61. requirements:
  62. _access: 'TRUE'
  63. system_test.cache_tags_page:
  64. path: '/system-test/cache_tags_page'
  65. defaults:
  66. _controller: '\Drupal\system_test\Controller\SystemTestController::system_test_cache_tags_page'
  67. requirements:
  68. _access: 'TRUE'
  69. system_test.cache_max_age_page:
  70. path: '/system-test/cache_max_age_page'
  71. defaults:
  72. _controller: '\Drupal\system_test\Controller\SystemTestController::system_test_cache_max_age_page'
  73. requirements:
  74. _access: 'TRUE'
  75. system_test.authorize_init:
  76. path: '/system-test/authorize-init/{page_title}'
  77. defaults:
  78. _controller: '\Drupal\system_test\Controller\SystemTestController::authorizeInit'
  79. requirements:
  80. _permission: 'administer software updates'
  81. system_test.set_header:
  82. path: '/system-test/set-header'
  83. defaults:
  84. _controller: '\Drupal\system_test\Controller\SystemTestController::setHeader'
  85. requirements:
  86. _access: 'TRUE'
  87. system_test.shutdown_functions:
  88. path: '/system-test/shutdown-functions/{arg1}/{arg2}'
  89. defaults:
  90. _controller: '\Drupal\system_test\Controller\SystemTestController::shutdownFunctions'
  91. requirements:
  92. _access: 'TRUE'
  93. system_test.configure:
  94. path: '/system-test/configure/{foo}'
  95. defaults:
  96. _title_callback: '\Drupal\system_test\Controller\SystemTestController::configureTitle'
  97. requirements:
  98. _access: 'TRUE'
  99. system_test.request_destination:
  100. path: '/system-test/request-destination'
  101. defaults:
  102. _controller: '\Drupal\system_test\Controller\SystemTestController::requestDestination'
  103. requirements:
  104. _access: 'TRUE'
  105. system_test.get_destination:
  106. path: '/system-test/get-destination'
  107. defaults:
  108. _controller: '\Drupal\system_test\Controller\SystemTestController::getDestination'
  109. requirements:
  110. _access: 'TRUE'
  111. system_test.permission_dependent_content:
  112. path: '/system-test/permission-dependent-content'
  113. defaults:
  114. _controller: '\Drupal\system_test\Controller\SystemTestController::permissionDependentContent'
  115. requirements:
  116. _access: 'TRUE'
  117. system_test.permission_dependent_route_access:
  118. path: '/system-test/permission-dependent-route-access'
  119. defaults:
  120. _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
  121. requirements:
  122. _permission: 'pet llamas'
  123. system_test.respond_response:
  124. path: '/system-test/respond-response'
  125. defaults:
  126. _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithResponse'
  127. requirements:
  128. _access: 'TRUE'
  129. system_test.respond_public_response:
  130. path: '/system-test/respond-public-response'
  131. defaults:
  132. _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithPublicResponse'
  133. requirements:
  134. _access: 'TRUE'
  135. system_test.respond_cacheable_response:
  136. path: '/system-test/respond-cacheable-response'
  137. defaults:
  138. _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithCacheableResponse'
  139. requirements:
  140. _access: 'TRUE'
  141. system_test.date:
  142. path: '/system-test/date'
  143. defaults:
  144. _controller: '\Drupal\system_test\Controller\SystemTestController::getCurrentDate'
  145. options:
  146. no_cache: 'TRUE'
  147. requirements:
  148. _access: 'TRUE'
  149. system_test.custom_4xx_with_limited_access:
  150. path: '/system-test/custom-4xx'
  151. defaults:
  152. _title: 'Admin-only 4xx response'
  153. _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
  154. requirements:
  155. _role: 'administrator'
  156. system_test.always_denied:
  157. path: '/system-test/always-denied'
  158. defaults:
  159. _title: 'Always denied'
  160. _controller: 'chop'
  161. requirements:
  162. _access: 'FALSE'
  163. system_test.header:
  164. path: '/system-test/header'
  165. defaults:
  166. _controller: '\Drupal\system_test\Controller\SystemTestController::getTestHeader'
  167. requirements:
  168. _access: 'TRUE'
  169. system_test.echo:
  170. path: '/system-test/echo/{text}'
  171. defaults:
  172. _controller: '\Drupal\system_test\Controller\SystemTestController::simpleEcho'
  173. requirements:
  174. _access: 'TRUE'
  175. system_test.echo_utf8:
  176. path: '/system-test/Ȅchȏ/meφΩ/{text}'
  177. defaults:
  178. _controller: '\Drupal\system_test\Controller\SystemTestController::simpleEcho'
  179. requirements:
  180. _access: 'TRUE'
  181. system_test.custom_cache_control:
  182. path: '/system-test/custom-cache-control'
  183. defaults:
  184. _title: 'Cacheable response with custom cache control'
  185. _controller: '\Drupal\system_test\Controller\SystemTestController::getCacheableResponseWithCustomCacheControl'
  186. requirements:
  187. _access: 'TRUE'
  188. system_test.copy_field_value:
  189. path: '/system-test/copy-field-value-test-form'
  190. defaults:
  191. _form: '\Drupal\system_test\Form\CopyFieldValueTestForm'
  192. _title: 'Copy Field Value Test Form'
  193. requirements:
  194. _access: 'TRUE'
  195. router_test.cacheable_redirect:
  196. path: '/system-test/redirect/cacheable/{status_code}'
  197. defaults:
  198. _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithCacheableRedirectResponse'
  199. requirements:
  200. _access: 'TRUE'
  201. status_code: 201|301|302|303|307|308
  202. router_test.local_redirect:
  203. path: '/system-test/redirect/local/{status_code}'
  204. defaults:
  205. _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithLocalRedirectResponse'
  206. requirements:
  207. _access: 'TRUE'
  208. status_code: 201|301|302|303|307|308
  209. router_test.trusted_redirect:
  210. path: '/system-test/redirect/trusted/{status_code}'
  211. defaults:
  212. _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithTrustedRedirectResponse'
  213. requirements:
  214. _access: 'TRUE'
  215. status_code: 201|301|302|303|307|308
  216. system_test.install_profile:
  217. path: '/system-test/get-install-profile'
  218. defaults:
  219. _controller: '\Drupal\system_test\Controller\SystemTestController::getInstallProfile'
  220. requirements:
  221. _access: 'TRUE'

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