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: [email protected]
For additional commands, e-mail: [email protected]