Go to the source code of this file.
|
function | run_test () |
|
function | checkStatusLine (channel, httpMaxVer, httpMinVer, httpCode, statusText) |
|
function | start_throws_exception (ch, cx) |
|
function | start_nonexistent_404_fails_so_400 (ch, cx) |
|
function | start_multiple_exceptions_500 (ch, cx) |
|
function | succeeded (ch, cx, status, data) |
|
function | register400Handler (ch) |
|
function | throwsException (metadata, response) |
|
function checkStatusLine |
( |
|
channel, |
|
|
|
httpMaxVer, |
|
|
|
httpMinVer, |
|
|
|
httpCode, |
|
|
|
statusText |
|
) |
| |
function register400Handler |
( |
|
ch | ) |
|
function start_multiple_exceptions_500 |
( |
|
ch, |
|
|
|
cx |
|
) |
| |
function start_nonexistent_404_fails_so_400 |
( |
|
ch, |
|
|
|
cx |
|
) |
| |
function start_throws_exception |
( |
|
ch, |
|
|
|
cx |
|
) |
| |
function succeeded |
( |
|
ch, |
|
|
|
cx, |
|
|
|
status, |
|
|
|
data |
|
) |
| |
function throwsException |
( |
|
metadata, |
|
|
|
response |
|
) |
| |
Initial value:=
[
new Test(
"http://localhost:4444/throws/exception",
new Test(
"http://localhost:4444/this/file/does/not/exist/and/404s",
new Test(
"http://localhost:4444/attempts/404/fails/so/400/fails/so/500s",
]
function start_nonexistent_404_fails_so_400(ch, cx)
function succeeded(ch, cx, status, data)
function start_multiple_exceptions_500(ch, cx)
function register400Handler(ch)
function Test(path, initChannel, onStartRequest, onStopRequest)
function start_throws_exception(ch, cx)
Definition at line 42 of file test_errorhandler_exception.js.