test_sjs_state.js File Reference

Go to the source code of this file.

Functions

function run_test ()
 
function pathHandler (request, response)
 
function getHeaderFunction (ch)
 
function expectValues (ch, oldShared, newShared, oldPrivate, newPrivate)
 
tests push (test)
 
function start_initial (ch, cx)
 
function start_overwrite (ch, cx)
 
function start_remove (ch, cx)
 
function start_handler (ch, cx)
 
function start_handler_again (ch, cx)
 
function start_other_initial (ch, cx)
 
function start_other_remove_ignore (ch, cx)
 
function start_other_set_new (ch, cx)
 
function start_set_remove_original (ch, cx)
 

Variables

const PORT = 4444
 
var srv
 
var firstTime = true
 
var test
 
var tests = []
 

Function Documentation

function expectValues (   ch,
  oldShared,
  newShared,
  oldPrivate,
  newPrivate 
)

Definition at line 134 of file test_sjs_state.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function getHeaderFunction (   ch)

Definition at line 116 of file test_sjs_state.js.

Here is the caller graph for this function:

function pathHandler (   request,
  response 
)

Definition at line 78 of file test_sjs_state.js.

Here is the caller graph for this function:

tests push ( test  )
function run_test ( )

Definition at line 46 of file test_sjs_state.js.

Here is the call graph for this function:

function start_handler (   ch,
  cx 
)

Definition at line 184 of file test_sjs_state.js.

Here is the call graph for this function:

function start_handler_again (   ch,
  cx 
)

Definition at line 194 of file test_sjs_state.js.

Here is the call graph for this function:

function start_initial (   ch,
  cx 
)

Definition at line 151 of file test_sjs_state.js.

Here is the call graph for this function:

function start_other_initial (   ch,
  cx 
)

Definition at line 206 of file test_sjs_state.js.

Here is the call graph for this function:

function start_other_remove_ignore (   ch,
  cx 
)

Definition at line 217 of file test_sjs_state.js.

Here is the call graph for this function:

function start_other_set_new (   ch,
  cx 
)

Definition at line 228 of file test_sjs_state.js.

Here is the call graph for this function:

function start_overwrite (   ch,
  cx 
)

Definition at line 163 of file test_sjs_state.js.

Here is the call graph for this function:

function start_remove (   ch,
  cx 
)

Definition at line 174 of file test_sjs_state.js.

Here is the call graph for this function:

function start_set_remove_original (   ch,
  cx 
)

Definition at line 239 of file test_sjs_state.js.

Here is the call graph for this function:

Variable Documentation

var firstTime = true

Definition at line 76 of file test_sjs_state.js.

const PORT = 4444

Definition at line 42 of file test_sjs_state.js.

var srv

Definition at line 44 of file test_sjs_state.js.

test
Initial value:
= new Test("http://localhost:4444/state1.sjs?" +
"newShared=newShared&newPrivate=newPrivate",
function start_initial(ch, cx)
return null
Definition: FeedWriter.js:1143
function Test(path, initChannel, onStartRequest, onStopRequest)
Definition: head_utils.js:322

Definition at line 112 of file test_sjs_state.js.

var tests = []

Definition at line 113 of file test_sjs_state.js.