test_page_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/test_page_test/test_page_test.routing.yml
  2. 8.9.x core/modules/system/tests/modules/test_page_test/test_page_test.routing.yml
  3. 10 core/modules/system/tests/modules/test_page_test/test_page_test.routing.yml
core/modules/system/tests/modules/test_page_test/test_page_test.routing.yml
11 string references to YAML keys in test_page_test.routing.yml
BrowserTestBaseTest::testGoTo in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Tests basic page test.
DisplayBlockTest::testBlockEmptyRendering in core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
Tests the various test cases of empty block rendering.
MenuCacheTagsTest::testMenuBlock in core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php
Tests cache tags presence and invalidation of the Menu entity.
NavigationLinkBlockTest::testNavigationLinkBlock in core/modules/navigation/tests/src/Functional/NavigationLinkBlockTest.php
Test output of the link navigation with regards to caching and contents.
NavigationShortcutsBlockTest::testNavigationBlock in core/modules/navigation/tests/src/Functional/NavigationShortcutsBlockTest.php
Tests visibility and cacheability of shortcuts in the navigation bar.

... See full list

File

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

View source
  1. test_page_test.test_page:
  2. path: '/test-page'
  3. defaults:
  4. _title: 'Test front page'
  5. _controller: '\Drupal\test_page_test\Controller\TestPageTestController::testPage'
  6. requirements:
  7. _access: 'TRUE'
  8. test_page_test.render_title:
  9. path: '/test-render-title'
  10. defaults:
  11. _controller: '\Drupal\test_page_test\Controller\Test::renderTitle'
  12. requirements:
  13. _access: 'TRUE'
  14. test_page_test.static_title:
  15. path: '/test-page-static-title'
  16. defaults:
  17. _controller: '\Drupal\test_page_test\Controller\Test::staticTitle'
  18. _title: 'Static title'
  19. requirements:
  20. _access: 'TRUE'
  21. test_page_test.cached_controller:
  22. path: '/test-page-cached-controller'
  23. defaults:
  24. _controller: '\Drupal\test_page_test\Controller\Test::controllerWithCache'
  25. requirements:
  26. _access: 'TRUE'
  27. test_page_test.dynamic_title:
  28. path: '/test-page-dynamic-title'
  29. defaults:
  30. _controller: '\Drupal\test_page_test\Controller\Test::staticTitle'
  31. _title_callback: '\Drupal\test_page_test\Controller\Test::dynamicTitle'
  32. requirements:
  33. _access: 'TRUE'
  34. test_page_test.http_response_exception:
  35. path: '/test-http-response-exception/{code}'
  36. defaults:
  37. _controller: '\Drupal\test_page_test\Controller\Test::httpResponseException'
  38. code: 200
  39. requirements:
  40. _access: 'TRUE'
  41. test_page_test.error:
  42. path: '/test-error'
  43. defaults:
  44. _controller: '\Drupal\test_page_test\Controller\Test::error'
  45. code: 200
  46. requirements:
  47. _access: 'TRUE'
  48. test_page_test.field_xpath:
  49. path: '/test-field-xpath'
  50. defaults:
  51. _title: 'Table and form elements for field xpath assertion testing'
  52. _form: '\Drupal\test_page_test\Form\TestForm'
  53. requirements:
  54. _access: 'TRUE'
  55. test_page_test.escaped_characters:
  56. path: '/test-escaped-characters'
  57. defaults:
  58. _controller: '\Drupal\test_page_test\Controller\Test::escapedCharacters'
  59. code: 200
  60. requirements:
  61. _access: 'TRUE'
  62. test_page_test.escaped_script:
  63. path: '/test-escaped-script'
  64. defaults:
  65. _controller: '\Drupal\test_page_test\Controller\Test::escapedScript'
  66. code: 200
  67. requirements:
  68. _access: 'TRUE'
  69. test_page_test.unescaped_script:
  70. path: '/test-unescaped-script'
  71. defaults:
  72. _controller: '\Drupal\test_page_test\Controller\Test::unescapedScript'
  73. code: 200
  74. requirements:
  75. _access: 'TRUE'
  76. test_page_test.meta_refresh:
  77. path: '/test-meta-refresh'
  78. defaults:
  79. _title: 'Page with a redirect'
  80. _controller: '\Drupal\test_page_test\Controller\Test::metaRefresh'
  81. requirements:
  82. _access: 'TRUE'
  83. test_page_test.deprecations:
  84. path: '/test-deprecations'
  85. defaults:
  86. _title: 'Page with deprecation notices'
  87. _controller: '\Drupal\test_page_test\Controller\Test::deprecations'
  88. requirements:
  89. _access: 'TRUE'
  90. test_page_test.test_page_var_dump:
  91. path: '/test-page-var-dump'
  92. defaults:
  93. _title: 'Test front page with var dump'
  94. _controller: '\Drupal\test_page_test\Controller\TestPageTestController::testPageVarDump'
  95. requirements:
  96. _access: 'TRUE'

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