Commit Graph

103 Commits

Author SHA1 Message Date
Nathan Osman
b616f20f83 Added basic test for QLocalFile. 2015-07-14 22:50:59 -07:00
Nathan Osman
ae88219c3f Added QHttpHandler::addRedirect() method and appropriate unit tests. 2015-07-14 10:00:19 -07:00
Nathan Osman
ae2f14c9eb Added test for file data to QFilesystemHandler tests. 2015-07-09 18:23:48 -07:00
Nathan Osman
1eefc63ca4 Added the stop() slot to QIODeviceCopier. 2015-07-09 14:58:24 -07:00
Nathan Osman
2205fb4166 Merged the QHttpHandler abstract base class with the QSubHandler class. 2015-07-08 19:31:00 -07:00
Nathan Osman
71bc6fc73e Minor improvements to QFilesystemHandler. 2015-07-08 17:42:41 -07:00
Nathan Osman
b841ae16de Fixed memory leak in test suite. 2015-07-08 17:31:04 -07:00
Nathan Osman
ad8989bf07 Improved error handling in QObjectHandler. 2015-07-08 17:27:05 -07:00
Nathan Osman
cb5216ed71 Switched to using constants for status codes in tests. 2015-07-08 17:02:21 -07:00
Nathan Osman
89021152f1 Fixed order of operations in QObjectHandler tests that caused a problem on Windows. 2015-07-08 16:57:07 -07:00
Nathan Osman
afc2291bcc Fixed errors when running the QSubHandler tests on Windows. 2015-07-08 15:55:32 -07:00
Nathan Osman
bd9df9e1b3 Various minor fixes. 2015-07-04 22:06:38 -07:00
Nathan Osman
2593263b01 Minor updates to the QHttpSocket tests. 2015-07-04 20:27:35 -07:00
Nathan Osman
5deb8264c0 Added test for QHttpSocket::contentLength(). 2015-07-04 20:17:03 -07:00
Nathan Osman
48c81ade3b Updated QHttpServer tests. 2015-07-03 17:42:35 -07:00
Nathan Osman
36e2614d48 Updated QHttpServer class. 2015-07-03 17:18:21 -07:00
Nathan Osman
6a77b01f27 Removed bool return value from QHttpHandler::process(). 2015-07-03 16:06:02 -07:00
Nathan Osman
7ee24f5ac4 QHttpServer now directly derives from QTcpServer, removing the need for method duplication. 2015-07-02 19:45:18 -07:00
Nathan Osman
24680c0d18 Added redirect test for QHttpSocket. 2015-07-02 12:31:50 -07:00
Nathan Osman
280d6dd049 Added predefined status code constants. 2015-07-02 11:36:40 -07:00
Nathan Osman
ad9942ec46 Updated header comment. 2015-07-02 00:28:38 -07:00
Nathan Osman
61d4a14b33 Renamed QHttpSubHandler to QSubHandler. 2015-07-01 21:41:23 -07:00
Nathan Osman
5595ae1156 Completely reorganized the source code layout. 2015-07-01 21:32:26 -07:00
Nathan Osman
b73f7fcd5a Another attempt to fix the issue with the test suite on Windows. 2015-07-01 15:21:00 -07:00
Nathan Osman
35c3ed9add Fixed error in test suite when run on Windows. 2015-07-01 15:16:33 -07:00
Nathan Osman
3ce83a8092 Completed initial implementation of QHttpServer. 2015-07-01 14:55:48 -07:00
Nathan Osman
4d9863aab8 Finished initial (rough) implementation of QObjectHandler and simple tests. 2015-06-29 23:43:19 -07:00
Nathan Osman
9ae14199a7 Removed QIODeviceCounter class. 2015-06-26 23:13:38 -07:00
Nathan Osman
68a02aa842 Fixed MSVC++ compiler error. 2015-06-24 22:53:54 -07:00
Nathan Osman
0a5973cae2 Added basic tests for QObjectHandler. 2015-06-24 22:36:44 -07:00
Nathan Osman
1229676e19 Updated tests for QFilesystemHandler. 2015-06-23 20:17:23 -07:00
Nathan Osman
43c33e6e03 Switched to using aboutToClose() signal instead of disconnected() signal in QHttpSocket. 2015-06-23 19:00:31 -07:00
Nathan Osman
5fc8234ab8 Minor adjustments. 2015-06-23 18:55:36 -07:00
Nathan Osman
4e2d5d1018 Minor fixes to the QHttpSocket tests. 2015-06-23 18:42:20 -07:00
Nathan Osman
b73c45822a Added test for QHttpSocket signals. 2015-06-23 00:17:19 -07:00
Nathan Osman
6b78ac01db Added another test for QHttpSocket. 2015-06-22 19:34:36 -07:00
Nathan Osman
07eea5cbc1 Added test for QHttpSocket. 2015-06-22 19:10:05 -07:00
Nathan Osman
7a60a6b20e Fixed some minor issues with the QSimpleHttpClient and QSocketPair classes. 2015-06-22 18:26:50 -07:00
Nathan Osman
20e7f4b55b Added QSimpleHttpClient class. 2015-06-22 17:48:02 -07:00
Nathan Osman
09408e3142 Updated QHttpParser class. 2015-06-22 14:10:57 -07:00
Nathan Osman
87ef62ce9e Moved tests into separate directories. 2015-06-22 11:06:06 -07:00
Nathan Osman
5bcf2d2bbf Disabled failing test. 2015-06-21 00:06:00 -07:00
Nathan Osman
5b0fd1b672 Implemented QHttpParser::parseResponseHeaders() method and added tests. 2015-06-20 18:48:19 -07:00
Nathan Osman
6678d73cb0 Added implementation of parseRequestHeaders to QHttpParser. 2015-06-20 18:12:31 -07:00
Nathan Osman
b2810eb3c5 Switched QHttpSocket to require a QTcpSocket. 2015-06-17 19:28:07 -07:00
Nathan Osman
a4e041dc0f Added missing QByteArrayList declaration. 2015-06-17 16:21:10 -07:00
Nathan Osman
b5b44ecb85 Removed QHttpHeader class and cleaned out QHttpSocket tests. 2015-06-17 16:11:57 -07:00
Nathan Osman
11edff75bb Updated QHttpParser class and added tests. 2015-06-17 15:59:23 -07:00
Nathan Osman
875432d129 Added QIByteArray class, providing a case-insensitive byte array. 2015-06-17 14:38:31 -07:00
Nathan Osman
603188775c Added more methods and tests to QHttpParser. 2015-06-16 17:10:56 -07:00