test: QFtp tests require `private_tests' set
authorSergio Ahumada <sergio.ahumada@nokia.com>
Thu, 6 Sep 2012 10:53:33 +0000 (12:53 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 9 Sep 2012 06:51:05 +0000 (08:51 +0200)
Also fixing some includes and re-enabling the test

Change-Id: I4a061e106c2e55db39b8000729737a93e3d7714a
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/access/qftp_p.h
tests/auto/network/access/access.pro
tests/auto/network/access/qftp/qftp.pro

index 2e86522..18d5e1b 100644 (file)
@@ -54,7 +54,7 @@
 #define QFTP_H
 
 #include <QtCore/qstring.h>
-#include <qurlinfo_p.h>
+#include <private/qurlinfo_p.h>
 #include <QtCore/qobject.h>
 
 QT_BEGIN_HEADER
index 1e98d3c..3139f19 100644 (file)
@@ -8,6 +8,7 @@ SUBDIRS=\
    qhttpnetworkconnection \
    qnetworkreply \
    qnetworkcachemetadata \
+   qftp \
    qhttpnetworkreply \
    qabstractnetworkcache \
 
index 5d7d534..917cd10 100644 (file)
@@ -2,7 +2,7 @@ CONFIG += testcase
 TARGET = tst_qftp
 SOURCES  += tst_qftp.cpp
 
-
+requires(contains(QT_CONFIG,private_tests))
 QT = core network network-private testlib
 
 wince*: {