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:
parent
2d41aff1e8
commit
c59f9ad776
@ -82,7 +82,6 @@ SUBDIRS=\
|
|||||||
qlineedit \
|
qlineedit \
|
||||||
qlistview \
|
qlistview \
|
||||||
qlistwidget \
|
qlistwidget \
|
||||||
#qlocalsocket \ # FIXME: uses qtscript (QTBUG-19242)
|
|
||||||
qmacstyle \
|
qmacstyle \
|
||||||
qmainwindow \
|
qmainwindow \
|
||||||
qmdisubwindow \
|
qmdisubwindow \
|
||||||
@ -118,7 +117,6 @@ SUBDIRS=\
|
|||||||
qtabbar \
|
qtabbar \
|
||||||
qtableview \
|
qtableview \
|
||||||
qtablewidget \
|
qtablewidget \
|
||||||
qtcpsocket \
|
|
||||||
qtoolbar \
|
qtoolbar \
|
||||||
qtoolbox \
|
qtoolbox \
|
||||||
qtooltip \
|
qtooltip \
|
||||||
|
@ -4,50 +4,6 @@
|
|||||||
# been compiled.
|
# been compiled.
|
||||||
TEMPLATE=subdirs
|
TEMPLATE=subdirs
|
||||||
SUBDIRS=\
|
SUBDIRS=\
|
||||||
|
network \
|
||||||
networkselftest \
|
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 \
|
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 \
|
|
||||||
|
|
||||||
|
20
tests/auto/network/access/access.pro
Normal file
20
tests/auto/network/access/access.pro
Normal 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 \
|
||||||
|
|
||||||
|
|
@ -42,8 +42,8 @@
|
|||||||
|
|
||||||
#include <QtTest/QtTest>
|
#include <QtTest/QtTest>
|
||||||
#include <QtNetwork/QtNetwork>
|
#include <QtNetwork/QtNetwork>
|
||||||
#include "../../shared/util.h"
|
#include "../../../../shared/util.h"
|
||||||
#include "../network-settings.h"
|
#include "../../../network-settings.h"
|
||||||
|
|
||||||
#ifndef QT_NO_BEARERMANAGEMENT
|
#ifndef QT_NO_BEARERMANAGEMENT
|
||||||
#include <QtNetwork/qnetworkconfigmanager.h>
|
#include <QtNetwork/qnetworkconfigmanager.h>
|
@ -55,7 +55,7 @@
|
|||||||
#include <QNetworkSession>
|
#include <QNetworkSession>
|
||||||
#include <QtNetwork/private/qnetworksession_p.h>
|
#include <QtNetwork/private/qnetworksession_p.h>
|
||||||
|
|
||||||
#include "../network-settings.h"
|
#include "../../../network-settings.h"
|
||||||
|
|
||||||
//TESTED_CLASS=
|
//TESTED_CLASS=
|
||||||
//TESTED_FILES=
|
//TESTED_FILES=
|
@ -57,7 +57,7 @@
|
|||||||
# include <qsslsocket.h>
|
# include <qsslsocket.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../network-settings.h"
|
#include "../../../network-settings.h"
|
||||||
|
|
||||||
//TESTED_CLASS=
|
//TESTED_CLASS=
|
||||||
//TESTED_FILES=
|
//TESTED_FILES=
|
@ -45,7 +45,7 @@
|
|||||||
#include "private/qnoncontiguousbytedevice_p.h"
|
#include "private/qnoncontiguousbytedevice_p.h"
|
||||||
#include <QAuthenticator>
|
#include <QAuthenticator>
|
||||||
|
|
||||||
#include "../network-settings.h"
|
#include "../../../network-settings.h"
|
||||||
|
|
||||||
class tst_QHttpNetworkConnection: public QObject
|
class tst_QHttpNetworkConnection: public QObject
|
||||||
{
|
{
|
@ -43,7 +43,7 @@
|
|||||||
#include <QtTest/QtTest>
|
#include <QtTest/QtTest>
|
||||||
#include <QtNetwork/QtNetwork>
|
#include <QtNetwork/QtNetwork>
|
||||||
#include <qnetworkdiskcache.h>
|
#include <qnetworkdiskcache.h>
|
||||||
#include "../../shared/util.h"
|
#include "../../../../shared/util.h"
|
||||||
|
|
||||||
#define EXAMPLE_URL "http://user:pass@www.example.com/#foo"
|
#define EXAMPLE_URL "http://user:pass@www.example.com/#foo"
|
||||||
//cached objects are organized into these many subdirs
|
//cached objects are organized into these many subdirs
|
Before Width: | Height: | Size: 1021 KiB After Width: | Height: | Size: 1021 KiB |
Before Width: | Height: | Size: 859 KiB After Width: | Height: | Size: 859 KiB |
Before Width: | Height: | Size: 867 KiB After Width: | Height: | Size: 867 KiB |
@ -81,7 +81,7 @@
|
|||||||
#define SRCDIR "."
|
#define SRCDIR "."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../network-settings.h"
|
#include "../../../network-settings.h"
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QSharedPointer<char>)
|
Q_DECLARE_METATYPE(QSharedPointer<char>)
|
||||||
Q_DECLARE_METATYPE(QNetworkReply*)
|
Q_DECLARE_METATYPE(QNetworkReply*)
|
6
tests/auto/network/bearer/bearer.pro
Normal file
6
tests/auto/network/bearer/bearer.pro
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
TEMPLATE=subdirs
|
||||||
|
SUBDIRS=\
|
||||||
|
qnetworkconfiguration \
|
||||||
|
qnetworkconfigurationmanager \
|
||||||
|
qnetworksession \
|
||||||
|
|
14
tests/auto/network/kernel/kernel.pro
Normal file
14
tests/auto/network/kernel/kernel.pro
Normal 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 \
|
||||||
|
|
@ -94,8 +94,8 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../network-settings.h"
|
#include "../../../network-settings.h"
|
||||||
#include "../../shared/util.h"
|
#include "../../../../shared/util.h"
|
||||||
|
|
||||||
//TESTED_CLASS=
|
//TESTED_CLASS=
|
||||||
//TESTED_FILES=
|
//TESTED_FILES=
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user