353267 Request._parameters initialization bug

Add some extra tests.
This commit is contained in:
Jan Bartel 2011-09-19 19:09:55 +10:00
parent 479d9606ec
commit 4cec8627b9
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import java.io.InputStream;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Map;
import javax.servlet.ServletException;
@ -93,6 +94,10 @@ public class RequestTest
map = request.getParameterMap();
assertFalse(map == null);
assertTrue(map.isEmpty());
Enumeration names = request.getParameterNames();
assertFalse(names.hasMoreElements());
}
return true;