Class Index | File Index

Classes


Class jasmine.Env


Defined in: Env.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Environment for Jasmine
Method Summary
Method Attributes Method Name and Description
 
addEqualityTester(equalityTester)
 
addReporter(reporter)
Register a reporter to receive status updates from Jasmine.
 
afterEach(afterEachFunction)
 
beforeEach(beforeEachFunction)
 
compareObjects_(a, b, mismatchKeys, mismatchValues)
 
contains_(haystack, needle)
 
 
describe(description, specDefinitions)
 
equals_(a, b, mismatchKeys, mismatchValues)
 
 
it(description, func)
 
 
 
 
 
 
xdescribe(desc, specDefinitions)
 
xit(desc, func)
Class Detail
jasmine.Env()
Environment for Jasmine
Method Detail
addEqualityTester(equalityTester)
Parameters:
equalityTester

addReporter(reporter)
Register a reporter to receive status updates from Jasmine.
Parameters:
{jasmine.Reporter} reporter
An object which will receive status updates.

afterEach(afterEachFunction)
Parameters:
afterEachFunction

beforeEach(beforeEachFunction)
Parameters:
beforeEachFunction

compareObjects_(a, b, mismatchKeys, mismatchValues)
Parameters:
a
b
mismatchKeys
mismatchValues

contains_(haystack, needle)
Parameters:
haystack
needle

currentRunner()

describe(description, specDefinitions)
Parameters:
description
specDefinitions

equals_(a, b, mismatchKeys, mismatchValues)
Parameters:
a
b
mismatchKeys
mismatchValues

execute()

it(description, func)
Parameters:
description
func

matchersClass()

nextSpecId()
Returns:
a sequential integer starting at 0

nextSuiteId()
Returns:
a sequential integer starting at 0

specFilter()

version()
Returns:
an object containing jasmine version build info, if set.

xdescribe(desc, specDefinitions)
Parameters:
desc
specDefinitions

xit(desc, func)
Parameters:
desc
func

Documentation generated by JsDoc Toolkit 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)