test_errorhandler_exception.js File Reference

Go to the source code of this file.

Functions

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)
 

Variables

var tests
 
var srv
 

Function Documentation

function checkStatusLine (   channel,
  httpMaxVer,
  httpMinVer,
  httpCode,
  statusText 
)

Definition at line 69 of file test_errorhandler_exception.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function register400Handler (   ch)

Definition at line 100 of file test_errorhandler_exception.js.

Here is the call graph for this function:

function run_test ( )

Definition at line 54 of file test_errorhandler_exception.js.

Here is the call graph for this function:

function start_multiple_exceptions_500 (   ch,
  cx 
)

Definition at line 90 of file test_errorhandler_exception.js.

Here is the call graph for this function:

function start_nonexistent_404_fails_so_400 (   ch,
  cx 
)

Definition at line 85 of file test_errorhandler_exception.js.

Here is the call graph for this function:

function start_throws_exception (   ch,
  cx 
)

Definition at line 80 of file test_errorhandler_exception.js.

Here is the call graph for this function:

function succeeded (   ch,
  cx,
  status,
  data 
)

Definition at line 95 of file test_errorhandler_exception.js.

Here is the caller graph for this function:

function throwsException (   metadata,
  response 
)

Definition at line 109 of file test_errorhandler_exception.js.

Here is the caller graph for this function:

Variable Documentation

var srv

Definition at line 52 of file test_errorhandler_exception.js.

var tests
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)
return null
Definition: FeedWriter.js:1143
function Test(path, initChannel, onStartRequest, onStopRequest)
Definition: head_utils.js:322
function start_throws_exception(ch, cx)

Definition at line 42 of file test_errorhandler_exception.js.