Suppress warnings in ServletAnnotationControllerHandlerMethodTests
This commit is contained in:
@@ -1753,6 +1753,7 @@ public class ServletAnnotationControllerHandlerMethodTests extends AbstractServl
|
|||||||
}
|
}
|
||||||
|
|
||||||
@PathPatternsParameterizedTest
|
@PathPatternsParameterizedTest
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
void responseBodyAsHtml(boolean usePathPatterns) throws Exception {
|
void responseBodyAsHtml(boolean usePathPatterns) throws Exception {
|
||||||
initDispatcherServlet(TextRestController.class, usePathPatterns, wac -> {
|
initDispatcherServlet(TextRestController.class, usePathPatterns, wac -> {
|
||||||
if (!usePathPatterns) {
|
if (!usePathPatterns) {
|
||||||
@@ -1792,6 +1793,7 @@ public class ServletAnnotationControllerHandlerMethodTests extends AbstractServl
|
|||||||
}
|
}
|
||||||
|
|
||||||
@PathPatternsParameterizedTest
|
@PathPatternsParameterizedTest
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
void responseBodyAsHtmlWithSuffixPresent(boolean usePathPatterns) throws Exception {
|
void responseBodyAsHtmlWithSuffixPresent(boolean usePathPatterns) throws Exception {
|
||||||
initDispatcherServlet(TextRestController.class, usePathPatterns, wac -> {
|
initDispatcherServlet(TextRestController.class, usePathPatterns, wac -> {
|
||||||
ContentNegotiationManagerFactoryBean factoryBean = new ContentNegotiationManagerFactoryBean();
|
ContentNegotiationManagerFactoryBean factoryBean = new ContentNegotiationManagerFactoryBean();
|
||||||
|
|||||||
Reference in New Issue
Block a user