Browse Source

out of memory test case

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3893 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Keith Donald 15 years ago
parent
commit
f886af7bee
  1. 9
      org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java

9
org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java

@ -68,6 +68,14 @@ public class Spr7839Tests { @@ -68,6 +68,14 @@ public class Spr7839Tests {
adapter.handle(request, response, controller);
}
@Test
@Ignore
public void listElementAutogrowOutOfMemory() throws Exception {
request.setRequestURI("/nested/listElement");
request.addParameter("nested.list[1000000000].foo", "Nested");
adapter.handle(request, response, controller);
}
@Test
public void listOfLists() throws Exception {
request.setRequestURI("/nested/listOfLists");
@ -90,7 +98,6 @@ public class Spr7839Tests { @@ -90,7 +98,6 @@ public class Spr7839Tests {
}
@Test
@Ignore
public void arrayOfLists() throws Exception {
// TODO TypeDescriptor not capable of accessing nested element type for arrays
request.setRequestURI("/nested/arrayOfLists");

Loading…
Cancel
Save