Packagecom.gskinner.performance
Classpublic class TextLog

Simple example showing tracing the output from PerformanceTest as it is generated.



Public Properties
 PropertyDefined by
  out : Function
This function is called each time new text is logged, with a single param containing the new text.
TextLog
  text : String
The full generated text from all of the tests run while this log has been active.
TextLog
Protected Properties
 PropertyDefined by
  currentTestSuite : TestSuite
TextLog
  performanceTest : PerformanceTest
TextLog
Public Methods
 MethodDefined by
  
TextLog(performanceTest:PerformanceTest = null)
Creates a new TextLog instance.
TextLog
Property detail
currentTestSuiteproperty
protected var currentTestSuite:TestSuite
outproperty 
public var out:Function

This function is called each time new text is logged, with a single param containing the new text. Set to use trace by default.

performanceTestproperty 
protected var performanceTest:PerformanceTest
textproperty 
public var text:String

The full generated text from all of the tests run while this log has been active.

Constructor detail
TextLog()constructor
public function TextLog(performanceTest:PerformanceTest = null)

Creates a new TextLog instance. You can specify the PerformanceTest instance to log, or null to use the global instance.

Parameters
performanceTest:PerformanceTest (default = null)