hudson.plugins.mstest
Class MSTestReportConverter

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

public class MSTestReportConverter
extends Object
implements Serializable

Transforms a MSTest report into a JUnit report.

See Also:
Serialized Form

Field Summary
static String JUNIT_FILE_POSTFIX
           
static String JUNIT_FILE_PREFIX
           
static String MSTEST_TO_JUNIT_XSLFILE_STR
           
 
Constructor Summary
MSTestReportConverter()
           
 
Method Summary
 void transform(InputStream mstestFileStream, 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

JUNIT_FILE_POSTFIX

public static final String JUNIT_FILE_POSTFIX
See Also:
Constant Field Values

JUNIT_FILE_PREFIX

public static final String JUNIT_FILE_PREFIX
See Also:
Constant Field Values

MSTEST_TO_JUNIT_XSLFILE_STR

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

MSTestReportConverter

public MSTestReportConverter()
Method Detail

transform

public void transform(InputStream mstestFileStream,
                      File junitOutputPath)
               throws IOException,
                      TransformerException,
                      SAXException,
                      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:
IOException - thrown if there was any problem with the transform.
TransformerException
SAXException
ParserConfigurationException


Copyright © 2004-2011. All Rights Reserved.