From ae382dc04e2939970e6e4308acfc55005ac329f0 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Mon, 31 Mar 2008 16:16:10 +0000 Subject: [PATCH] polish --- .../test/execution/AbstractFlowExecutionTests.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractFlowExecutionTests.java b/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractFlowExecutionTests.java index 2169e960..1e34e379 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractFlowExecutionTests.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractFlowExecutionTests.java @@ -100,6 +100,17 @@ public abstract class AbstractFlowExecutionTests extends TestCase { * execution during the start operation * @throws FlowExecutionException if an exception was thrown while starting the flow execution */ + protected void startFlow(ExternalContext context) throws FlowExecutionException { + startFlow(null, context); + } + + /** + * Start the flow execution to be tested. + * @param input input to pass the flow + * @param context the external context providing information about the caller's environment, used by the flow + * execution during the start operation + * @throws FlowExecutionException if an exception was thrown while starting the flow execution + */ protected void startFlow(MutableAttributeMap input, ExternalContext context) throws FlowExecutionException { flowExecution = getFlowExecutionFactory().createFlowExecution(getFlowDefinition()); flowExecution.start(input, context);