testbox.system.reports

Class ConsoleReporter

lucee.Component
    extended by testbox.system.reports.BaseReporter
      extended by testbox.system.reports.TextReporter
        extended by testbox.system.reports.ConsoleReporter

Copyright Since 2005 TestBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- A text reporter that emits to the console via java System out.

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init()
    Method Summary
    any getName()
         Get the name of the reporter.
    any runReport(TestResult results, TestBox testbox, [struct options='[runtime expression]'], [boolean justReturn='false'])
         Do the reporting thing here using the incoming test results.
     
    Methods inherited from class testbox.system.reports.TextReporter
    getBundleIndicator, getStatusIndicator, space, tab
     
    Methods inherited from class testbox.system.reports.BaseReporter
    getPageContextResponse, openInEditorURL, prepareIncomingParams, resetHTMLResponse
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Method Detail

    getName

    public any getName()

    Get the name of the reporter

    Overrides:
    getName in class TextReporter

    runReport

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

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

    Overrides:
    runReport in class TextReporter
    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
    justReturn - Boolean flag that if set just returns the content with no content type and buffer reset