Enable Section Summary TOC for small pages

This commit is contained in:
Rob Winch
2023-04-19 10:26:17 -05:00
committed by rstoyanchev
parent 139cde47e2
commit 35229c8bff
62 changed files with 62 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
[[spring-mvc-test-server-filters]]
= Filter Registrations
:page-section-summary-toc: 1
When setting up a `MockMvc` instance, you can register one or more Servlet `Filter`
instances, as the following example shows:

View File

@@ -1,5 +1,6 @@
[[spring-mvc-test-server-htmlunit]]
= HtmlUnit Integration
:page-section-summary-toc: 1
Spring provides integration between xref:testing/spring-mvc-test-framework/server.adoc[MockMvc] and
https://htmlunit.sourceforge.io/[HtmlUnit]. This simplifies performing end-to-end testing

View File

@@ -1,5 +1,6 @@
[[spring-mvc-test-server-resources]]
= Further Examples
:page-section-summary-toc: 1
The framework's own tests include
{spring-framework-main-code}/spring-test/src/test/java/org/springframework/test/web/servlet/samples[

View File

@@ -1,5 +1,6 @@
[[spring-mvc-test-server-static-imports]]
= Static Imports
:page-section-summary-toc: 1
When using MockMvc directly to perform requests, you'll need static imports for:

View File

@@ -1,5 +1,6 @@
[[spring-mvc-test-server]]
= Overview
:page-section-summary-toc: 1
You can write plain unit tests for Spring MVC by instantiating a controller, injecting it
with dependencies, and calling its methods. However such tests do not verify request