Class Index | File Index

Classes


Class jasmine.NestedResults


Defined in: NestedResults.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Holds results for a set of Jasmine spec.
Field Summary
Field Attributes Field Name and Description
 
Number of failed results
 
Number of passed results
 
Was this suite/spec skipped?
 
The total count of results
Method Summary
Method Attributes Method Name and Description
 
addResult(result)
Adds a result, tracking counts (total, passed, & failed)
 
Getter for the results: message & results.
 
log(values)
Adds a log message.
 
 
rollupCounts(result)
Roll up the result counts.
Class Detail
jasmine.NestedResults()
Holds results for a set of Jasmine spec. Allows for the results array to hold another jasmine.NestedResults
Field Detail
failedCount
Number of failed results

passedCount
Number of passed results

skipped
Was this suite/spec skipped?

totalCount
The total count of results
Method Detail
addResult(result)
Adds a result, tracking counts (total, passed, & failed)
Parameters:
{jasmine.ExpectationResult|jasmine.NestedResults} result

getItems()
Getter for the results: message & results.

log(values)
Adds a log message.
Parameters:
values
Array of message parts which will be concatenated later.

{Boolean} passed()
Returns:
{Boolean} True if everything below passed

rollupCounts(result)
Roll up the result counts.
Parameters:
result

Documentation generated by JsDoc Toolkit 2.1.0 on Fri Jun 25 2010 15:15:13 GMT-0700 (PDT)