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
  • Constructor Details

    • TestCaseFactory

      public TestCaseFactory()
  • Method Details

    • getObject

      public TestCase getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<TestCase>
      Throws:
      Exception
    • getObjectType

      public Class getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<TestCase>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<TestCase>
    • setFinalActions

      public void setFinalActions(List<TestAction> finalActions)
      Setter for final test actions.
      Parameters:
      finalActions -
    • setTestCase

      public void setTestCase(TestCase testCase)
      Set the test case object.
      Parameters:
      testCase -
    • setTestActions

      public void setTestActions(List<TestAction> testActions)
      Set the test actions.
      Parameters:
      testActions -