hudson.plugins.nunit
Class NUnitReportTransformer
java.lang.Object
hudson.plugins.nunit.NUnitReportTransformer
- All Implemented Interfaces:
- TestReportTransformer, java.io.Serializable
public class NUnitReportTransformer
- extends java.lang.Object
- implements TestReportTransformer, java.io.Serializable
Transforms a NUnit report into seperate JUnit reports. The NUnit report can contain several test cases and the JUnit
report that is read by Hudson should only contain one. This class will split up one NUnit report into several JUnit
files.
- See Also:
- Serialized Form
|
Method Summary |
void |
transform(java.io.InputStream nunitFileStream,
java.io.File junitOutputPath)
Transform the nunit file into several junit files in the output path |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUNIT_FILE_POSTFIX
public static final java.lang.String JUNIT_FILE_POSTFIX
- See Also:
- Constant Field Values
JUNIT_FILE_PREFIX
public static final java.lang.String JUNIT_FILE_PREFIX
- See Also:
- Constant Field Values
NUNIT_TO_JUNIT_XSLFILE_STR
public static final java.lang.String NUNIT_TO_JUNIT_XSLFILE_STR
- See Also:
- Constant Field Values
NUnitReportTransformer
public NUnitReportTransformer()
transform
public void transform(java.io.InputStream nunitFileStream,
java.io.File junitOutputPath)
throws java.io.IOException,
javax.xml.transform.TransformerException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
- Transform the nunit file into several junit files in the output path
- Specified by:
transform in interface TestReportTransformer
- Parameters:
nunitFileStream - the nunit file stream to transformjunitOutputPath - the output path to put all junit files
- Throws:
java.io.IOException - thrown if there was any problem with the transform.
javax.xml.transform.TransformerException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
Copyright © 2007. All Rights Reserved.