coldbox.system.testing.reports

Class JUnitReporter

WEB-INF.cftags.component
        extended by coldbox.system.testing.reports.JUnitReporter
Class Attributes:
None

******************************************************************************* Copyright 2005-2009 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* A JUnit reporter

Constructor Summary
init()
Method Summary
private any buildProperties(any buffer, any results, any bundleStats, any suiteStats)
private any buildTestCase(any buffer, any results, any specStats, any bundleStats)
private any buildTestSuites(any buffer, any results, any bundleStats, any suiteStats, [any parentName=''])
private any genPropsFromCollection(any buffer, any collection)
any getName()
     Get the name of the reporter.
any runReport(TestResult results, TestBox testbox, [struct options='[runtime expression]'])
     Do the reporting thing here using the incoming test results The report should return back in whatever format they desire and should set any Specifc browser types if needed.
private any toJUnit(any results)
 
Methods inherited from class WEB-INF.cftags.component
None

Constructor Detail

init

public init()


Method Detail

buildProperties

private any buildProperties(any buffer, any results, any bundleStats, any suiteStats)

Parameters:
buffer
results
bundleStats
suiteStats

buildTestCase

private any buildTestCase(any buffer, any results, any specStats, any bundleStats)

Parameters:
buffer
results
specStats
bundleStats

buildTestSuites

private any buildTestSuites(any buffer, any results, any bundleStats, any suiteStats, [any parentName=''])

Parameters:
buffer
results
bundleStats
suiteStats
parentName

genPropsFromCollection

private any genPropsFromCollection(any buffer, any collection)

Parameters:
buffer
collection

getName

public any getName()

Get the name of the reporter


runReport

public any runReport(TestResult results, TestBox testbox, [struct options='[runtime expression]'])

Do the reporting thing here using the incoming test results The report should return back in whatever format they desire and should set any Specifc browser types if needed.

Parameters:
results - The instance of the TestBox TestResult object to build a report on
testbox - The TestBox core object
options - A structure of options this reporter needs to build the report with

toJUnit

private any toJUnit(any results)

Parameters:
results