Packageorg.flexunit.internals.runners
Classpublic class ErrorReportingRunner
InheritanceErrorReportingRunner Inheritance Object
Implements IRunner

Runner responsible for reproting errors encountered when attempting to initialize a class instead of running tests



Public Properties
 PropertyDefined By
  description : IDescription
[read-only] Describe the test class and add a child to it for each cause that was associated with the Error
ErrorReportingRunner
Public Methods
 MethodDefined By
  
ErrorReportingRunner(testClass:Class, cause:Error)
Constructor.
ErrorReportingRunner
  
pleaseStop():void
Ask that the tests run stop before starting the next test.
ErrorReportingRunner
  
run(notifier:IRunNotifier, previousToken:IAsyncTestToken):void
Informs the notifier about each potential cause Error for the test class
ErrorReportingRunner
Property Detail
descriptionproperty
description:IDescription  [read-only]

Describe the test class and add a child to it for each cause that was associated with the Error


Implementation
    public function get description():IDescription
Constructor Detail
ErrorReportingRunner()Constructor
public function ErrorReportingRunner(testClass:Class, cause:Error)

Constructor.

Parameters
testClass:Class — The test class that generated the error
 
cause:Error — The error that was generated when attempting to find a
Method Detail
pleaseStop()method
public function pleaseStop():void

Ask that the tests run stop before starting the next test. Phrased politely because the test currently running will not be interrupted.

run()method 
public function run(notifier:IRunNotifier, previousToken:IAsyncTestToken):void

Informs the notifier about each potential cause Error for the test class

Parameters

notifier:IRunNotifier — The notifer to notify about the cause Errors
 
previousToken:IAsyncTestToken — A token that will be alerted when the notifer has been notified for each cause Error