From ba721bd5debcd7d0674d760bb3b91067fbf5bfe1 Mon Sep 17 00:00:00 2001 From: Kurt Pattyn Date: Sat, 28 Sep 2013 13:11:22 +0200 Subject: [PATCH] Added TODOs for extra tests Change-Id: I816d9adf686106443fe65df499f6615eca4599c5 Reviewed-by: Kurt Pattyn --- tests/tst_dataprocessor.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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. -- 2.7.4