Class jasmine.NestedResults
Defined in: jasmine-0.10.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Holds results for a set of Jasmine spec.
|
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 Attributes | Method Name and Description |
---|---|
addResult(result)
Adds a result, tracking counts (total, passed, & failed)
|
|
getItems()
Getter for the results: message & results.
|
|
log(message)
Tracks a result's message.
|
|
passed()
|
|
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(message)
Tracks a result's message.
- Parameters:
- message
{Boolean}
passed()
- Returns:
- {Boolean} True if everything below passed
rollupCounts(result)
Roll up the result counts.
- Parameters:
- result