Class Index | File Index

Classes


Class jasmine.WaitsForBlock


Extends jasmine.Block.

Defined in: WaitsForBlock.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
jasmine.WaitsForBlock(env, timeout, latchFunction, message, spec)
A block which waits for some condition to become true, with timeout.
Method Summary
Method Attributes Method Name and Description
 
execute(onComplete)
Class Detail
jasmine.WaitsForBlock(env, timeout, latchFunction, message, spec)
A block which waits for some condition to become true, with timeout.
Parameters:
{jasmine.Env} env
The Jasmine environment.
{Number} timeout
The maximum time in milliseconds to wait for the condition to become true.
{Function} latchFunction
A function which returns true when the desired condition has been met.
{String} message
The message to display if the desired condition hasn't been met within the given time period.
{jasmine.Spec} spec
The Jasmine spec.
Method Detail
execute(onComplete)
Parameters:
onComplete

Documentation generated by JsDoc Toolkit 2.1.0 on Wed Aug 25 2010 18:21:27 GMT-0700 (PDT)