Class jasmine.ActionCollection
Defined in: ActionCollection.js.
Constructor Attributes | Constructor Name and Description |
---|---|
base for Runner & Suite: allows for a queue of functions to get executed, allowing for
any one action to complete, including asynchronous calls, before going to the next
action.
|
Method Attributes | Method Name and Description |
---|---|
execute()
Starts executing the queue of functions/actions.
|
|
finish()
Marks the collection as done & calls the finish callback, if there is one
|
|
Gets the current action.
|
|
next()
Executes the next queued function/action.
|
|
waitForDone(action)
|
Class Detail
jasmine.ActionCollection(env)
base for Runner & Suite: allows for a queue of functions to get executed, allowing for
any one action to complete, including asynchronous calls, before going to the next
action.
- Parameters:
- {jasmine.Env} env
Method Detail
execute()
Starts executing the queue of functions/actions.
finish()
Marks the collection as done & calls the finish callback, if there is one
getCurrentAction()
Gets the current action.
next()
Executes the next queued function/action. If there are no more in the queue, calls #finish.
waitForDone(action)
- Parameters:
- action