Class Index | File Index

Classes


Class jasmine.Spec


Defined in: Spec.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
jasmine.Spec(env, suite, description)
Internal representation of a Jasmine specification, or test.
Method Summary
Method Attributes Method Name and Description
 
 
 
addMatchers(matchersPrototype)
 
addToQueue(block)
 
after(doAfter, test)
 
anticipate(number)
 
execute(onComplete)
 
expect(actual)
 
 
fail(e)
 
finish(onComplete)
 
 
 
 
 
log(message)
 
 
 
runs(func)
 
spyOn(obj, methodName, ignoreMethodDoesntExist)
 
 
stop()
 
waits(timeout)
 
waitsFor(timeout, latchFunction, timeoutMessage)
Class Detail
jasmine.Spec(env, suite, description)
Internal representation of a Jasmine specification, or test.
Parameters:
{jasmine.Env} env
{jasmine.Suite} suite
{String} description
Method Detail
addBeforesAndAftersToQueue()

addMatcherResult(result)
Parameters:
result

addMatchers(matchersPrototype)
Parameters:
matchersPrototype

addToQueue(block)
Parameters:
block

after(doAfter, test)
Parameters:
doAfter
test

anticipate(number)
Parameters:
number

execute(onComplete)
Parameters:
onComplete

expect(actual)
Parameters:
actual

explodes()

fail(e)
Parameters:
e

finish(onComplete)
Parameters:
onComplete

finishCallback()

getFullName()

getMatchersClass_()

getResults()

log(message)
Parameters:
message

removeAllSpies()

results()

runs(func)
Parameters:
func

spyOn(obj, methodName, ignoreMethodDoesntExist)
Parameters:
obj
methodName
ignoreMethodDoesntExist

start()

stop()

waits(timeout)
Parameters:
timeout

waitsFor(timeout, latchFunction, timeoutMessage)
Parameters:
timeout
latchFunction
timeoutMessage

Documentation generated by JsDoc Toolkit 2.1.0 on Wed Nov 18 2009 19:59:28 GMT-0800 (PST)