Browse Source

out of memory test case

pull/7/head
Keith Donald 14 years ago
parent
commit
7bf4e93783
  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