Packagecom.gskinner.performance
Classpublic class XMLLog

Simple example of logging all of the XML results from a PerformanceTest instance.



Public Properties
 PropertyDefined by
  out : Function
Unlike TextLog, this function is only called when the CLOSE event is dispatched from the PerformanceTest.
XMLLog
  xml : XML
The full generated XML from all of the tests run while this log has been active.
XMLLog
Protected Properties
 PropertyDefined by
  currentTestSuite : TestSuite
XMLLog
  performanceTest : PerformanceTest
XMLLog
Public Methods
 MethodDefined by
  
XMLLog(performanceTest:PerformanceTest = null, name:String = null)
Creates a new XMLLog instance.
XMLLog
Property detail
currentTestSuiteproperty
protected var currentTestSuite:TestSuite
outproperty 
public var out:Function

Unlike TextLog, this function is only called when the CLOSE event is dispatched from the PerformanceTest. It is called with a single parameter containing the XML. It is set to trace by default.

performanceTestproperty 
protected var performanceTest:PerformanceTest
xmlproperty 
public var xml:XML

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

Constructor detail
XMLLog()constructor
public function XMLLog(performanceTest:PerformanceTest = null, name:String = null)

Creates a new XMLLog instance. You can specify the PerformanceTest instance to log, or null to use the global instance. You can also specify a name to use in the XML root node.

Parameters
performanceTest:PerformanceTest (default = null)
 
name:String (default = null)