test_processasync.js File Reference

Go to the source code of this file.

Functions

function run_test ()
 
function handleSync (request, response)
 
function start_handleSync (ch, cx)
 
tests push (test)
 
function handleAsync1 (request, response)
 
function start_handleAsync1 (ch, cx)
 
function stop_handleAsync1 (ch, cx, status, data)
 
function handleAsync2 (request, response)
 
function init_handleAsync2 (ch)
 
function start_handleAsync2 (ch, cx)
 
function stop_handleAsync2 (ch, cx, status, data)
 
function handleAsyncError (request, response)
 
function start_handleAsyncError (ch, cx)
 
function stop_handleAsyncError (ch, cx, status, data)
 
function handleAsyncOrdering (request, response)
 
function stop_handleAsyncOrdering (ch, cx, status, data)
 

Variables

const PORT = 4444
 
const PREPATH = "http://localhost:" + PORT
 
var test
 
var tests = []
 
var handlers = {}
 
const startToHeaderDelay = 500
 
const startToFinishedDelay = 750
 
var startTime_handleAsync2
 
const ASYNC_ERROR_BODY = "hi, I'm a body!"
 

Function Documentation

function handleAsync1 (   request,
  response 
)

Definition at line 95 of file test_processasync.js.

Here is the call graph for this function:

function handleAsync2 (   request,
  response 
)

Definition at line 169 of file test_processasync.js.

Here is the call graph for this function:

function handleAsyncError (   request,
  response 
)

Definition at line 276 of file test_processasync.js.

function handleAsyncOrdering (   request,
  response 
)

Definition at line 318 of file test_processasync.js.

function handleSync (   request,
  response 
)

Definition at line 66 of file test_processasync.js.

Here is the call graph for this function:

function init_handleAsync2 (   ch)

Definition at line 241 of file test_processasync.js.

Here is the call graph for this function:

tests push ( test  )
function run_test ( )

Definition at line 47 of file test_processasync.js.

Here is the call graph for this function:

function start_handleAsync1 (   ch,
  cx 
)

Definition at line 149 of file test_processasync.js.

Here is the call graph for this function:

function start_handleAsync2 (   ch,
  cx 
)

Definition at line 247 of file test_processasync.js.

Here is the call graph for this function:

function start_handleAsyncError (   ch,
  cx 
)

Definition at line 290 of file test_processasync.js.

Here is the call graph for this function:

function start_handleSync (   ch,
  cx 
)

Definition at line 84 of file test_processasync.js.

Here is the call graph for this function:

function stop_handleAsync1 (   ch,
  cx,
  status,
  data 
)

Definition at line 156 of file test_processasync.js.

Here is the call graph for this function:

function stop_handleAsync2 (   ch,
  cx,
  status,
  data 
)

Definition at line 259 of file test_processasync.js.

Here is the call graph for this function:

function stop_handleAsyncError (   ch,
  cx,
  status,
  data 
)

Definition at line 297 of file test_processasync.js.

Here is the call graph for this function:

function stop_handleAsyncOrdering (   ch,
  cx,
  status,
  data 
)

Definition at line 368 of file test_processasync.js.

Here is the call graph for this function:

Variable Documentation

const ASYNC_ERROR_BODY = "hi, I'm a body!"

Definition at line 274 of file test_processasync.js.

handlers["/handleAsyncOrdering"] = {}

Definition at line 64 of file test_processasync.js.

const PORT = 4444

Definition at line 44 of file test_processasync.js.

const PREPATH = "http://localhost:" + PORT

Definition at line 45 of file test_processasync.js.

var startTime_handleAsync2

Definition at line 239 of file test_processasync.js.

const startToFinishedDelay = 750

Definition at line 167 of file test_processasync.js.

const startToHeaderDelay = 500

Definition at line 166 of file test_processasync.js.

test
Initial value:
= new Test(PREPATH + "/handleSync",
const PREPATH
return null
Definition: FeedWriter.js:1143
function Test(path, initChannel, onStartRequest, onStopRequest)
Definition: head_utils.js:322
function start_handleSync(ch, cx)

Definition at line 62 of file test_processasync.js.

var tests = []

Definition at line 63 of file test_processasync.js.