test_seizepower.js File Reference

Go to the source code of this file.

Functions

function run_test ()
 
function checkException (fun, err, msg)
 
function callASAPLater (fun)
 
function handleRawData (request, response)
 
function handleTooLate (request, response)
 
function handleExceptions (request, response)
 
function handleAsyncSeizure (request, response)
 
function handleSeizeAfterAsync (request, response)
 
function handleThrownException (request, response)
 
function handleASAPLaterWrite (request, response)
 
function handleASAPLaterFinish (request, response)
 
function checkRawData (data)
 
tests push (test)
 
function checkTooLate (data)
 
function checkExceptions (data)
 
function checkAsyncSeizure (data)
 
function checkSeizeAfterAsync (data)
 
function checkThrownExceptionWriteBefore (data)
 
function checkThrownExceptionWriteBeforeEmpty (data)
 
function checkThrownException (data)
 
function checkASAPLaterWrite (data)
 
function checkASAPLaterFinish (data)
 

Variables

const PORT = 4444
 
var srv
 
var test = new RawTest("localhost", PORT, data, checkRawData)
 
var data
 
var tests = []
 

Function Documentation

function callASAPLater (   fun)

Definition at line 82 of file test_seizepower.js.

Here is the caller graph for this function:

function checkASAPLaterFinish (   data)

Definition at line 304 of file test_seizepower.js.

Here is the call graph for this function:

function checkASAPLaterWrite (   data)

Definition at line 295 of file test_seizepower.js.

Here is the call graph for this function:

function checkAsyncSeizure (   data)

Definition at line 250 of file test_seizepower.js.

Here is the call graph for this function:

function checkException (   fun,
  err,
  msg 
)

Definition at line 67 of file test_seizepower.js.

Here is the caller graph for this function:

function checkExceptions (   data)

Definition at line 241 of file test_seizepower.js.

Here is the call graph for this function:

function checkRawData (   data)

Definition at line 223 of file test_seizepower.js.

Here is the call graph for this function:

function checkSeizeAfterAsync (   data)

Definition at line 259 of file test_seizepower.js.

Here is the call graph for this function:

function checkThrownException (   data)

Definition at line 286 of file test_seizepower.js.

Here is the call graph for this function:

function checkThrownExceptionWriteBefore (   data)

Definition at line 268 of file test_seizepower.js.

Here is the call graph for this function:

function checkThrownExceptionWriteBeforeEmpty (   data)

Definition at line 277 of file test_seizepower.js.

Here is the call graph for this function:

function checkTooLate (   data)

Definition at line 232 of file test_seizepower.js.

Here is the call graph for this function:

function handleASAPLaterFinish (   request,
  response 
)

Definition at line 200 of file test_seizepower.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function handleASAPLaterWrite (   request,
  response 
)

Definition at line 181 of file test_seizepower.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function handleAsyncSeizure (   request,
  response 
)

Definition at line 141 of file test_seizepower.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function handleExceptions (   request,
  response 
)

Definition at line 118 of file test_seizepower.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function handleRawData (   request,
  response 
)

Definition at line 97 of file test_seizepower.js.

Here is the caller graph for this function:

function handleSeizeAfterAsync (   request,
  response 
)

Definition at line 155 of file test_seizepower.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function handleThrownException (   request,
  response 
)

Definition at line 168 of file test_seizepower.js.

Here is the caller graph for this function:

function handleTooLate (   request,
  response 
)

Definition at line 104 of file test_seizepower.js.

Here is the caller graph for this function:

tests push ( test  )
function run_test ( )

Definition at line 48 of file test_seizepower.js.

Here is the call graph for this function:

Variable Documentation

data
Initial value:
= "GET /raw-data HTTP/1.0\r\n" +
"\r\n"

Definition at line 218 of file test_seizepower.js.

const PORT = 4444

Definition at line 44 of file test_seizepower.js.

var srv

Definition at line 46 of file test_seizepower.js.

test = new RawTest("localhost", PORT, data, checkRawData)

Definition at line 218 of file test_seizepower.js.

var tests = []

Definition at line 219 of file test_seizepower.js.