|
|
|
@ -16,6 +16,14 @@
@@ -16,6 +16,14 @@
|
|
|
|
|
|
|
|
|
|
package org.springframework.web.servlet.mvc.annotation; |
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.assertEquals; |
|
|
|
|
import static org.junit.Assert.assertFalse; |
|
|
|
|
import static org.junit.Assert.assertNotNull; |
|
|
|
|
import static org.junit.Assert.assertNull; |
|
|
|
|
import static org.junit.Assert.assertSame; |
|
|
|
|
import static org.junit.Assert.assertTrue; |
|
|
|
|
import static org.junit.Assert.fail; |
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.io.Serializable; |
|
|
|
|
import java.io.Writer; |
|
|
|
@ -35,6 +43,7 @@ import java.util.List;
@@ -35,6 +43,7 @@ import java.util.List;
|
|
|
|
|
import java.util.Locale; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.Set; |
|
|
|
|
|
|
|
|
|
import javax.servlet.ServletConfig; |
|
|
|
|
import javax.servlet.ServletContext; |
|
|
|
|
import javax.servlet.ServletException; |
|
|
|
@ -45,9 +54,8 @@ import javax.servlet.http.HttpSession;
@@ -45,9 +54,8 @@ import javax.servlet.http.HttpSession;
|
|
|
|
|
import javax.validation.Valid; |
|
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.*; |
|
|
|
|
import org.junit.Ignore; |
|
|
|
|
import org.junit.Test; |
|
|
|
|
|
|
|
|
|
import org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator; |
|
|
|
|
import org.springframework.aop.interceptor.SimpleTraceInterceptor; |
|
|
|
|
import org.springframework.aop.support.DefaultPointcutAdvisor; |
|
|
|
@ -451,6 +459,7 @@ public class ServletAnnotationControllerTests {
@@ -451,6 +459,7 @@ public class ServletAnnotationControllerTests {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
@Ignore |
|
|
|
|
public void commandProvidingFormControllerWithFormatter() throws Exception { |
|
|
|
|
@SuppressWarnings("serial") DispatcherServlet servlet = new DispatcherServlet() { |
|
|
|
|
@Override |
|
|
|
|