From 2fdf8fac717832ed48bd3b1a7763e48e57a8f264 Mon Sep 17 00:00:00 2001 From: Nathan Osman Date: Fri, 7 Jul 2017 18:49:40 -0700 Subject: [PATCH] Rename source files. --- examples/auth/client.cpp | 2 +- examples/chatserver/apihandler.h | 2 +- examples/chatserver/main.cpp | 6 ++--- examples/fileserver/main.cpp | 4 ++-- ...qhttpbasicauth.h => basicauthmiddleware.h} | 2 +- ...ilesystemhandler.h => filesystemhandler.h} | 2 +- .../qhttpengine/{qhttphandler.h => handler.h} | 0 .../{qibytearray.h => ibytearray.h} | 0 .../{qlocalauth.h => localauthmiddleware.h} | 2 +- .../qhttpengine/{qlocalfile.h => localfile.h} | 0 .../{qhttpmiddleware.h => middleware.h} | 0 .../qhttpengine/{qhttpparser.h => parser.h} | 2 +- .../{qproxyhandler.h => proxyhandler.h} | 2 +- include/qhttpengine/qobjecthandler.h | 2 +- include/qhttpengine/{qhttprange.h => range.h} | 0 .../qhttpengine/{qhttpserver.h => server.h} | 0 .../qhttpengine/{qhttpsocket.h => socket.h} | 2 +- src/CMakeLists.txt | 22 +++++++++---------- ...pbasicauth.cpp => basicauthmiddleware.cpp} | 10 ++++----- ...pbasicauth_p.h => basicauthmiddleware_p.h} | 0 ...ystemhandler.cpp => filesystemhandler.cpp} | 6 ++--- ...ystemhandler_p.h => filesystemhandler_p.h} | 4 ++-- src/{qhttphandler.cpp => handler.cpp} | 8 +++---- src/{qhttphandler_p.h => handler_p.h} | 2 +- ...qlocalauth.cpp => localauthmiddleware.cpp} | 6 ++--- ...qlocalauth_p.h => localauthmiddleware_p.h} | 2 +- src/{qlocalfile.cpp => localfile.cpp} | 4 ++-- src/{qlocalfile_p.h => localfile_p.h} | 0 src/{qhttpparser.cpp => parser.cpp} | 2 +- src/{qproxyhandler.cpp => proxyhandler.cpp} | 6 ++--- src/{qproxyhandler_p.h => proxyhandler_p.h} | 2 +- src/{qproxysocket.cpp => proxysocket.cpp} | 4 ++-- src/{qproxysocket.h => proxysocket.h} | 2 +- src/qobjecthandler.cpp | 2 +- src/{qhttprange.cpp => range.cpp} | 4 ++-- src/{qhttprange_p.h => range_p.h} | 2 +- src/{qhttpserver.cpp => server.cpp} | 6 ++--- src/{qhttpserver_p.h => server_p.h} | 2 +- src/{qhttpsocket.cpp => socket.cpp} | 4 ++-- src/{qhttpsocket_p.h => socket_p.h} | 2 +- tests/TestQFilesystemHandler.cpp | 4 ++-- tests/TestQHttpBasicAuth.cpp | 6 ++--- tests/TestQHttpHandler.cpp | 4 ++-- tests/TestQHttpMiddleware.cpp | 6 ++--- tests/TestQHttpParser.cpp | 6 ++--- tests/TestQHttpRange.cpp | 2 +- tests/TestQHttpServer.cpp | 4 ++-- tests/TestQHttpSocket.cpp | 4 ++-- tests/TestQIByteArray.cpp | 2 +- tests/TestQLocalAuth.cpp | 4 ++-- tests/TestQLocalFile.cpp | 2 +- tests/TestQObjectHandler.cpp | 2 +- tests/TestQProxyHandler.cpp | 6 ++--- tests/common/qsimplehttpclient.h | 4 ++-- 54 files changed, 93 insertions(+), 93 deletions(-) rename include/qhttpengine/{qhttpbasicauth.h => basicauthmiddleware.h} (98%) rename include/qhttpengine/{qfilesystemhandler.h => filesystemhandler.h} (98%) rename include/qhttpengine/{qhttphandler.h => handler.h} (100%) rename include/qhttpengine/{qibytearray.h => ibytearray.h} (100%) rename include/qhttpengine/{qlocalauth.h => localauthmiddleware.h} (98%) rename include/qhttpengine/{qlocalfile.h => localfile.h} (100%) rename include/qhttpengine/{qhttpmiddleware.h => middleware.h} (100%) rename include/qhttpengine/{qhttpparser.h => parser.h} (98%) rename include/qhttpengine/{qproxyhandler.h => proxyhandler.h} (97%) rename include/qhttpengine/{qhttprange.h => range.h} (100%) rename include/qhttpengine/{qhttpserver.h => server.h} (100%) rename include/qhttpengine/{qhttpsocket.h => socket.h} (99%) rename src/{qhttpbasicauth.cpp => basicauthmiddleware.cpp} (93%) rename src/{qhttpbasicauth_p.h => basicauthmiddleware_p.h} (100%) rename src/{qfilesystemhandler.cpp => filesystemhandler.cpp} (98%) rename src/{qfilesystemhandler_p.h => filesystemhandler_p.h} (95%) rename src/{qhttphandler.cpp => handler.cpp} (95%) rename src/{qhttphandler_p.h => handler_p.h} (97%) rename src/{qlocalauth.cpp => localauthmiddleware.cpp} (95%) rename src/{qlocalauth_p.h => localauthmiddleware_p.h} (97%) rename src/{qlocalfile.cpp => localfile.cpp} (98%) rename src/{qlocalfile_p.h => localfile_p.h} (100%) rename src/{qhttpparser.cpp => parser.cpp} (99%) rename src/{qproxyhandler.cpp => proxyhandler.cpp} (94%) rename src/{qproxyhandler_p.h => proxyhandler_p.h} (97%) rename src/{qproxysocket.cpp => proxysocket.cpp} (98%) rename src/{qproxysocket.h => proxysocket.h} (98%) rename src/{qhttprange.cpp => range.cpp} (99%) rename src/{qhttprange_p.h => range_p.h} (97%) rename src/{qhttpserver.cpp => server.cpp} (96%) rename src/{qhttpserver_p.h => server_p.h} (97%) rename src/{qhttpsocket.cpp => socket.cpp} (99%) rename src/{qhttpsocket_p.h => socket_p.h} (98%) diff --git a/examples/auth/client.cpp b/examples/auth/client.cpp index 248568f..89cd1be 100644 --- a/examples/auth/client.cpp +++ b/examples/auth/client.cpp @@ -30,7 +30,7 @@ #include #include -#include +#include int main(int argc, char * argv[]) { diff --git a/examples/chatserver/apihandler.h b/examples/chatserver/apihandler.h index 5df621d..e1b3801 100644 --- a/examples/chatserver/apihandler.h +++ b/examples/chatserver/apihandler.h @@ -26,7 +26,7 @@ #include #include -#include +#include class ApiHandler : public QObject { diff --git a/examples/chatserver/main.cpp b/examples/chatserver/main.cpp index 1b6547f..9a17668 100644 --- a/examples/chatserver/main.cpp +++ b/examples/chatserver/main.cpp @@ -27,9 +27,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include "apihandler.h" diff --git a/examples/fileserver/main.cpp b/examples/fileserver/main.cpp index cb19c15..79f158e 100644 --- a/examples/fileserver/main.cpp +++ b/examples/fileserver/main.cpp @@ -27,8 +27,8 @@ #include #include -#include -#include +#include +#include int main(int argc, char * argv[]) { diff --git a/include/qhttpengine/qhttpbasicauth.h b/include/qhttpengine/basicauthmiddleware.h similarity index 98% rename from include/qhttpengine/qhttpbasicauth.h rename to include/qhttpengine/basicauthmiddleware.h index a6db6ca..2274d1d 100644 --- a/include/qhttpengine/qhttpbasicauth.h +++ b/include/qhttpengine/basicauthmiddleware.h @@ -23,7 +23,7 @@ #ifndef QHTTPENGINE_QHTTPBASICAUTH_H #define QHTTPENGINE_QHTTPBASICAUTH_H -#include +#include #include "qhttpengine_global.h" diff --git a/include/qhttpengine/qfilesystemhandler.h b/include/qhttpengine/filesystemhandler.h similarity index 98% rename from include/qhttpengine/qfilesystemhandler.h rename to include/qhttpengine/filesystemhandler.h index 8fcad65..bf61bda 100644 --- a/include/qhttpengine/qfilesystemhandler.h +++ b/include/qhttpengine/filesystemhandler.h @@ -23,7 +23,7 @@ #ifndef QHTTPENGINE_QFILESYSTEMHANDLER_H #define QHTTPENGINE_QFILESYSTEMHANDLER_H -#include +#include #include "qhttpengine_global.h" diff --git a/include/qhttpengine/qhttphandler.h b/include/qhttpengine/handler.h similarity index 100% rename from include/qhttpengine/qhttphandler.h rename to include/qhttpengine/handler.h diff --git a/include/qhttpengine/qibytearray.h b/include/qhttpengine/ibytearray.h similarity index 100% rename from include/qhttpengine/qibytearray.h rename to include/qhttpengine/ibytearray.h diff --git a/include/qhttpengine/qlocalauth.h b/include/qhttpengine/localauthmiddleware.h similarity index 98% rename from include/qhttpengine/qlocalauth.h rename to include/qhttpengine/localauthmiddleware.h index 1045b72..ce98625 100644 --- a/include/qhttpengine/qlocalauth.h +++ b/include/qhttpengine/localauthmiddleware.h @@ -25,7 +25,7 @@ #include -#include +#include #include "qhttpengine_global.h" diff --git a/include/qhttpengine/qlocalfile.h b/include/qhttpengine/localfile.h similarity index 100% rename from include/qhttpengine/qlocalfile.h rename to include/qhttpengine/localfile.h diff --git a/include/qhttpengine/qhttpmiddleware.h b/include/qhttpengine/middleware.h similarity index 100% rename from include/qhttpengine/qhttpmiddleware.h rename to include/qhttpengine/middleware.h diff --git a/include/qhttpengine/qhttpparser.h b/include/qhttpengine/parser.h similarity index 98% rename from include/qhttpengine/qhttpparser.h rename to include/qhttpengine/parser.h index 2d92a3f..060875a 100644 --- a/include/qhttpengine/qhttpparser.h +++ b/include/qhttpengine/parser.h @@ -25,7 +25,7 @@ #include -#include +#include #include "qhttpengine_global.h" diff --git a/include/qhttpengine/qproxyhandler.h b/include/qhttpengine/proxyhandler.h similarity index 97% rename from include/qhttpengine/qproxyhandler.h rename to include/qhttpengine/proxyhandler.h index 9488595..83ab6e4 100644 --- a/include/qhttpengine/qproxyhandler.h +++ b/include/qhttpengine/proxyhandler.h @@ -25,7 +25,7 @@ #include -#include +#include #include "qhttpengine_global.h" diff --git a/include/qhttpengine/qobjecthandler.h b/include/qhttpengine/qobjecthandler.h index 9e47b77..864cfd1 100644 --- a/include/qhttpengine/qobjecthandler.h +++ b/include/qhttpengine/qobjecthandler.h @@ -23,7 +23,7 @@ #ifndef QHTTPENGINE_QOBJECTHANDLER_H #define QHTTPENGINE_QOBJECTHANDLER_H -#include +#include #include "qhttpengine_global.h" diff --git a/include/qhttpengine/qhttprange.h b/include/qhttpengine/range.h similarity index 100% rename from include/qhttpengine/qhttprange.h rename to include/qhttpengine/range.h diff --git a/include/qhttpengine/qhttpserver.h b/include/qhttpengine/server.h similarity index 100% rename from include/qhttpengine/qhttpserver.h rename to include/qhttpengine/server.h diff --git a/include/qhttpengine/qhttpsocket.h b/include/qhttpengine/socket.h similarity index 99% rename from include/qhttpengine/qhttpsocket.h rename to include/qhttpengine/socket.h index f11035d..1668cf2 100644 --- a/include/qhttpengine/qhttpsocket.h +++ b/include/qhttpengine/socket.h @@ -27,7 +27,7 @@ #include #include -#include +#include #include "qhttpengine_global.h" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ea728d9..89e9d21 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,19 +4,19 @@ file(GLOB HEADERS "${CMAKE_SOURCE_DIR}/include/qhttpengine/*") set(HEADERS "${HEADERS}" "${CMAKE_CURRENT_BINARY_DIR}/qhttpengine_global.h") set(SRC - qfilesystemhandler.cpp - qhttpbasicauth.cpp - qhttphandler.cpp - qhttpparser.cpp - qhttprange.cpp - qhttpserver.cpp - qhttpsocket.cpp + filesystemhandler.cpp + basicauthmiddleware.cpp + handler.cpp + parser.cpp + range.cpp + server.cpp + socket.cpp qiodevicecopier.cpp - qlocalauth.cpp - qlocalfile.cpp + localauthmiddleware.cpp + localfile.cpp qobjecthandler.cpp - qproxyhandler.cpp - qproxysocket.cpp + proxyhandler.cpp + proxysocket.cpp ) if(WIN32) diff --git a/src/qhttpbasicauth.cpp b/src/basicauthmiddleware.cpp similarity index 93% rename from src/qhttpbasicauth.cpp rename to src/basicauthmiddleware.cpp index 9498045..19de583 100644 --- a/src/qhttpbasicauth.cpp +++ b/src/basicauthmiddleware.cpp @@ -20,12 +20,12 @@ * IN THE SOFTWARE. */ -#include -#include -#include -#include +#include +#include +#include +#include -#include "qhttpbasicauth_p.h" +#include "basicauthmiddleware_p.h" HttpBasicAuthPrivate::HttpBasicAuthPrivate(QObject *parent, const QString &realm) : QObject(parent), diff --git a/src/qhttpbasicauth_p.h b/src/basicauthmiddleware_p.h similarity index 100% rename from src/qhttpbasicauth_p.h rename to src/basicauthmiddleware_p.h diff --git a/src/qfilesystemhandler.cpp b/src/filesystemhandler.cpp similarity index 98% rename from src/qfilesystemhandler.cpp rename to src/filesystemhandler.cpp index f807d61..d016442 100644 --- a/src/qfilesystemhandler.cpp +++ b/src/filesystemhandler.cpp @@ -25,11 +25,11 @@ #include #include -#include -#include +#include +#include #include -#include "qfilesystemhandler_p.h" +#include "filesystemhandler_p.h" // Template for listing directory contents const QString ListTemplate = diff --git a/src/qfilesystemhandler_p.h b/src/filesystemhandler_p.h similarity index 95% rename from src/qfilesystemhandler_p.h rename to src/filesystemhandler_p.h index bec39d3..9c2436d 100644 --- a/src/qfilesystemhandler_p.h +++ b/src/filesystemhandler_p.h @@ -27,8 +27,8 @@ #include #include -#include -#include +#include +#include class FilesystemHandlerPrivate : public QObject { diff --git a/src/qhttphandler.cpp b/src/handler.cpp similarity index 95% rename from src/qhttphandler.cpp rename to src/handler.cpp index 1998de5..d91143c 100644 --- a/src/qhttphandler.cpp +++ b/src/handler.cpp @@ -20,11 +20,11 @@ * IN THE SOFTWARE. */ -#include -#include -#include +#include +#include +#include -#include "qhttphandler_p.h" +#include "handler_p.h" HttpHandlerPrivate::HttpHandlerPrivate(HttpHandler *handler) : QObject(handler), diff --git a/src/qhttphandler_p.h b/src/handler_p.h similarity index 97% rename from src/qhttphandler_p.h rename to src/handler_p.h index d0641ab..1263e3d 100644 --- a/src/qhttphandler_p.h +++ b/src/handler_p.h @@ -28,7 +28,7 @@ #include #include -#include +#include typedef QPair Redirect; typedef QPair SubHandler; diff --git a/src/qlocalauth.cpp b/src/localauthmiddleware.cpp similarity index 95% rename from src/qlocalauth.cpp rename to src/localauthmiddleware.cpp index 7a31bbf..df9ed17 100644 --- a/src/qlocalauth.cpp +++ b/src/localauthmiddleware.cpp @@ -24,10 +24,10 @@ #include #include -#include -#include +#include +#include -#include "qlocalauth_p.h" +#include "localauthmiddleware_p.h" LocalAuthPrivate::LocalAuthPrivate(QObject *parent) : QObject(parent), diff --git a/src/qlocalauth_p.h b/src/localauthmiddleware_p.h similarity index 97% rename from src/qlocalauth_p.h rename to src/localauthmiddleware_p.h index 743b0a0..346f219 100644 --- a/src/qlocalauth_p.h +++ b/src/localauthmiddleware_p.h @@ -26,7 +26,7 @@ #include #include -#include +#include class LocalAuthPrivate : public QObject { diff --git a/src/qlocalfile.cpp b/src/localfile.cpp similarity index 98% rename from src/qlocalfile.cpp rename to src/localfile.cpp index 30dd9b5..147acf5 100644 --- a/src/qlocalfile.cpp +++ b/src/localfile.cpp @@ -30,9 +30,9 @@ # include #endif -#include +#include -#include "qlocalfile_p.h" +#include "localfile_p.h" LocalFilePrivate::LocalFilePrivate(LocalFile *localFile) : QObject(localFile), diff --git a/src/qlocalfile_p.h b/src/localfile_p.h similarity index 100% rename from src/qlocalfile_p.h rename to src/localfile_p.h diff --git a/src/qhttpparser.cpp b/src/parser.cpp similarity index 99% rename from src/qhttpparser.cpp rename to src/parser.cpp index 50d9aa0..9246ce6 100644 --- a/src/qhttpparser.cpp +++ b/src/parser.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include void HttpParser::split(const QByteArray &data, const QByteArray &delim, int maxSplit, QByteArrayList &parts) { diff --git a/src/qproxyhandler.cpp b/src/proxyhandler.cpp similarity index 94% rename from src/qproxyhandler.cpp rename to src/proxyhandler.cpp index a11841e..e815d14 100644 --- a/src/qproxyhandler.cpp +++ b/src/proxyhandler.cpp @@ -20,10 +20,10 @@ * IN THE SOFTWARE. */ -#include +#include -#include "qproxyhandler_p.h" -#include "qproxysocket.h" +#include "proxyhandler_p.h" +#include "proxysocket.h" ProxyHandlerPrivate::ProxyHandlerPrivate(QObject *parent, const QHostAddress &address, quint16 port) : QObject(parent), diff --git a/src/qproxyhandler_p.h b/src/proxyhandler_p.h similarity index 97% rename from src/qproxyhandler_p.h rename to src/proxyhandler_p.h index fc56948..8223801 100644 --- a/src/qproxyhandler_p.h +++ b/src/proxyhandler_p.h @@ -26,7 +26,7 @@ #include #include -#include +#include class ProxyHandlerPrivate : public QObject { diff --git a/src/qproxysocket.cpp b/src/proxysocket.cpp similarity index 98% rename from src/qproxysocket.cpp rename to src/proxysocket.cpp index 90bdf02..f1640fc 100644 --- a/src/qproxysocket.cpp +++ b/src/proxysocket.cpp @@ -20,9 +20,9 @@ * IN THE SOFTWARE. */ -#include +#include -#include "qproxysocket.h" +#include "proxysocket.h" QProxySocket::QProxySocket(HttpSocket *socket, const QString &path, const QHostAddress &address, quint16 port) : QObject(socket), diff --git a/src/qproxysocket.h b/src/proxysocket.h similarity index 98% rename from src/qproxysocket.h rename to src/proxysocket.h index cfe6277..e66d20f 100644 --- a/src/qproxysocket.h +++ b/src/proxysocket.h @@ -27,7 +27,7 @@ #include #include -#include +#include /** * @brief HTTP socket for connecting to a proxy diff --git a/src/qobjecthandler.cpp b/src/qobjecthandler.cpp index 61ddd49..67d446d 100644 --- a/src/qobjecthandler.cpp +++ b/src/qobjecthandler.cpp @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include "qobjecthandler_p.h" diff --git a/src/qhttprange.cpp b/src/range.cpp similarity index 99% rename from src/qhttprange.cpp rename to src/range.cpp index 7b949b6..cbd40e1 100644 --- a/src/qhttprange.cpp +++ b/src/range.cpp @@ -22,9 +22,9 @@ #include -#include +#include -#include "qhttprange_p.h" +#include "range_p.h" HttpRangePrivate::HttpRangePrivate(HttpRange *range) : q(range) diff --git a/src/qhttprange_p.h b/src/range_p.h similarity index 97% rename from src/qhttprange_p.h rename to src/range_p.h index 8730e0b..210b103 100644 --- a/src/qhttprange_p.h +++ b/src/range_p.h @@ -23,7 +23,7 @@ #ifndef QHTTPENGINE_QHTTPRANGEPRIVATE_H #define QHTTPENGINE_QHTTPRANGEPRIVATE_H -#include +#include class HttpRangePrivate { diff --git a/src/qhttpserver.cpp b/src/server.cpp similarity index 96% rename from src/qhttpserver.cpp rename to src/server.cpp index 17701be..c865da4 100644 --- a/src/qhttpserver.cpp +++ b/src/server.cpp @@ -24,10 +24,10 @@ # include #endif -#include -#include +#include +#include -#include "qhttpserver_p.h" +#include "server_p.h" HttpServerPrivate::HttpServerPrivate(HttpServer *httpServer) : QObject(httpServer), diff --git a/src/qhttpserver_p.h b/src/server_p.h similarity index 97% rename from src/qhttpserver_p.h rename to src/server_p.h index ad1ecf1..68eb9f8 100644 --- a/src/qhttpserver_p.h +++ b/src/server_p.h @@ -30,7 +30,7 @@ # include #endif -#include +#include class HttpHandler; diff --git a/src/qhttpsocket.cpp b/src/socket.cpp similarity index 99% rename from src/qhttpsocket.cpp rename to src/socket.cpp index d16c1d9..ef97159 100644 --- a/src/qhttpsocket.cpp +++ b/src/socket.cpp @@ -26,9 +26,9 @@ #include #include -#include +#include -#include "qhttpsocket_p.h" +#include "socket_p.h" // Predefined error response requires a simple HTML template to be returned to // the client describing the error condition diff --git a/src/qhttpsocket_p.h b/src/socket_p.h similarity index 98% rename from src/qhttpsocket_p.h rename to src/socket_p.h index a343dea..a6d65d3 100644 --- a/src/qhttpsocket_p.h +++ b/src/socket_p.h @@ -23,7 +23,7 @@ #ifndef QHTTPENGINE_QHTTPSOCKETPRIVATE_H #define QHTTPENGINE_QHTTPSOCKETPRIVATE_H -#include +#include class QTcpSocket; diff --git a/tests/TestQFilesystemHandler.cpp b/tests/TestQFilesystemHandler.cpp index 60d5c42..c35f40e 100644 --- a/tests/TestQFilesystemHandler.cpp +++ b/tests/TestQFilesystemHandler.cpp @@ -27,8 +27,8 @@ #include #include -#include -#include +#include +#include #include "common/qsimplehttpclient.h" #include "common/qsocketpair.h" diff --git a/tests/TestQHttpBasicAuth.cpp b/tests/TestQHttpBasicAuth.cpp index ea6b71a..d50d695 100644 --- a/tests/TestQHttpBasicAuth.cpp +++ b/tests/TestQHttpBasicAuth.cpp @@ -22,9 +22,9 @@ #include -#include -#include -#include +#include +#include +#include #include "common/qsimplehttpclient.h" #include "common/qsocketpair.h" diff --git a/tests/TestQHttpHandler.cpp b/tests/TestQHttpHandler.cpp index e5db9a2..2550dcf 100644 --- a/tests/TestQHttpHandler.cpp +++ b/tests/TestQHttpHandler.cpp @@ -23,8 +23,8 @@ #include #include -#include -#include +#include +#include #include "common/qsimplehttpclient.h" #include "common/qsocketpair.h" diff --git a/tests/TestQHttpMiddleware.cpp b/tests/TestQHttpMiddleware.cpp index 5513fbb..46af1ff 100644 --- a/tests/TestQHttpMiddleware.cpp +++ b/tests/TestQHttpMiddleware.cpp @@ -22,9 +22,9 @@ #include -#include -#include -#include +#include +#include +#include #include "common/qsimplehttpclient.h" #include "common/qsocketpair.h" diff --git a/tests/TestQHttpParser.cpp b/tests/TestQHttpParser.cpp index 1edd9ef..125efe6 100644 --- a/tests/TestQHttpParser.cpp +++ b/tests/TestQHttpParser.cpp @@ -24,9 +24,9 @@ #include #include -#include -#include -#include +#include +#include +#include typedef QList QByteArrayList; diff --git a/tests/TestQHttpRange.cpp b/tests/TestQHttpRange.cpp index 10a27d7..960c87c 100644 --- a/tests/TestQHttpRange.cpp +++ b/tests/TestQHttpRange.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include class TestQHttpRange : public QObject { diff --git a/tests/TestQHttpServer.cpp b/tests/TestQHttpServer.cpp index c7310b4..e3b8347 100644 --- a/tests/TestQHttpServer.cpp +++ b/tests/TestQHttpServer.cpp @@ -32,8 +32,8 @@ # include #endif -#include -#include +#include +#include #include "common/qsimplehttpclient.h" diff --git a/tests/TestQHttpSocket.cpp b/tests/TestQHttpSocket.cpp index b9ca28b..9ef1183 100644 --- a/tests/TestQHttpSocket.cpp +++ b/tests/TestQHttpSocket.cpp @@ -26,8 +26,8 @@ #include #include -#include -#include +#include +#include #include "common/qsimplehttpclient.h" #include "common/qsocketpair.h" diff --git a/tests/TestQIByteArray.cpp b/tests/TestQIByteArray.cpp index 12fb6c3..dadf4c6 100644 --- a/tests/TestQIByteArray.cpp +++ b/tests/TestQIByteArray.cpp @@ -23,7 +23,7 @@ #include #include -#include +#include const char *Value1 = "test"; const char *Value2 = "TEST"; diff --git a/tests/TestQLocalAuth.cpp b/tests/TestQLocalAuth.cpp index 963dbf3..8761f9b 100644 --- a/tests/TestQLocalAuth.cpp +++ b/tests/TestQLocalAuth.cpp @@ -26,8 +26,8 @@ #include #include -#include -#include +#include +#include #include "common/qsimplehttpclient.h" #include "common/qsocketpair.h" diff --git a/tests/TestQLocalFile.cpp b/tests/TestQLocalFile.cpp index dc77e9c..c0acca8 100644 --- a/tests/TestQLocalFile.cpp +++ b/tests/TestQLocalFile.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include const QString ApplicationName = "QHttpEngine"; diff --git a/tests/TestQObjectHandler.cpp b/tests/TestQObjectHandler.cpp index 521969a..509ca4e 100644 --- a/tests/TestQObjectHandler.cpp +++ b/tests/TestQObjectHandler.cpp @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include "common/qsimplehttpclient.h" diff --git a/tests/TestQProxyHandler.cpp b/tests/TestQProxyHandler.cpp index e16f078..cfcdb59 100644 --- a/tests/TestQProxyHandler.cpp +++ b/tests/TestQProxyHandler.cpp @@ -24,10 +24,10 @@ #include #include -#include -#include +#include +#include #include -#include +#include #include "common/qsimplehttpclient.h" #include "common/qsocketpair.h" diff --git a/tests/common/qsimplehttpclient.h b/tests/common/qsimplehttpclient.h index 7fc0c27..4ab3cc0 100644 --- a/tests/common/qsimplehttpclient.h +++ b/tests/common/qsimplehttpclient.h @@ -27,8 +27,8 @@ #include #include -#include -#include +#include +#include /** * @brief Simple HTTP client for testing purposes