Class EUnitXMLFormatter
- java.lang.Object
-
- org.eclipse.epsilon.internal.eunit.xml.EUnitXMLFormatter
-
public class EUnitXMLFormatter extends Object
Class which saves the results of an EUnit test run as an XML file, using the de facto standard format used by the JUnit Ant task.- Version:
- 1.0
- Author:
- Antonio García-Domínguez
-
-
Constructor Summary
Constructors Constructor Description EUnitXMLFormatter(EUnitModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Document
generate()
Generates a DOM tree with the results of the provided EUnit module, following the format of the JUnit Ant task.void
generate(File reportDirectory)
Generates the report usinggenerate()
, and then saves the XML document into a file.
-
-
-
Constructor Detail
-
EUnitXMLFormatter
public EUnitXMLFormatter(EUnitModule module)
-
-
Method Detail
-
generate
public Document generate() throws EolRuntimeException
Generates a DOM tree with the results of the provided EUnit module, following the format of the JUnit Ant task.- Throws:
EolRuntimeException
-
generate
public void generate(File reportDirectory) throws EolRuntimeException
Generates the report usinggenerate()
, and then saves the XML document into a file.- Parameters:
reportDirectory
- Destination directory.- Throws:
EolRuntimeException
-
-