system_test.routing.yml

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

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