diff options
author | Kurt Pattyn <pattyn.kurt@gmail.com> | 2013-08-29 00:18:05 +0200 |
---|---|---|
committer | Kurt Pattyn <pattyn.kurt@gmail.com> | 2013-08-29 00:18:05 +0200 |
commit | 2300abe4905893a752fc5896963dd5514f92dac7 (patch) | |
tree | f4b27cd088794cd95376943325da501a6a09ae05 /tests | |
parent | 1c04cda6c69e23cd7021c85cf9fe287138368bce (diff) | |
download | qtwebsockets-2300abe4905893a752fc5896963dd5514f92dac7.tar.gz |
Added TO DO's for tests still to be implemented
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tst_dataprocessor.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/tst_dataprocessor.cpp b/tests/tst_dataprocessor.cpp index 219ef1d..224773e 100644 --- a/tests/tst_dataprocessor.cpp +++ b/tests/tst_dataprocessor.cpp @@ -9,6 +9,24 @@ Q_DECLARE_METATYPE(QWebSocketProtocol::CloseCode) +//TODO: test on invalid handshakes; like the errors I got with FireFox (multiple values in field) +//TODO: test on valid handshakes; like the errors I got with FireFox (multiple values in field) +//TODO: test valid close codes +//TODO: test invalid close codes +//TODO: test valid UTF8 sequences +//DONE: test invalid UTF8 sequences +//TODO: test for valid fields +//DONE: test for invalid fields +//TODO: test for valid opcodes +//DONE: test for invalid opcodes +//TODO: test continuation frames for bad rsv fields, etc. +//TODO: test continuation frames for incomplete payload +//DONE: test continuation frames for too big payload +//DONE: test continuation frames for too small frame +//TODO: test valid frame sequences +//TODO: test invalid frame sequences +//TODO: test invalid UTF8 sequences in control/close frames + const quint8 FIN = 0x80; const quint8 RSV1 = 0x40; const quint8 RSV2 = 0x30; |