Class EUnitXMLFormatter
- java.lang.Object
-
- org.eclipse.epsilon.internal.eunit.xml.EUnitXMLFormatter
-
public class EUnitXMLFormatter extends java.lang.ObjectClass 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 org.w3c.dom.Documentgenerate()Generates a DOM tree with the results of the provided EUnit module, following the format of the JUnit Ant task.voidgenerate(java.io.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 org.w3c.dom.Document generate() throws EolRuntimeExceptionGenerates 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(java.io.File reportDirectory) throws EolRuntimeExceptionGenerates the report usinggenerate(), and then saves the XML document into a file.- Parameters:
reportDirectory- Destination directory.- Throws:
EolRuntimeException
-
-