|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--TestResults
Defined in test_results.js
Constructor Summary | |
TestResults
()
An abstract base class for collecting the results of a test run. |
Method Summary | |
void
|
addError(<Test> test, <Object> error)
Adds a test that caused an error to the set of test results. |
void
|
addFailure(<Test> test, <Object> error)
Adds a test that failed to the set of test results. |
void
|
startTest(<Test> test)
A hook function designed to record that test was
attempted.
|
Constructor Detail |
function TestResults()
addError()
,
addFailure()
, and startTest()
.
Method Detail |
void addError(<Test> test, <Object> error)
Unimplemented
test
- the failed test
error
- the exception or error that caused the test to error out
void addFailure(<Test> test, <Object> error)
Unimplemented
test
- the test that failed
error
- the exception or error that cause the test to fail. error
should nearly always be an instance of AssertionFailedError
.
void startTest(<Test> test)
test
was
attempted.
Unimplemented
test
- the test that is being started.
|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |