diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:26:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:26:02 +0000 |
commit | fcbf3ce37ca8f90a3e36d524a3274ffc063a40e3 (patch) | |
tree | 84c735df2e97350a721273e9dd425729d43cc8a2 /vendor/textalk/websocket/tests/scripts/send-receive-65536.json | |
parent | Initial commit. (diff) | |
download | icingaweb2-module-pdfexport-fcbf3ce37ca8f90a3e36d524a3274ffc063a40e3.tar.xz icingaweb2-module-pdfexport-fcbf3ce37ca8f90a3e36d524a3274ffc063a40e3.zip |
Adding upstream version 0.10.2+dfsg1.upstream/0.10.2+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/textalk/websocket/tests/scripts/send-receive-65536.json')
-rw-r--r-- | vendor/textalk/websocket/tests/scripts/send-receive-65536.json | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/vendor/textalk/websocket/tests/scripts/send-receive-65536.json b/vendor/textalk/websocket/tests/scripts/send-receive-65536.json new file mode 100644 index 0000000..67604b5 --- /dev/null +++ b/vendor/textalk/websocket/tests/scripts/send-receive-65536.json @@ -0,0 +1,113 @@ +[ + { + "function": "get_resource_type", + "params": [ + "@mock-stream" + ], + "return": "stream" + }, + { + "function": "fwrite", + "params": [ + "@mock-stream" + ], + "return": 65546 + }, + { + "function": "get_resource_type", + "params": [ + "@mock-stream" + ], + "return": "stream" + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 2 + ], + "return-op": "chr-array", + "return": [129, 127] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 8 + ], + "return-op": "chr-array", + "return": [0, 0, 0, 0, 0, 1, 0, 0] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 65536 + ], + "return-op": "file", + "return": ["payload.65536.txt", 0, 16374] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 49162 + ], + "return-op": "file", + "return": ["payload.65536.txt", 16374, 8192] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 40970 + ], + "return-op": "file", + "return": ["payload.65536.txt", 24566, 8192] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 32778 + ], + "return-op": "file", + "return": ["payload.65536.txt", 32758, 8192] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 24586 + ], + "return-op": "file", + "return": ["payload.65536.txt", 40950, 8192] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 16394 + ], + "return-op": "file", + "return": ["payload.65536.txt", 49142, 8192] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 8202 + ], + "return-op": "file", + "return": ["payload.65536.txt", 57334, 8192] + }, + { + "function": "fread", + "params": [ + "@mock-stream", + 10 + ], + "return-op": "file", + "return": ["payload.65536.txt", 65526, 10] + } +]
\ No newline at end of file |