Fix for SWF-656. Needed to call FacesContext.renderResponse from the FlowActionListener.

This commit is contained in:
Jeremy Grelle
2008-04-01 15:21:59 +00:00
parent c8a9afdc51
commit 1d9ac8edb5
2 changed files with 3 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ public class FlowActionListenerTests extends TestCase {
JsfView.EVENT_KEY));
assertEquals("The event should be " + outcome, outcome, jsfMock.externalContext().getRequestMap().get(
JsfView.EVENT_KEY));
assertTrue("Render response flag should be set", jsfMock.facesContext().getRenderResponse());
}
public final void testProcessAction_NullOutcome() {
@@ -66,6 +67,7 @@ public class FlowActionListenerTests extends TestCase {
assertFalse("An unexpected event was signaled", jsfMock.externalContext().getRequestMap().containsKey(
JsfView.EVENT_KEY));
assertTrue("Render response flag should be set", jsfMock.facesContext().getRenderResponse());
}
private class MethodBindingStub extends MethodBinding {