portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r598502 - /portals/jetspeed-2/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java
Date Tue, 27 Nov 2007 03:05:09 GMT
Author: ate
Date: Mon Nov 26 19:05:09 2007
New Revision: 598502

URL: http://svn.apache.org/viewvc?rev=598502&view=rev
Log:
Reverting previous change, e.g. again adding mock method call for getType() to get this test
working again (for now, still waiting for 2.1.3 branch fixes to be ported)

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

Modified: portals/jetspeed-2/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java?rev=598502&r1=598501&r2=598502&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java
(original)
+++ portals/jetspeed-2/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java
Mon Nov 26 19:05:09 2007
@@ -83,6 +83,8 @@
         ArrayList list = new ArrayList(1);
         list.add(childFragment);
         
+        expectAndReturn(fragmentMock, "getType", "layout");
+        
         expectAndReturn(fragmentMock, "getFragments", list);
           
         expectAndReturn(atLeastOnce(), fragmentMock, "getId", "001");



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