test_sjs_object_state.js File Reference

Go to the source code of this file.

Functions

function run_test ()
 
function initialStart (ch, cx)
 
function initialStop (ch, cx, status, data)
 
function intermediateStart (ch, cx)
 
function intermediateStop (ch, cx, status, data)
 
function triggerStart (ch, cx)
 
function triggerStop (ch, cx, status, data)
 
function checkForFinish ()
 
function HTTPTestLoader (path, start, stop)
 

Variables

const PORT = 4444
 
const PATH = "http://localhost:" + PORT + "/object-state.sjs"
 
var srv
 
var initialStarted = false
 
var initialStopped = false
 
var intermediateStarted = false
 
var intermediateStopped = false
 
var triggerStarted = false
 
var triggerStopped = false
 
var finished = false
 
HTTPTestLoader prototype
 

Function Documentation

function checkForFinish ( )

Definition at line 210 of file test_sjs_object_state.js.

Here is the call graph for this function:

function HTTPTestLoader (   path,
  start,
  stop 
)

Stream listener for the channels.

Path to load.

Array of bytes of data in body of response.

onStartRequest callback.

onStopRequest callback.

Definition at line 253 of file test_sjs_object_state.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function initialStart (   ch,
  cx 
)

Definition at line 93 of file test_sjs_object_state.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function initialStop (   ch,
  cx,
  status,
  data 
)

Definition at line 107 of file test_sjs_object_state.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function intermediateStart (   ch,
  cx 
)

Definition at line 131 of file test_sjs_object_state.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function intermediateStop (   ch,
  cx,
  status,
  data 
)

Definition at line 146 of file test_sjs_object_state.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function run_test ( )

Definition at line 50 of file test_sjs_object_state.js.

Here is the call graph for this function:

function triggerStart (   ch,
  cx 
)

Definition at line 169 of file test_sjs_object_state.js.

Here is the call graph for this function:

function triggerStop (   ch,
  cx,
  status,
  data 
)

Definition at line 186 of file test_sjs_object_state.js.

Here is the call graph for this function:

Variable Documentation

var finished = false

Definition at line 209 of file test_sjs_object_state.js.

var initialStarted = false

Definition at line 92 of file test_sjs_object_state.js.

var initialStopped = false

Definition at line 106 of file test_sjs_object_state.js.

var intermediateStarted = false

Definition at line 130 of file test_sjs_object_state.js.

var intermediateStopped = false

Definition at line 145 of file test_sjs_object_state.js.

const PATH = "http://localhost:" + PORT + "/object-state.sjs"

Definition at line 46 of file test_sjs_object_state.js.

const PORT = 4444

Definition at line 44 of file test_sjs_object_state.js.

HTTPTestLoader prototype

Definition at line 270 of file test_sjs_object_state.js.

var srv

Definition at line 48 of file test_sjs_object_state.js.

var triggerStarted = false

Definition at line 168 of file test_sjs_object_state.js.

var triggerStopped = false

Definition at line 185 of file test_sjs_object_state.js.