portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r208755 - in /portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed: AbstractPortalContainerTestCase.java deployment/TestSimpleDeployment.java window/TestWindows.java
Date Fri, 01 Jul 2005 12:58:36 GMT
Author: ate
Date: Fri Jul  1 05:58:35 2005
New Revision: 208755

URL: http://svn.apache.org/viewcvs?rev=208755&view=rev
Log:
Testcase corrections for changed PortletWindowAccessorImpl constructor now with explicit validation
parameter.
Note: I've set the validation for the testcases to true (as it was before the change)

Modified:
    portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/AbstractPortalContainerTestCase.java
    portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/deployment/TestSimpleDeployment.java
    portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/window/TestWindows.java

Modified: portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/AbstractPortalContainerTestCase.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/AbstractPortalContainerTestCase.java?rev=208755&r1=208754&r2=208755&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/AbstractPortalContainerTestCase.java
(original)
+++ portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/AbstractPortalContainerTestCase.java
Fri Jul  1 05:58:35 2005
@@ -38,7 +38,7 @@
     protected void setUp() throws Exception
     {
         super.setUp();
-        windowAccessor = new PortletWindowAccessorImpl(entityAccess);
+        windowAccessor = new PortletWindowAccessorImpl(entityAccess, true);
         portletContainer = new JetspeedPortletContainerWrapper(new PortletContainerImpl());
     }
 }

Modified: portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/deployment/TestSimpleDeployment.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/deployment/TestSimpleDeployment.java?rev=208755&r1=208754&r2=208755&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/deployment/TestSimpleDeployment.java
(original)
+++ portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/deployment/TestSimpleDeployment.java
Fri Jul  1 05:58:35 2005
@@ -368,7 +368,7 @@
             testDb = new File("./test/db/hsql/Registry").getCanonicalPath();           
             
             copyDeployables();
-            windowAccess = new PortletWindowAccessorImpl(entityAccess);  
+            windowAccess = new PortletWindowAccessorImpl(entityAccess, true);  
         }
         catch (Exception e)
         {

Modified: portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/window/TestWindows.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/window/TestWindows.java?rev=208755&r1=208754&r2=208755&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/window/TestWindows.java (original)
+++ portals/jetspeed-2/trunk/portal/src/test/org/apache/jetspeed/window/TestWindows.java Fri
Jul  1 05:58:35 2005
@@ -74,7 +74,7 @@
         fragMock = new Mock(Fragment.class);
         entityMock = new Mock(MutablePortletEntity.class);
         windowListMock = new Mock(CompositeWindowList.class);
-        windowAccess = new PortletWindowAccessorImpl((PortletEntityAccessComponent) entityAccessMock.proxy());
+        windowAccess = new PortletWindowAccessorImpl((PortletEntityAccessComponent) entityAccessMock.proxy(),
true);
     }
 
     public void testWindowAccess() throws Exception



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