tests: mark some tests as using private API

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
This commit is contained in:
Rohan McGovern 2011-05-11 10:05:36 +10:00
parent 8e8e0b26b6
commit ed8c43b5ee
4 changed files with 20 additions and 1 deletions

View File

@ -112,3 +112,6 @@ symbian:SUBDIRS -= \
qtconcurrentrun \
qtconcurrentthreadengine \
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qfileinfo \

View 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 \

View 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 \

View File

@ -58,5 +58,7 @@ symbian {
# Following tests depends on private API
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qcombobox \
qcssparser \
qtextedit \