Class Index | File Index

Classes


Class jasmine.ActionCollection


Defined in: ActionCollection.js.

Class Summary
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 Summary
Method Attributes Method Name and Description
 
Starts executing the queue of functions/actions.
 
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

Documentation generated by JsDoc Toolkit 2.3.0 on Sun Jun 28 2009 13:23:39 GMT-0700 (PDT)