summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/kernel
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-10-25 14:42:16 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-25 08:42:23 +0200
commitd04bf8f4073aa50b23ae154250932b5ddd3ddc0a (patch)
tree7a44d578fe0aa03facee96d75eaccbcedfc298fd /tests/auto/network/kernel
parent6b29e881cdd93d8fccec50df9e8d001776800136 (diff)
all remaining tests: eliminated usage of qttest_p4.prf
qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: I02fe27b2c1800f929250fa8694ca2976c9661a12 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/network/kernel')
-rw-r--r--tests/auto/network/kernel/qauthenticator/qauthenticator.pro5
-rw-r--r--tests/auto/network/kernel/qhostaddress/qhostaddress.pro5
-rw-r--r--tests/auto/network/kernel/qhostinfo/qhostinfo.pro5
-rw-r--r--tests/auto/network/kernel/qnetworkaddressentry/qnetworkaddressentry.pro5
-rw-r--r--tests/auto/network/kernel/qnetworkinterface/qnetworkinterface.pro5
-rw-r--r--tests/auto/network/kernel/qnetworkproxy/qnetworkproxy.pro5
-rw-r--r--tests/auto/network/kernel/qnetworkproxyfactory/qnetworkproxyfactory.pro5
7 files changed, 21 insertions, 14 deletions
diff --git a/tests/auto/network/kernel/qauthenticator/qauthenticator.pro b/tests/auto/network/kernel/qauthenticator/qauthenticator.pro
index 8ddb13b0df..5e4759b690 100644
--- a/tests/auto/network/kernel/qauthenticator/qauthenticator.pro
+++ b/tests/auto/network/kernel/qauthenticator/qauthenticator.pro
@@ -1,5 +1,6 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qauthenticator
requires(contains(QT_CONFIG,private_tests))
-QT = core network-private
+QT = core network-private testlib
SOURCES += tst_qauthenticator.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\"
diff --git a/tests/auto/network/kernel/qhostaddress/qhostaddress.pro b/tests/auto/network/kernel/qhostaddress/qhostaddress.pro
index 4972b2e0f7..0880e8eaea 100644
--- a/tests/auto/network/kernel/qhostaddress/qhostaddress.pro
+++ b/tests/auto/network/kernel/qhostaddress/qhostaddress.pro
@@ -1,8 +1,9 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qhostaddress
SOURCES += tst_qhostaddress.cpp
-QT = core network
+QT = core network testlib
win32: {
wince*: {
diff --git a/tests/auto/network/kernel/qhostinfo/qhostinfo.pro b/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
index 8e79ec618d..aceedc1ee4 100644
--- a/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
+++ b/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
@@ -1,8 +1,9 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qhostinfo
SOURCES += tst_qhostinfo.cpp
-QT = core-private network-private
+QT = core-private network-private testlib
wince*: {
LIBS += ws2.lib
diff --git a/tests/auto/network/kernel/qnetworkaddressentry/qnetworkaddressentry.pro b/tests/auto/network/kernel/qnetworkaddressentry/qnetworkaddressentry.pro
index 8feb95fbab..427f2e0f19 100644
--- a/tests/auto/network/kernel/qnetworkaddressentry/qnetworkaddressentry.pro
+++ b/tests/auto/network/kernel/qnetworkaddressentry/qnetworkaddressentry.pro
@@ -1,4 +1,5 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkaddressentry
SOURCES += tst_qnetworkaddressentry.cpp
-QT = core network
+QT = core network testlib
diff --git a/tests/auto/network/kernel/qnetworkinterface/qnetworkinterface.pro b/tests/auto/network/kernel/qnetworkinterface/qnetworkinterface.pro
index aad1a10025..694dec2ed7 100644
--- a/tests/auto/network/kernel/qnetworkinterface/qnetworkinterface.pro
+++ b/tests/auto/network/kernel/qnetworkinterface/qnetworkinterface.pro
@@ -1,4 +1,5 @@
-load(qttest_p4)
+CONFIG += testcase
+TARGET = tst_qnetworkinterface
SOURCES += tst_qnetworkinterface.cpp
-QT = core network
+QT = core network testlib
diff --git a/tests/auto/network/kernel/qnetworkproxy/qnetworkproxy.pro b/tests/auto/network/kernel/qnetworkproxy/qnetworkproxy.pro
index c8f379bb6d..996f9e3691 100644
--- a/tests/auto/network/kernel/qnetworkproxy/qnetworkproxy.pro
+++ b/tests/auto/network/kernel/qnetworkproxy/qnetworkproxy.pro
@@ -2,7 +2,8 @@
# Project file for autotest for file qnetworkproxy.h
############################################################
-load(qttest_p4)
-QT = core network
+CONFIG += testcase
+TARGET = tst_qnetworkproxy
+QT = core network testlib
SOURCES += tst_qnetworkproxy.cpp
diff --git a/tests/auto/network/kernel/qnetworkproxyfactory/qnetworkproxyfactory.pro b/tests/auto/network/kernel/qnetworkproxyfactory/qnetworkproxyfactory.pro
index 3307ee38ef..ed73e3e10e 100644
--- a/tests/auto/network/kernel/qnetworkproxyfactory/qnetworkproxyfactory.pro
+++ b/tests/auto/network/kernel/qnetworkproxyfactory/qnetworkproxyfactory.pro
@@ -2,7 +2,8 @@
# Project file for autotest for file qnetworkproxy.h (proxy factory part)
############################################################
-load(qttest_p4)
-QT = core network
+CONFIG += testcase
+TARGET = tst_qnetworkproxyfactory
+QT = core network testlib
SOURCES += tst_qnetworkproxyfactory.cpp