portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r725921 - /portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal/src/test/org/apache/jetspeed/container/state/TestNavigationalState.java
Date Fri, 12 Dec 2008 06:44:30 GMT
Author: rwatler
Date: Thu Dec 11 22:44:30 2008
New Revision: 725921

URL: http://svn.apache.org/viewvc?rev=725921&view=rev
Log:
patched failing test case under M1

Modified:
    portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal/src/test/org/apache/jetspeed/container/state/TestNavigationalState.java

Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal/src/test/org/apache/jetspeed/container/state/TestNavigationalState.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal/src/test/org/apache/jetspeed/container/state/TestNavigationalState.java?rev=725921&r1=725920&r2=725921&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal/src/test/org/apache/jetspeed/container/state/TestNavigationalState.java
(original)
+++ portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal/src/test/org/apache/jetspeed/container/state/TestNavigationalState.java
Thu Dec 11 22:44:30 2008
@@ -113,6 +113,7 @@
         entityMock.expects(new AnyArgumentsMatcher()).method("getPortletWindowList").withNoArguments().will(new
ReturnStub(windowList));
         windowListMock.expects(new AnyArgumentsMatcher()).method("add").withAnyArguments().will(new
VoidStub());
         portletApplicationMock.expects(new AnyArgumentsMatcher()).method("getId").withNoArguments().will(new
ReturnStub(new JetspeedLongObjectID(1)));
+        portletApplicationMock.expects(new AnyArgumentsMatcher()).method("getName").withNoArguments().will(new
ReturnStub("app1"));
         portletDefinitionMock.expects(new AnyArgumentsMatcher()).method("getPortletApplicationDefinition").withNoArguments().will(new
ReturnStub(portletApplicationMock.proxy()));
         entityMock.expects(new AnyArgumentsMatcher()).method("getPortletDefinition").withNoArguments().will(new
ReturnStub(portletDefinitionMock.proxy()));
         PortletWindowAccessor accessor = (PortletWindowAccessor) engine.getComponentManager().getComponent(PortletWindowAccessor.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