You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by dl...@apache.org on 2005/12/03 17:16:10 UTC
svn commit: r351974 -
/portals/jetspeed-2/trunk/components/registry/src/test/org/apache/jetspeed/components/portletentity/TestPortletEntityDAO.java
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
Re: svn commit: r351974 -
/portals/jetspeed-2/trunk/components/registry/src/test/org/apache/jetspeed/components/portletentity/TestPortletEntityDAO.java
Posted by Randy Watler <wa...@wispertel.net>.
DLS,
Thanks for catching that... I am not sure how i missed it with global
compiles... probably forgot allClean :-).
I think I am done with API mods for the DB PageManager, so the PM API
will return to a more stable state now for release.
Randy
On Sat, 2005-12-03 at 16:16 +0000, dlestrat@apache.org wrote:
> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org