viewRendering listener callbacks

flow model registry polishing
This commit is contained in:
Keith Donald
2008-04-11 20:35:51 +00:00
parent dd86949a6e
commit c6c7e56e4d
2 changed files with 2 additions and 2 deletions

View File

@@ -52,8 +52,8 @@ public class FlowRegistryBeanDefinitionParserTests extends TestCase {
public void testBogusPath() {
try {
registry.getFlowDefinition("bogus");
fail("Should have failed");
} catch (FlowDefinitionConstructionException e) {
e.printStackTrace();
}
}

View File

@@ -178,7 +178,7 @@ public class FlowHandlerAdapterTests extends TestCase {
FlowExecutionResult result = FlowExecutionResult.createEndedResult("foo", outcome);
PortletSession session = renderRequest.getPortletSession();
session.setAttribute("flowExecutionResult", result);
executor.launchExecution("home", flowInput, renderContext);
executor.launchExecution("home", output, renderContext);
EasyMock.expectLastCall().andReturn(FlowExecutionResult.createEndedResult("bar", outcome));
EasyMock.replay(new Object[] { executor });
ModelAndView mv = controller.handleRender(renderRequest, renderResponse, flowHandler);