portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r757831 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/PortletFactoryMock.java
Date Tue, 24 Mar 2009 15:11:19 GMT
Author: ate
Date: Tue Mar 24 15:11:16 2009
New Revision: 757831

URL: http://svn.apache.org/viewvc?rev=757831&view=rev
Log:
Adding missing methods to PortletFactoryMock

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/PortletFactoryMock.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/PortletFactoryMock.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/PortletFactoryMock.java?rev=757831&r1=757830&r2=757831&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/PortletFactoryMock.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/PortletFactoryMock.java
Tue Mar 24 15:11:16 2009
@@ -16,13 +16,17 @@
  */
 package org.apache.jetspeed;
 
+import java.util.List;
+
 import javax.portlet.PortletException;
 import javax.portlet.PortletRequestDispatcher;
+import javax.portlet.PortletURLGenerationListener;
 import javax.portlet.PreferencesValidator;
 import javax.servlet.RequestDispatcher;
 import javax.servlet.ServletContext;
 
 import org.apache.jetspeed.factory.PortletFactory;
+import org.apache.jetspeed.factory.PortletFilterInstance;
 import org.apache.jetspeed.factory.PortletInstance;
 import org.apache.jetspeed.om.portlet.PortletApplication;
 import org.apache.jetspeed.om.portlet.PortletDefinition;
@@ -50,4 +54,22 @@
     public PortletRequestDispatcher createRequestDispatcher(RequestDispatcher requestDispatcher)
{ return null; }
     
     public PortletRequestDispatcher createRequestDispatcher(RequestDispatcher requestDispatcher,
String path) { return null; }
+
+    public List<PortletURLGenerationListener> getPortletApplicationListeners(PortletApplication
pa)
+    throws PortletException
+    {
+        return null;
+    }
+
+    public PortletFilterInstance getPortletFilterInstance(PortletApplication pa, String filterName)
+    throws PortletException
+    {
+        return null;
+    }
+
+    public PortletInstance getPortletInstance(ServletContext servletContext, PortletDefinition
pd, boolean noProxy)
+    throws PortletException
+    {
+        return null;
+    }
 }
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message