Class XUnitConversionService
java.lang.Object
org.jenkinsci.plugins.xunit.service.XUnitConversionService
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(XUnitToolInfo xUnitToolInfo, File inputFile, File junitOutputDirectory) Converts the inputFile into a JUnit output file
-
Constructor Details
-
XUnitConversionService
-
-
Method Details
-
convert
public File convert(XUnitToolInfo xUnitToolInfo, File inputFile, File junitOutputDirectory) throws IOException Converts the inputFile into a JUnit output file- Parameters:
xUnitToolInfo
- the xUnit info wrapper objectinputFile
- the input file to be convertedjunitOutputDirectory
- the output parent directory that contains the JUnit output file- Returns:
- the converted file
- Throws:
org.jenkinsci.lib.dtkit.util.converter.ConversionException
- when conversion errors occurs.IOException
- when converted reports could not be created or written.
-