MXUnit 2.1.3 (Generated: 09/27/2012)

mxunit.framework
Class XMLTestResult

WEB-INF.cftags.component
        extended by mxunit.framework.TestResult
            extended by mxunit.framework.XMLTestResult

public class XMLTestResult
extends TestResult

Responsible for generating XML representation of a TestResult


Method Summary
 XMLTestResult XmlTestResult([TestResult testResults])
          Constructor
 void buildXmlResults(array results)
          Builds the XML string based upon the given TestResult array
 string constructTagContextElements([any exception])
          returns the error's tagcontext formatted as xml
 any getHtmlResults([any xsltStyleSheet='[runtime expression]'])
 xml getXMLDomResults()
          Returns an XML DOM representation of the TestResult
 string getXMLResults()
          Returns an XML String representation of the TestResult
 string getXslt()
          Basic XSL for outputting html
 string printStackTrace([any exception])
 
Methods inherited from class mxunit.framework.TestResult
mxunit.framework.XMLTestResult
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

XmlTestResult

public XMLTestResult XmlTestResult([TestResult testResults])
Constructor

Parameters:
testResults

buildXmlResults

public void buildXmlResults(array results)
Builds the XML string based upon the given TestResult array

Parameters:
results

constructTagContextElements

public string constructTagContextElements([any exception])
returns the error's tagcontext formatted as xml

Overrides:
constructTagContextElements in class TestResult
Parameters:
exception

getHtmlResults

public any getHtmlResults([any xsltStyleSheet='[runtime expression]'])

Parameters:
xsltStyleSheet

getXMLDomResults

public xml getXMLDomResults()
Returns an XML DOM representation of the TestResult


getXMLResults

public string getXMLResults()
Returns an XML String representation of the TestResult

Overrides:
getXMLResults in class TestResult

getXslt

public string getXslt()
Basic XSL for outputting html


printStackTrace

public string printStackTrace([any exception])

Parameters:
exception

MXUnit 2.1.3 (Generated: 09/27/2012)