67 lines
2.6 KiB
Diff
67 lines
2.6 KiB
Diff
diff -Nru src/test/org/apache/commons/chain/web/portlet/MockPortletContext.java src/test/org/apache/commons/chain/web/portlet-gil/MockPortletContext.java
|
|
--- src/test/org/apache/commons/chain/web/portlet/MockPortletContext.java 2008-05-29 18:43:14.000000000 +0200
|
|
+++ src/test/org/apache/commons/chain/web/portlet-gil/MockPortletContext.java 2012-05-26 17:40:42.000000000 +0200
|
|
@@ -135,4 +135,9 @@
|
|
attributes.put(name, value);
|
|
}
|
|
|
|
+ public Enumeration<String> getContainerRuntimeOptions() {
|
|
+ // TODO
|
|
+ throw new UnsupportedOperationException("Not supported.");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru src/test/org/apache/commons/chain/web/portlet/MockPortletRequest.java src/test/org/apache/commons/chain/web/portlet-gil/MockPortletRequest.java
|
|
--- src/test/org/apache/commons/chain/web/portlet/MockPortletRequest.java 2008-05-29 18:43:14.000000000 +0200
|
|
+++ src/test/org/apache/commons/chain/web/portlet-gil/MockPortletRequest.java 2012-05-26 18:10:29.000000000 +0200
|
|
@@ -27,6 +27,7 @@
|
|
import javax.portlet.PortletMode;
|
|
import javax.portlet.PortletPreferences;
|
|
import javax.portlet.WindowState;
|
|
+import javax.servlet.http.Cookie;
|
|
import java.security.Principal;
|
|
import java.util.Map;
|
|
import java.util.HashMap;
|
|
@@ -312,4 +313,24 @@
|
|
}
|
|
}
|
|
|
|
+ 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/chain/web/portlet/MockPortletSession.java src/test/org/apache/commons/chain/web/portlet-gil/MockPortletSession.java
|
|
--- src/test/org/apache/commons/chain/web/portlet/MockPortletSession.java 2008-05-29 18:43:14.000000000 +0200
|
|
+++ src/test/org/apache/commons/chain/web/portlet-gil/MockPortletSession.java 2012-05-26 17:44:41.000000000 +0200
|
|
@@ -172,4 +172,13 @@
|
|
}
|
|
}
|
|
|
|
+ public Map<String, Object> getAttributeMap(int scope) {
|
|
+ // TODO
|
|
+ throw new UnsupportedOperationException("Not supported.");
|
|
+ }
|
|
+
|
|
+ public Map<String, Object> getAttributeMap() {
|
|
+ // TODO
|
|
+ throw new UnsupportedOperationException("Not supported.");
|
|
+ }
|
|
}
|