docs » cp.spec.DefaultHandler
Default implementation of Handler, which
outputs via the standard print
function.
- Methods - API calls which can only be made on an object returned by a constructor
- aborted
- failed
- filter
- printf
- printSpacer
- start
- stop
- summary
- waiting
Signature | cp.spec.DefaultHandler:aborted(run, msg) |
---|---|
Type | Method |
Description | Prints an "[ABORT]" message. |
Parameters |
|
Signature | cp.spec.DefaultHandler:failed(run, msg) |
---|---|
Type | Method |
Description | Prints a "[FAIL]" message. |
Parameters |
|
Signature | cp.spec.DefaultHandler:filter(run, msg) |
---|---|
Type | Method |
Description | Prints a "[FILTER]" message. |
Parameters |
|
Signature | cp.spec.DefaultHandler:printf(test, ...) |
---|---|
Type | Method |
Description | Prints a spacer (if not the first line), followed by the text, |
Parameters |
|
Signature | cp.spec.DefaultHandler:printSpacer() |
---|---|
Type | Method |
Description | Prints a blank line if this is not the first time it has been called. |
Signature | cp.spec.DefaultHandler:start(run, msg) |
---|---|
Type | Method |
Description | If the handler or run is verbose, prints a "[PASS]" message. |
Parameters |
|
Signature | cp.spec.DefaultHandler:stop(run) |
---|---|
Type | Method |
Description | If the handler or run is verbose, prints a "[STOP]" message. |
Parameters |
|
Signature | cp.spec.DefaultHandler:summary(run, report) |
---|---|
Type | Method |
Description | If the handler or run is verbose, prints a "[RESULT]" message. |
Parameters |
Signature | cp.spec.DefaultHandler:waiting(run, timeout) |
---|---|
Type | Method |
Description | Prints a "[WAIT]" message with the timeout value.. |