Blob Blame History Raw
diff -Nru src/test/org/apache/commons/fileupload/MockPortletRequest.java src/test/org/apache/commons/fileupload-gil/MockPortletRequest.java
--- src/test/org/apache/commons/fileupload/MockPortletRequest.java	2010-07-14 23:28:52.000000000 +0200
+++ src/test/org/apache/commons/fileupload-gil/MockPortletRequest.java	2012-05-29 15:17:56.000000000 +0200
@@ -27,6 +27,7 @@
 import javax.portlet.PortletRequest;
 import javax.portlet.PortletSession;
 import javax.portlet.WindowState;
+import javax.servlet.http.Cookie;
 
 /**
  * A mock portlet request, useful for unit testing and offline utilities
@@ -313,4 +314,24 @@
         return null;
     }
     
+    public Map<String, String[]> getPublicParameterMap() {
+        // TODO
+        throw new UnsupportedOperationException("Not supported.");
+    }
+
+    public Map<String, String[]> getPrivateParameterMap() {
+        // TODO
+        throw new UnsupportedOperationException("Not supported.");
+    }
+    
+    public Cookie[] getCookies() {
+        // TODO
+        throw new UnsupportedOperationException("Not supported.");
+    }
+
+    public String getWindowID() {
+        // TODO
+        throw new UnsupportedOperationException("Not supported.");
+    }
+    
 }
diff -Nru src/test/org/apache/commons/fileupload/MockPortletSession.java src/test/org/apache/commons/fileupload-gil/MockPortletSession.java
--- src/test/org/apache/commons/fileupload/MockPortletSession.java	2010-07-14 23:28:52.000000000 +0200
+++ src/test/org/apache/commons/fileupload-gil/MockPortletSession.java	2012-05-29 15:07:35.000000000 +0200
@@ -18,6 +18,7 @@
 
 import java.util.Enumeration;
 import java.util.Hashtable;
+import java.util.Map;
 import javax.portlet.PortletContext;
 import javax.portlet.PortletSession;
 
@@ -168,4 +169,15 @@
         // TODO Auto-generated method stub
         return null;
     }
+
+    public Map<String, Object> getAttributeMap(int scope) {
+        // TODO
+        throw new UnsupportedOperationException("Not supported.");
+    }
+
+    public Map<String, Object> getAttributeMap() {
+        // TODO
+        throw new UnsupportedOperationException("Not supported.");
+    }
+
 }