summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-09-28 13:11:22 +0200
committerKurt Pattyn <pattyn.kurt@gmail.com>2013-09-28 14:02:03 +0200
commitba721bd5debcd7d0674d760bb3b91067fbf5bfe1 (patch)
tree994b271cc67b4b227a7d8c43fabaacd29fe1eedd
parent1841a23879a03e587a9d2ec304bf2240514173f2 (diff)
downloadqtwebsockets-ba721bd5debcd7d0674d760bb3b91067fbf5bfe1.tar.gz
Added TODOs for extra tests
Change-Id: I816d9adf686106443fe65df499f6615eca4599c5 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
-rw-r--r--tests/tst_dataprocessor.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/tst_dataprocessor.cpp b/tests/tst_dataprocessor.cpp
index 5c8d392..b2d0d5b 100644
--- a/tests/tst_dataprocessor.cpp
+++ b/tests/tst_dataprocessor.cpp
@@ -11,7 +11,7 @@ Q_DECLARE_METATYPE(QWebSocketProtocol::CloseCode)
Q_DECLARE_METATYPE(QWebSocketProtocol::OpCode)
//happy flow
-//TODO: test valid UTF8 sequences
+//TODO: test valid UTF8 sequences (see UC 6.2)
//TODO: test on masking correctness
//TODO: test for valid fields
//TODO: test for valid opcodes
@@ -25,6 +25,10 @@ Q_DECLARE_METATYPE(QWebSocketProtocol::OpCode)
//DONE: test invalid UTF8 sequences
//DONE: test invalid UTF8 sequences in control/close frames
//TODO: test invalid masks
+//TODO: test for AutoBahn testcase 5
+//TODO: test for AutoBahn testcase 6.1
+//TODO: test for AutoBahn testcase 6.3 (fragmentation test)
+//TODO: test for AutoBahn testcase 6.4 (fragmentation test)
//DONE: test for invalid fields
//DONE: test for invalid opcodes
//DONE: test continuation frames for too big payload
@@ -70,6 +74,8 @@ private Q_SLOTS:
void goodControlFrames();
+ //void goodHeaders(); //test all valid control codes
+
/*!
Tests the DataProcessor for the correct handling of non-charactercodes
Due to a workaround in QTextCodec, non-characters are treated as illegal.