Package com.consol.citrus.docs
Class SvgTestDocsGenerator
- java.lang.Object
-
- com.consol.citrus.docs.AbstractTestDocsGenerator
-
- com.consol.citrus.docs.SvgTestDocsGenerator
-
- All Implemented Interfaces:
TestDocsGenerator
public final class SvgTestDocsGenerator extends AbstractTestDocsGenerator
Class to automatically generate a visual representation of aTestCasein SVG.- Since:
- 2007
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description SvgTestDocsGenerator()Default constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SvgTestDocsGeneratorbuild()Builds a new test doc generator.voiddoBody(OutputStream buffered)Generates the test documentation.voiddoHeader(OutputStream buffered)Generates the test documentation.voidgenerateDoc()Generates the test documentation.protected PropertiesgetTestDocProperties()Gets the test doc properties.SvgTestDocsGeneratoruseSrcDirectory(String testDir)Adds a custom test source directory.-
Methods inherited from class com.consol.citrus.docs.AbstractTestDocsGenerator
getSrcDirectory
-
-
-
-
Method Detail
-
generateDoc
public void generateDoc()
Generates the test documentation.- Specified by:
generateDocin interfaceTestDocsGenerator- Overrides:
generateDocin classAbstractTestDocsGenerator
-
build
public static SvgTestDocsGenerator build()
Builds a new test doc generator.- Returns:
-
useSrcDirectory
public SvgTestDocsGenerator useSrcDirectory(String testDir)
Adds a custom test source directory.- Parameters:
testDir- the test source directory.- Returns:
-
doBody
public void doBody(OutputStream buffered) throws TransformerException, IOException, SAXException
Description copied from class:AbstractTestDocsGeneratorGenerates the test documentation.- Specified by:
doBodyin classAbstractTestDocsGenerator- Throws:
TransformerExceptionIOExceptionSAXException
-
doHeader
public void doHeader(OutputStream buffered) throws TransformerException, IOException, SAXException
Description copied from class:AbstractTestDocsGeneratorGenerates the test documentation.- Specified by:
doHeaderin classAbstractTestDocsGenerator- Throws:
TransformerExceptionIOExceptionSAXException
-
getTestDocProperties
protected Properties getTestDocProperties()
Description copied from class:AbstractTestDocsGeneratorGets the test doc properties.- Specified by:
getTestDocPropertiesin classAbstractTestDocsGenerator- Returns:
-
-