Moved network autotests into new directory structure

Task-number: QTBUG-21223

Change-Id: I55dbf5c42a1c5d938b9e0c9bf7d90457a6c26bbc
Reviewed-on: http://codereview.qt-project.org/4259
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jo Asplin 2011-09-06 13:46:40 +02:00
parent 2d41aff1e8
commit c59f9ad776
282 changed files with 93 additions and 66 deletions

View File

@ -82,7 +82,6 @@ SUBDIRS=\
qlineedit \
qlistview \
qlistwidget \
#qlocalsocket \ # FIXME: uses qtscript (QTBUG-19242)
qmacstyle \
qmainwindow \
qmdisubwindow \
@ -118,7 +117,6 @@ SUBDIRS=\
qtabbar \
qtableview \
qtablewidget \
qtcpsocket \
qtoolbar \
qtoolbox \
qtooltip \

View File

@ -4,50 +4,6 @@
# been compiled.
TEMPLATE=subdirs
SUBDIRS=\
network \
networkselftest \
qabstractnetworkcache \
qabstractsocket \
qauthenticator \
qftp \
qhostaddress \
qhostinfo \
qhttp \
qhttpnetworkconnection \
qhttpnetworkreply \
qhttpsocketengine \
platformsocketengine \
qnetworkaccessmanager \
qnetworkaddressentry \
qnetworkcachemetadata \
qnetworkconfiguration \
qnetworkconfigurationmanager \
qnetworkcookie \
qnetworkcookiejar \
qnetworkdiskcache \
qnetworkinterface \
qnetworkproxy \
qnetworkreply \
qnetworkrequest \
qnetworksession \
qobjectperformance \
qsocks5socketengine \
qsslcertificate \
qsslcipher \
qsslerror \
qsslkey \
qsslsocket \
qsslsocket_onDemandCertificates_member \
qsslsocket_onDemandCertificates_static \
qtcpserver \
qudpsocket \
# qnetworkproxyfactory \ # Uses a hardcoded proxy configuration
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
platformsocketengine \
qauthenticator \
qhostinfo \
qhttpnetworkconnection \
qhttpnetworkreply \
qhttpsocketengine \
qsocks5socketengine \

View File

@ -0,0 +1,20 @@
TEMPLATE=subdirs
SUBDIRS=\
qnetworkdiskcache \
qnetworkcookiejar \
qnetworkaccessmanager \
qnetworkcookie \
qnetworkrequest \
qhttpnetworkconnection \
qnetworkreply \
qnetworkcachemetadata \
qftp \
qhttpnetworkreply \
qhttp \
qabstractnetworkcache \
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qhttpnetworkconnection \
qhttpnetworkreply \

View File

@ -42,8 +42,8 @@
#include <QtTest/QtTest>
#include <QtNetwork/QtNetwork>
#include "../../shared/util.h"
#include "../network-settings.h"
#include "../../../../shared/util.h"
#include "../../../network-settings.h"
#ifndef QT_NO_BEARERMANAGEMENT
#include <QtNetwork/qnetworkconfigmanager.h>

View File

@ -55,7 +55,7 @@
#include <QNetworkSession>
#include <QtNetwork/private/qnetworksession_p.h>
#include "../network-settings.h"
#include "../../../network-settings.h"
//TESTED_CLASS=
//TESTED_FILES=

View File

@ -57,7 +57,7 @@
# include <qsslsocket.h>
#endif
#include "../network-settings.h"
#include "../../../network-settings.h"
//TESTED_CLASS=
//TESTED_FILES=

View File

@ -45,7 +45,7 @@
#include "private/qnoncontiguousbytedevice_p.h"
#include <QAuthenticator>
#include "../network-settings.h"
#include "../../../network-settings.h"
class tst_QHttpNetworkConnection: public QObject
{

View File

@ -43,7 +43,7 @@
#include <QtTest/QtTest>
#include <QtNetwork/QtNetwork>
#include <qnetworkdiskcache.h>
#include "../../shared/util.h"
#include "../../../../shared/util.h"
#define EXAMPLE_URL "http://user:pass@www.example.com/#foo"
//cached objects are organized into these many subdirs

View File

Before

Width:  |  Height:  |  Size: 1021 KiB

After

Width:  |  Height:  |  Size: 1021 KiB

View File

Before

Width:  |  Height:  |  Size: 859 KiB

After

Width:  |  Height:  |  Size: 859 KiB

View File

Before

Width:  |  Height:  |  Size: 867 KiB

After

Width:  |  Height:  |  Size: 867 KiB

View File

@ -81,7 +81,7 @@
#define SRCDIR "."
#endif
#include "../network-settings.h"
#include "../../../network-settings.h"
Q_DECLARE_METATYPE(QSharedPointer<char>)
Q_DECLARE_METATYPE(QNetworkReply*)

View File

@ -0,0 +1,6 @@
TEMPLATE=subdirs
SUBDIRS=\
qnetworkconfiguration \
qnetworkconfigurationmanager \
qnetworksession \

View File

@ -0,0 +1,14 @@
TEMPLATE=subdirs
SUBDIRS=\
qhostinfo \
# qnetworkproxyfactory \ # Uses a hardcoded proxy configuration
qauthenticator \
qnetworkproxy \
qnetworkinterface \
qnetworkaddressentry \
qhostaddress \
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qauthenticator \
qhostinfo \

View File

@ -94,8 +94,8 @@
# endif
#endif
#include "../network-settings.h"
#include "../../shared/util.h"
#include "../../../network-settings.h"
#include "../../../../shared/util.h"
//TESTED_CLASS=
//TESTED_FILES=

Some files were not shown because too many files have changed in this diff Show More