summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-12-04 02:59:31 +0100
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-12-07 10:45:03 +0100
commit1290b1328c5168db0b922dfd19ba88db3cc265cf (patch)
tree01f0662984699bff715e2e7bf1a447b694409ec3 /tests/auto
parent8a390046adddb8df3ddcf3a421f6f547e6cfe7aa (diff)
tests: make tests compile or disable those which don't compile
These changes are mostly a backport from qtbase and a fix to those tests that are dependent on private APIs. Change-Id: I6e647583d7aaddf525d719c3b61f59a0c9aedf74 Reviewed-by: Rohan McGovern Reviewed-by: Friedemann Kleint
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib.pro4
-rw-r--r--tests/auto/dbus.pro2
-rw-r--r--tests/auto/gui.pro25
-rw-r--r--tests/auto/network.pro6
-rw-r--r--tests/auto/other.pro2
-rw-r--r--tests/auto/qtipc/qsharedmemory/qsharedmemory.pro4
-rw-r--r--tests/auto/qtipc/qtipc.pro4
-rw-r--r--tests/auto/script.pro2
-rw-r--r--tests/auto/xmlpatterns.pro1
9 files changed, 44 insertions, 6 deletions
diff --git a/tests/auto/corelib.pro b/tests/auto/corelib.pro
index 6810f766c4..cb1f2efad7 100644
--- a/tests/auto/corelib.pro
+++ b/tests/auto/corelib.pro
@@ -105,6 +105,10 @@ SUBDIRS=\
qfilesystementry \
qabstractfileengine
+!contains(QT_CONFIG, private_tests): SUBDIRS -= \
+ qfileinfo \
+ qfilesystementry \
+
symbian:SUBDIRS -= \
qtconcurrentfilter \
qtconcurrentiteratekernel \
diff --git a/tests/auto/dbus.pro b/tests/auto/dbus.pro
index 31b46a31f2..7470bf8b14 100644
--- a/tests/auto/dbus.pro
+++ b/tests/auto/dbus.pro
@@ -17,3 +17,5 @@ SUBDIRS=\
qdbusthreading \
qdbusxmlparser \
+!contains(QT_CONFIG, private_tests): SUBDIRS -= \
+ qdbusmarshall \
diff --git a/tests/auto/gui.pro b/tests/auto/gui.pro
index 17f56f2186..cde39c2011 100644
--- a/tests/auto/gui.pro
+++ b/tests/auto/gui.pro
@@ -209,11 +209,26 @@ SUBDIRS=\
win32:SUBDIRS -= qtextpiecetable
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
- qgraphicssceneindex \
- qnetworkreply \
- qpathclipper \
- qstylesheetstyle \
- qtextpiecetable \
+ qcolumnview \
+ qgraphicsanchorlayout \
+ qgraphicsanchorlayout1 \
+ qgraphicsitem \
+ qgraphicsscene \
+ qgraphicssceneindex \
+ qlistwidget \
+ qmainwindow \
+ qnetworkreply \
+ qpathclipper \
+ qpixmapcache \
+ qsidebar \
+ qstatictext \
+ qstylesheetstyle \
+ qtcpsocket \
+ qtextlayout \
+ qtextpiecetable \
+ qtipc \
+ qtoolbar \
+ qtreeview \
symbian:SUBDIRS -= \
qsystemtrayicon \
diff --git a/tests/auto/network.pro b/tests/auto/network.pro
index e4cecce450..9eb358fe84 100644
--- a/tests/auto/network.pro
+++ b/tests/auto/network.pro
@@ -46,9 +46,15 @@ SUBDIRS=\
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qauthenticator \
+ qhostinfo \
qhttpnetworkconnection \
qhttpnetworkreply \
+ qhttpsocketengine \
+ qnetworkreply \
platformsocketengine \
qsocketnotifier \
qsocks5socketengine \
+ qsslsocket \
+ qsslsocket_onDemandCertificates_member \
+ qsslsocket_onDemandCertificates_static \
diff --git a/tests/auto/other.pro b/tests/auto/other.pro
index 655d666d9d..b50e1697b3 100644
--- a/tests/auto/other.pro
+++ b/tests/auto/other.pro
@@ -60,5 +60,7 @@ symbian {
# Following tests depends on private API
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
+ qcombobox \
qcssparser \
+ qtextedit \
diff --git a/tests/auto/qtipc/qsharedmemory/qsharedmemory.pro b/tests/auto/qtipc/qsharedmemory/qsharedmemory.pro
index 9fef8e4112..3193caa8be 100644
--- a/tests/auto/qtipc/qsharedmemory/qsharedmemory.pro
+++ b/tests/auto/qtipc/qsharedmemory/qsharedmemory.pro
@@ -1,4 +1,6 @@
TEMPLATE = subdirs
SUBDIRS = test qsystemlock
-
+!contains(QT_CONFIG, private_tests): SUBDIRS -= \
+ test \
+ qsystemlock \
diff --git a/tests/auto/qtipc/qtipc.pro b/tests/auto/qtipc/qtipc.pro
index 60037d28d2..fb32e51192 100644
--- a/tests/auto/qtipc/qtipc.pro
+++ b/tests/auto/qtipc/qtipc.pro
@@ -4,3 +4,7 @@ SUBDIRS=\
qsharedmemory \
qsystemsemaphore \
+!contains(QT_CONFIG, private_tests): SUBDIRS -= \
+ lackey \
+ qsharedmemory \
+ qsystemsemaphore \
diff --git a/tests/auto/script.pro b/tests/auto/script.pro
index c4d05440c6..80d259d529 100644
--- a/tests/auto/script.pro
+++ b/tests/auto/script.pro
@@ -16,3 +16,5 @@ SUBDIRS=\
qscriptvaluegenerated \
qscriptvalueiterator \
+!contains(QT_CONFIG, private_tests): SUBDIRS -= \
+ qscriptcontext \
diff --git a/tests/auto/xmlpatterns.pro b/tests/auto/xmlpatterns.pro
index b9244d62a7..4940cc4930 100644
--- a/tests/auto/xmlpatterns.pro
+++ b/tests/auto/xmlpatterns.pro
@@ -46,4 +46,5 @@ xmlpatternsxqts.depends = xmlpatternssdk
xmlpatternssdk \
xmlpatternsxqts \
xmlpatternsxslts \
+ xmlpatternsschemats \