hudson.plugins.cppunit
Class CppUnitTransformer

java.lang.Object
  extended by hudson.plugins.cppunit.CppUnitTransformer
All Implemented Interfaces:
java.io.Serializable

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

Class responsible for transforming a CppUnit file to a JUnit file and then run them all through the JUnit result archiver.

Author:
Gregory Boissinot
See Also:
Serialized Form

Field Summary
static java.lang.String CPPUNIT_TO_JUNIT_XSL
           
 
Constructor Summary
CppUnitTransformer()
           
 
Method Summary
 void transform(hudson.FilePath cppunitFileName, hudson.FilePath junitOutputPath)
          Transform the cppunit file into several a junit files in the output path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CPPUNIT_TO_JUNIT_XSL

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

CppUnitTransformer

public CppUnitTransformer()
Method Detail

transform

public void transform(hudson.FilePath cppunitFileName,
                      hudson.FilePath junitOutputPath)
               throws java.io.IOException,
                      javax.xml.transform.TransformerException,
                      org.xml.sax.SAXException,
                      javax.xml.parsers.ParserConfigurationException,
                      java.lang.InterruptedException,
                      java.io.IOException
Transform the cppunit file into several a junit files in the output path

Parameters:
cppunitFileName - the cppunit file 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
java.lang.InterruptedException


Copyright © 2009. All Rights Reserved.