diff --git a/spring-webflow/changelog.txt b/spring-webflow/changelog.txt index 852d1933..e5f1e77e 100644 --- a/spring-webflow/changelog.txt +++ b/spring-webflow/changelog.txt @@ -54,6 +54,10 @@ Package org.springframework.webflow.executor * Added support for configuring a 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) ------------------------------------- diff --git a/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractExternalizedFlowExecutionTests.java b/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractExternalizedFlowExecutionTests.java index 074c5b35..f3258a3b 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractExternalizedFlowExecutionTests.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractExternalizedFlowExecutionTests.java @@ -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}. 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 69bb1d63..4d4c5674 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 @@ -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 diff --git a/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractXmlFlowExecutionTests.java b/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractXmlFlowExecutionTests.java index 1867de6e..8ea2e79c 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractXmlFlowExecutionTests.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/test/execution/AbstractXmlFlowExecutionTests.java @@ -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); }