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 checkForFinish | ( | ) |
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.
function initialStart | ( | ch, | |
cx | |||
) |
Definition at line 93 of file test_sjs_object_state.js.
function initialStop | ( | ch, | |
cx, | |||
status, | |||
data | |||
) |
Definition at line 107 of file test_sjs_object_state.js.
function intermediateStart | ( | ch, | |
cx | |||
) |
Definition at line 131 of file test_sjs_object_state.js.
function intermediateStop | ( | ch, | |
cx, | |||
status, | |||
data | |||
) |
Definition at line 146 of file test_sjs_object_state.js.
function run_test | ( | ) |
function triggerStart | ( | ch, | |
cx | |||
) |
function triggerStop | ( | ch, | |
cx, | |||
status, | |||
data | |||
) |
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.