Package org.citrusframework.config
Class TestCaseFactory
java.lang.Object
org.citrusframework.config.TestCaseFactory
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<TestCase>
public class TestCaseFactory
extends Object
implements org.springframework.beans.factory.FactoryBean<TestCase>
Test case factory bean constructs test cases with test actions and test finally block.
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetFinalActions(List<TestAction> finalActions) Setter for final test actions.voidsetTestActions(List<TestAction> testActions) Set the test actions.voidsetTestCase(TestCase testCase) Set the test case object.
-
Constructor Details
-
TestCaseFactory
public TestCaseFactory()
-
-
Method Details
-
getObject
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<TestCase>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<TestCase>
-
setFinalActions
Setter for final test actions.- Parameters:
finalActions-
-
setTestCase
Set the test case object.- Parameters:
testCase-
-
setTestActions
Set the test actions.- Parameters:
testActions-
-