summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add functionality to ignore ssl errorsKurt Pattyn2013-11-011-2/+6
| | | | | Change-Id: I81248b9af104c0b3d37c9cfcef250a102f4b1d32 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Add check for host() methodKurt Pattyn2013-10-191-0/+6
| | | | | Change-Id: I12d6761232193c62888681bb71ee0d5c6df9d3d2 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Remove CXX debug flags from project fileKurt Pattyn2013-10-191-2/+0
| | | | | | | The debug flags are normally set by the Qt build environment. Change-Id: Icc61c7d5aeed7c73ac6c947d31d9eed71c02a606 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Put assignment on separate line to avoid compiler optimizationKurt Pattyn2013-10-191-1/+2
| | | | | Change-Id: I981c2caba0d6a96ee54226ec001de6da8df9e5c2 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Add flag to not optimize when in debug modeKurt Pattyn2013-10-191-0/+2
| | | | | Change-Id: Iefaf4f6361042b3c3e5fb9bc620228e3e9cd3cbd Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Add test for constructor and assignment operatorKurt Pattyn2013-10-191-1/+56
| | | | | Change-Id: I4a475ca6e173a7102d465d821f1427d0b6d206d0 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Completed unit tests for handshake requestKurt Pattyn2013-10-143-2/+298
| | | | | Change-Id: I9558c0244e2285e7dc266bfcb3c51887fb7200d7 Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* Added unit tests for CorsAuthenticatorKurt Pattyn2013-10-133-1/+143
| | | | | Change-Id: Id87b72bd6980aba5c134d7bfa7abf87d24e9a0ee Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* Added remaining testsKurt Pattyn2013-10-131-26/+11
| | | | | Change-Id: I006e84a06eb0315e81cdb389612f0be7ae494bd8 Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* Completed websocketframe unit testsKurt Pattyn2013-10-131-0/+456
| | | | | | | Replaced tab with space Change-Id: Ifc47621069870123b5db458a1ba2bb0d66a5419d Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* Renamed getter methods to be Qt compliantKurt Pattyn2013-10-131-1/+1
| | | | | | | Renamed all getXXX() methods in QWebSocketFrame to XXX() methods to be Qt compliant. Change-Id: Iea47bcf1772a755f303065ff12d07b0ba99d4aac Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* Adapted auto.pro to include websocketframe unit testKurt Pattyn2013-10-131-1/+2
| | | | | Change-Id: Ife8486a480d2a56a77d96ca6d331994d8f7ea0a1 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Added unittests for QWebSocketProtocolKurt Pattyn2013-10-134-1/+261
| | | | | | | Added copyright headers Change-Id: Idef8307ef80db9e5805b880514bd3a9c18ddf125 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Added TODO explaining some optimizationsKurt Pattyn2013-10-132-0/+108
| | | | | | | | | Moved documentation from .h to .cpp Export QWebSocketFrame class for unit testing Added unit tests for web socket frames Change-Id: I824da86fed37fbcd1f5671a21467af7a66f5c019 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Added checks for valid control framesKurt Pattyn2013-10-111-639/+736
| | | | | | | | | Also added extra checks on signals Added extra comments Cleaned up superfluous TODOs Change-Id: I8ec760f0984bee4bd4cc757ce3ef6d7ed1c01102 Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* Changed expected failure with expected successKurt Pattyn2013-10-101-28/+33
| | | | | | | | Due to an issue that has been solved in Qt, all tests for non-character codes should now succeed This change also contains some minor bug fixes for incorrect signatures in signal-slot connections Change-Id: I6d8de9c40026465ffde58c9cbe848ce8871008f6 Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* Commented out non-implemented methodKurt Pattyn2013-10-061-1/+1
| | | | | Change-Id: Ifd54d93abb2a33c23b59621bed1101493e6c40ba Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Changed the way SUBDIRS is configuredKurt Pattyn2013-10-051-1/+1
| | | | | Change-Id: Ia92805075d2187d51ea4f653a6e898754b2c6517 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Added tests with no close code and/or close reasonKurt Pattyn2013-10-051-5/+30
| | | | | Change-Id: Ic908137ad5c76972a0e9515586f5af4671f47fdd Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Added some testsKurt Pattyn2013-10-051-3/+2
| | | | | Change-Id: I598de5c955eb8c5224035fd9c2469b132c39d06c Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Renamed test methods to be consistentKurt Pattyn2013-10-051-14/+23
| | | | | Change-Id: I1ce7385817db74879701ddb628aab4ea6c5ebd56 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Update unit testsSteven Ceuppens2013-10-014-2/+8
| | | | | | | | | | Private unittests get now build with: $qmake -config private_tests Change-Id: I5fb234e9c6f86cf2d740a604923eb8a501699d44 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Uncommented data processor from auto.proKurt Pattyn2013-09-291-1/+1
| | | | | Change-Id: Ia04d205ecf5fa86b7be577536c77414cfb06ebbc Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* Include qwebsocketdataprocessor iso dataprocessorKurt Pattyn2013-09-291-21/+21
| | | | | Change-Id: Ic522190a929c8f86ab364cc52cc0afeadb0fcc44 Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com>
* reorganized unittests & added module priSteven Ceuppens2013-09-2917-141/+86
| | | | | Change-Id: Ib1aa45f7cc07ea4564b0e5f1315273a2526a4e74 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Changes to integrate the websocket module as a full Qt Add-On moduleSteven Ceuppens2013-09-281-17/+1
| | | | | | | | | | | | | | | | | | | | | - Changed project files to use Qt structure - Moved existing sources into subdirectory, to make room for moduels - Created a "import/qmlwebsocket" module skeleton (works, but needs to be extended) - Modified examples to not use "include(.pri)", but use "QT += websocket" - Added qml example skeleton (works, but no useful functionality yet) Project can be build with: $ qmake $ make $ make install Module can be used in other projects with QT += websockets Change-Id: I2123026958b264670dbf8a978dee76edf5855806 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* tests: Enable "make check" to run unit testsSergio Ahumada2013-09-281-3/+2
| | | | | Change-Id: I8333e7a19d937003f16a02d4e10e1a542150d63f Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Added TODOs for extra testsKurt Pattyn2013-09-281-1/+7
| | | | | Change-Id: I816d9adf686106443fe65df499f6615eca4599c5 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
* Open buffer in readonly mode iso readwrite modeKurt Pattyn2013-09-011-10/+10
|
* Corrected failing testsKurt Pattyn2013-09-011-31/+68
|
* Added checks for non-emitting of other signals than the one we expectKurt Pattyn2013-09-011-15/+90
|
* Added tests for valid and invalid close codesKurt Pattyn2013-09-011-86/+284
| | | | Added tests for invalid UTF8 sequences in close frames
* Added maxMessageSize() and maxFrameSize() static getters to aid in unit testingKurt Pattyn2013-09-011-6/+3
|
* Moved registerMetaType calls to init() methodKurt Pattyn2013-08-311-13/+14
|
* Added -Wextra compiler checkKurt Pattyn2013-08-301-1/+1
|
* Added -Wall and -Werror flags when building on mac (is in fact dependent on ↵Kurt Pattyn2013-08-301-0/+2
| | | | the compiler that is used; currently don't know how to check that)
* Added extra unit testsKurt Pattyn2013-08-293-216/+364
|
* Added a bunch of tests (still not complete; listed tests still to be done in ↵Kurt Pattyn2013-08-291-125/+758
| | | | TO DO items)
* Added TO DO's for tests still to be implementedKurt Pattyn2013-08-291-0/+18
|
* Added unit tests for:Kurt Pattyn2013-08-281-186/+257
| | | | | | - incomplete headers - invalid headers - invalid payloads
* Added dataprocessor testKurt Pattyn2013-08-262-12/+297
|
* Replaced tabs by spacesKurt Pattyn2013-08-253-206/+206
|
* Added required structure and .pro files to the projectKurt Pattyn2013-08-251-0/+0
|
* Renamed qwebsocket.pri to qwebsockets.priKurt Pattyn2013-08-251-1/+1
|
* Cleaned up the project filesKurt Pattyn2013-08-251-23/+6
|
* Replaced write() methods with send() methods to comply with the ↵Kurt Pattyn2013-08-252-5/+5
| | | | QAbstractSocket API
* Renamed websocket.pri to qwebsocket.priKurt Pattyn2013-08-251-1/+1
|
* Renamed test directory to tests (to be inline with Qt)Kurt Pattyn2013-08-2511-0/+534