Class BaseTestCaseParser<T extends TestCase>

java.lang.Object
org.citrusframework.config.xml.BaseTestCaseParser<T>
Type Parameters:
T -
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
Direct Known Subclasses:
TestCaseParser

public class BaseTestCaseParser<T extends TestCase> extends Object implements org.springframework.beans.factory.xml.BeanDefinitionParser
Base test case for parsing the test case
Author:
Christop Deppisch, Thorsten Schlathoelter
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BaseTestCaseParser(Class<T> testCaseType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final org.springframework.beans.factory.config.BeanDefinition
    parse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
    Parses the test case element and returns a bean definition for test case

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BaseTestCaseParser

      protected BaseTestCaseParser(Class<T> testCaseType)
  • Method Details

    • parse

      public final org.springframework.beans.factory.config.BeanDefinition parse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
      Parses the test case element and returns a bean definition for test case
      Specified by:
      parse in interface org.springframework.beans.factory.xml.BeanDefinitionParser
      Parameters:
      element - the xml element to be parsed
      parserContext - the parser context
      Returns:
      a bean definition for the test case bean