Roxen.git
/
server
/
etc
/
test
/
tests
/
http
/
RoxenTest_websockets.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/test/tests/http/RoxenTest_websockets.pike:20:
} function run( string script, string file, int|string ... ma ) { return lambda() { run_pikescript( script, file, @((array(string))ma) ); }; } #define rtest( COMMENT, SCRIPT, PATH, ARGS...) \
-
atest(COMMENT, run(SCRIPT,
FILE
, ARGS), simple_check)
+
atest(COMMENT, run(SCRIPT,
PATH
, ARGS), simple_check)
// NB: Keep in sync with the brokeness enum in websocket.pike. constant descriptions = ({ "Trivial", "Bad path", "Bad path suffix", "Bad HTTP version", "No Connection header", "Bad Connection header", "No Upgrade header",