portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject svn commit: r351974 - /portals/jetspeed-2/trunk/components/registry/src/test/org/apache/jetspeed/components/portletentity/TestPortletEntityDAO.java
Date Sat, 03 Dec 2005 16:16:10 GMT
Author: dlestrat
Date: Sat Dec  3 08:16:06 2005
New Revision: 351974

URL: http://svn.apache.org/viewcvs?rev=351974&view=rev
Log:
ContentFragment mock object missing two newly added methods.

Modified:
    portals/jetspeed-2/trunk/components/registry/src/test/org/apache/jetspeed/components/portletentity/TestPortletEntityDAO.java

Modified: portals/jetspeed-2/trunk/components/registry/src/test/org/apache/jetspeed/components/portletentity/TestPortletEntityDAO.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/registry/src/test/org/apache/jetspeed/components/portletentity/TestPortletEntityDAO.java?rev=351974&r1=351973&r2=351974&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/registry/src/test/org/apache/jetspeed/components/portletentity/TestPortletEntityDAO.java
(original)
+++ portals/jetspeed-2/trunk/components/registry/src/test/org/apache/jetspeed/components/portletentity/TestPortletEntityDAO.java
Sat Dec  3 08:16:06 2005
@@ -26,6 +26,7 @@
 import org.apache.jetspeed.aggregator.PortletContent;
 import org.apache.jetspeed.components.portletregistry.PortletRegistry;
 import org.apache.jetspeed.components.util.DatasourceEnabledSpringTestCase;
+import org.apache.jetspeed.om.common.SecurityConstraint;
 import org.apache.jetspeed.om.common.SecurityConstraints;
 import org.apache.jetspeed.om.common.portlet.MutablePortletApplication;
 import org.apache.jetspeed.om.common.portlet.MutablePortletEntity;
@@ -100,6 +101,16 @@
         {
             f.checkPermissions(actions);
         }
+        
+        public SecurityConstraint newSecurityConstraint()
+        {
+            return f.newSecurityConstraint();
+        }
+
+        public SecurityConstraints newSecurityConstraints()
+        {
+            return f.newSecurityConstraints();
+        }
 
         /** 
          * @see java.lang.Object#equals(java.lang.Object)
@@ -292,11 +303,6 @@
         public String toString()
         {
             return f.toString();
-        }
-
-        public Object clone() throws CloneNotSupportedException
-        {
-            return f.clone();
         }
 
         /** 



---------------------------------------------------------------------
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