You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The IgnoredClassRunner is the most basic a Runner can be with only the description getter and run() method implemented. The description getter simply returns a Description object.

public function run( notifier:IRunNotifier, token:AsyncTestToken ):void {
     notifier.fireTestIgnored( description );
     token.sendResult();
}

The run() method simply calls to the method "fireTestIgnored" on the IRunNotifier passed to this method, then sendResult() is called on the AsyncTestToken which notifies any notification methods with any ChildErrors, which in this case is nothing.

  • No labels