Added constructor taking test name argument to AbstractFlowExecutionTests, AbstractExternalizedFlowExecutionTests and AbstractXmlFlowExecutionTests.
This commit is contained in:
@@ -54,6 +54,10 @@ Package org.springframework.webflow.executor
|
||||
* Added support for configuring a <flow:executor> in a JSF environment, greatly simplifying JSF SWF
|
||||
configuration and making it consistent with Spring MVC and Struts. This also means its much easier
|
||||
to benefit from defaults such as a continuation-based flow execution repository and 'alwaysRedirectOnPause'.
|
||||
|
||||
Package org.springframework.webflow.test
|
||||
* Added constructor taking test name argument to AbstractFlowExecutionTests, AbstractExternalizedFlowExecutionTests
|
||||
and AbstractXmlFlowExecutionTests.
|
||||
|
||||
Changes in version 1.0.1 (08.01.2007)
|
||||
-------------------------------------
|
||||
|
||||
@@ -50,7 +50,23 @@ public abstract class AbstractExternalizedFlowExecutionTests extends AbstractFlo
|
||||
* resource as part of this test should be cached.
|
||||
*/
|
||||
private boolean cacheFlowDefinition = false;
|
||||
|
||||
/**
|
||||
* Constructs a default externalized flow execution test.
|
||||
* @see #setName(String)
|
||||
*/
|
||||
public AbstractExternalizedFlowExecutionTests() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs an externalized flow execution test with given name.
|
||||
* @param name the name of the test
|
||||
*/
|
||||
public AbstractExternalizedFlowExecutionTests(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal helper that return the flow execution factory used by the
|
||||
* test cast to a {@link FlowExecutionImplFactory}.
|
||||
|
||||
@@ -93,6 +93,22 @@ public abstract class AbstractFlowExecutionTests extends TestCase {
|
||||
* object).
|
||||
*/
|
||||
private FlowExecution flowExecution;
|
||||
|
||||
/**
|
||||
* Constructs a default flow execution test.
|
||||
* @see #setName(String)
|
||||
*/
|
||||
public AbstractFlowExecutionTests() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a flow execution test with given name.
|
||||
* @param name the name of the test
|
||||
*/
|
||||
public AbstractFlowExecutionTests(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the expression parser responsible for parsing expression strings into
|
||||
|
||||
@@ -53,7 +53,23 @@ import org.springframework.webflow.engine.builder.xml.XmlFlowBuilder;
|
||||
* @author Keith Donald
|
||||
*/
|
||||
public abstract class AbstractXmlFlowExecutionTests extends AbstractExternalizedFlowExecutionTests {
|
||||
|
||||
/**
|
||||
* Constructs a default XML flow execution test.
|
||||
* @see #setName(String)
|
||||
*/
|
||||
public AbstractXmlFlowExecutionTests() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs an XML flow execution test with given name.
|
||||
* @param name the name of the test
|
||||
*/
|
||||
public AbstractXmlFlowExecutionTests(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
||||
protected final FlowBuilder createFlowBuilder(Resource resource, FlowServiceLocator flowServiceLocator) {
|
||||
return new XmlFlowBuilder(resource, flowServiceLocator);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user