MXUnit 2.1.3 (Generated: 09/27/2012)

mxunit.framework
Class HtmlTestResult

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

public class HtmlTestResult
extends TestResult

Responsible for generating HTML representation of a TestResult


Method Summary
 HtmlTestResult HTMLTestResult([TestResult testResults])
          Constructor
 string getHtmlResults([any mxunit_root='[runtime expression]'], [any test_title='MXUnit Test Results'])
          Returns a stylized HTML representation of the TestResult
 string getRawHtmlResults([any mxunit_root='[runtime expression]'])
          Returns a _raw_ HTML representation of the TestResult
 any printResources([any mxunit_root='./mxunit'], [any test_title='MXUnit Test Results'])
          Prints CSS and JavaScript refs for stylizing
private string renderErrorStruct(any ErrorCollection)
          I render a coldfusion error struct as HTML
 
Methods inherited from class mxunit.framework.TestResult
mxunit.framework.HtmlTestResult
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

HTMLTestResult

public HtmlTestResult HTMLTestResult([TestResult testResults])
Constructor

Parameters:
testResults

getHtmlResults

public string getHtmlResults([any mxunit_root='[runtime expression]'], [any test_title='MXUnit Test Results'])
Returns a stylized HTML representation of the TestResult

Parameters:
mxunit_root - Location in the webroot where MXUnit is installed.
test_title - An HTML title to display for this test

getRawHtmlResults

public string getRawHtmlResults([any mxunit_root='[runtime expression]'])
Returns a _raw_ HTML representation of the TestResult

Parameters:
mxunit_root - Location in the webroot where MXUnit is installed.

printResources

public any printResources([any mxunit_root='./mxunit'], [any test_title='MXUnit Test Results'])
Prints CSS and JavaScript refs for stylizing

Parameters:
mxunit_root - Location in the webroot where MXUnit is installed.
test_title

renderErrorStruct

private string renderErrorStruct(any ErrorCollection)
I render a coldfusion error struct as HTML

Parameters:
ErrorCollection

MXUnit 2.1.3 (Generated: 09/27/2012)