tests: mark some tests as using private API
authorRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 11 May 2011 00:05:36 +0000 (10:05 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 11 May 2011 01:51:46 +0000 (11:51 +1000)
These autotests are all using private symbols, available only when Qt is
configured with -developer-build.  So, gracefully disable them when
the private symbols are not available.

Reviewed-by: Jason McDonald
Change-Id: Iafd1c7af486feeee810110bc021e75984827f78a

tests/auto/corelib.pro
tests/auto/gui.pro
tests/auto/network.pro
tests/auto/other.pro

index 6810f76..95a16f6 100644 (file)
@@ -112,3 +112,6 @@ symbian:SUBDIRS -= \
    qtconcurrentrun \
    qtconcurrentthreadengine \
 
+!contains(QT_CONFIG, private_tests): SUBDIRS -= \
+    qfileinfo \
+
index 6de8ab9..b7d4ad3 100644 (file)
@@ -209,11 +209,23 @@ SUBDIRS=\
 win32:SUBDIRS -= qtextpiecetable
 
 !contains(QT_CONFIG, private_tests): SUBDIRS -= \
+           qcolumnview \
+           qgraphicsanchorlayout \
+           qgraphicsanchorlayout1 \
+           qgraphicsitem \
+           qgraphicsscene \
            qgraphicssceneindex \
+           qlistwidget \
+           qmainwindow \
            qnetworkreply \
            qpathclipper \
+           qpixmapcache \
+           qsidebar \
            qstylesheetstyle \
+           qtextlayout \
            qtextpiecetable \
+           qtipc \
+           qtoolbar \
 
 symbian:SUBDIRS -= \
     qsystemtrayicon \
index e4cecce..7f9ef3c 100644 (file)
@@ -45,10 +45,12 @@ SUBDIRS=\
 #    qnetworkproxyfactory \ # Uses a hardcoded proxy configuration
 
 !contains(QT_CONFIG, private_tests): SUBDIRS -= \
+    platformsocketengine \
     qauthenticator \
+    qhostinfo \
     qhttpnetworkconnection \
     qhttpnetworkreply \
-    platformsocketengine \
+    qhttpsocketengine \
     qsocketnotifier \
     qsocks5socketengine \
 
index 8819879..7da2505 100644 (file)
@@ -58,5 +58,7 @@ symbian {
 
 # Following tests depends on private API
 !contains(QT_CONFIG, private_tests): SUBDIRS -= \
+           qcombobox \
            qcssparser \
+           qtextedit \