Package | org.flexunit.internals.dependency |
Class | public class ExternalRunnerDependencyWatcher |
Inheritance | ExternalRunnerDependencyWatcher ![]() |
Implements | IExternalRunnerDependencyWatcher |
Property | Defined By | ||
---|---|---|---|
allDependenciesResolved : Boolean [read-only]
Indicates if there are still unresolved dependencies in any runner
| ExternalRunnerDependencyWatcher | ||
pendingCount : int [read-only]
Returns the number of pending start ups
| ExternalRunnerDependencyWatcher | ||
token : AsyncCoreStartupToken [read-only]
Returns the start up AsyncCoreStartupToken that the FlexUnit core
uses to wait for the resolution of all dependencies
| ExternalRunnerDependencyWatcher |
Method | Defined By | ||
---|---|---|---|
Constructor. | ExternalRunnerDependencyWatcher | ||
Tells this watcher to monitor an additional IExternalDependencyResolver
| ExternalRunnerDependencyWatcher |
Method | Defined By | ||
---|---|---|---|
Cleans up after an IExternalDependencyResolver succeeds or fails in resolving a dependency
| ExternalRunnerDependencyWatcher | ||
handleRunnerFailed(event:Event):void
Event listener that is notified when a given runner has failed to resolve dependencies
| ExternalRunnerDependencyWatcher | ||
handleRunnerReady(event:Event):void
Event listener that is notified when a given runner has all of its dependencies resolved
| ExternalRunnerDependencyWatcher | ||
Monitors an IExternalDependencyResolver for success or failure to resolve a dependency
| ExternalRunnerDependencyWatcher | ||
sendReadyNotification():void
Notifies the FlexUnit core that all dependencies watched by this instance are resolved
| ExternalRunnerDependencyWatcher |
allDependenciesResolved | property |
allDependenciesResolved:Boolean
[read-only] Indicates if there are still unresolved dependencies in any runner
public function get allDependenciesResolved():Boolean
pendingCount | property |
pendingCount:int
[read-only] Returns the number of pending start ups
public function get pendingCount():int
token | property |
token:AsyncCoreStartupToken
[read-only]
Returns the start up AsyncCoreStartupToken
that the FlexUnit core
uses to wait for the resolution of all dependencies
public function get token():AsyncCoreStartupToken
ExternalRunnerDependencyWatcher | () | Constructor |
public function ExternalRunnerDependencyWatcher()
Constructor.
cleanupListeners | () | method |
protected function cleanupListeners(dr:IExternalDependencyResolver):void
Cleans up after an IExternalDependencyResolver succeeds or fails in resolving a dependency
Parameters
dr:IExternalDependencyResolver — and IExternalDependencyResolver
|
handleRunnerFailed | () | method |
protected function handleRunnerFailed(event:Event):void
Event listener that is notified when a given runner has failed to resolve dependencies
Parameters
event:Event |
handleRunnerReady | () | method |
protected function handleRunnerReady(event:Event):void
Event listener that is notified when a given runner has all of its dependencies resolved
Parameters
event:Event |
monitorForDependency | () | method |
protected function monitorForDependency(dr:IExternalDependencyResolver):void
Monitors an IExternalDependencyResolver for success or failure to resolve a dependency
Parameters
dr:IExternalDependencyResolver — and IExternalDependencyResolver
|
sendReadyNotification | () | method |
protected function sendReadyNotification():void
Notifies the FlexUnit core that all dependencies watched by this instance are resolved
watchDependencyResolver | () | method |
public function watchDependencyResolver(dr:IExternalDependencyResolver):void
Tells this watcher to monitor an additional IExternalDependencyResolver
Parameters
dr:IExternalDependencyResolver — IExternalDependencyResolver
|