portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r836033 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java
Date Fri, 13 Nov 2009 22:32:12 GMT
Author: taylor
Date: Fri Nov 13 22:32:11 2009
New Revision: 836033

URL: http://svn.apache.org/viewvc?rev=836033&view=rev
Log:
fix broken build

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

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java?rev=836033&r1=836032&r2=836033&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/decoration/TestDecorations.java
Fri Nov 13 22:32:11 2009
@@ -184,6 +184,7 @@
         expectAndReturn(portletDecorMock, "getStyleSheet", "/decorations/portlet/test/html/css/styles.css");
         expectAndReturn(portletDecorMock, "getStyleSheetPortal", null);
         portletDecorMock.expects(atLeastOnce()).method("getName").withNoArguments().will(returnValue("tigris"));
+        layoutMock.expects(atLeastOnce()).method("getName").withNoArguments().will(returnValue("tigris"));
//DST
         
         fragmentMock.expects(once()).method("getId")
                                     .withNoArguments()
@@ -210,14 +211,14 @@
         verify();
     }
 
-    public void testDecortaionFactory()
+    public void testDecorationFactory()
     {      
         
         rvMock = new Mock(ResourceValidator.class);
         rv = (ResourceValidator)rvMock.proxy();
         rvMock.expects(atLeastOnce()).method("resourceExists")
                                      .withAnyArguments()
-                                     .will(returnValue(false));
+                                     .will(returnValue(true));
         
         // Define expected behavior
         Mock servletContextMock = new Mock(ServletContext.class);



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