hudson.plugins.mstest
Class MSTestReportConverter

java.lang.Object
  extended by hudson.plugins.mstest.MSTestReportConverter
All Implemented Interfaces:
java.io.Serializable

public class MSTestReportConverter
extends java.lang.Object
implements java.io.Serializable

Transforms a MSTest report into a JUnit report.

See Also:
Serialized Form

Field Summary
static java.lang.String MSTEST_TO_JUNIT_XSLFILE_STR
           
 
Constructor Summary
MSTestReportConverter()
           
 
Method Summary
 void transform(java.io.InputStream mstestFileStream, java.io.File junitOutputPath)
          Transform the MSTest TRX file into a junit XML file in the output path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSTEST_TO_JUNIT_XSLFILE_STR

public static final java.lang.String MSTEST_TO_JUNIT_XSLFILE_STR
See Also:
Constant Field Values
Constructor Detail

MSTestReportConverter

public MSTestReportConverter()
Method Detail

transform

public void transform(java.io.InputStream mstestFileStream,
                      java.io.File junitOutputPath)
               throws java.io.IOException,
                      javax.xml.transform.TransformerException,
                      org.xml.sax.SAXException,
                      javax.xml.parsers.ParserConfigurationException
Transform the MSTest TRX file into a junit XML file in the output path

Parameters:
mstestFileStream - the mstest file stream to transform
junitOutputPath - 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 © 2009. All Rights Reserved.