summaryrefslogtreecommitdiff
path: root/tests/auto/qhttpnetworkconnection
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-05-06 17:34:58 +0100
committerShane Kearns <shane.kearns@accenture.com>2010-05-10 16:55:13 +0100
commit2df5a9567ff83a547c3c66e4b523844b78968108 (patch)
tree5af88ead0f623964c1c6d2f083842582c7779ac2 /tests/auto/qhttpnetworkconnection
parent4ad58161814a80409f790bf8269e147551adfee0 (diff)
downloadqt4-tools-2df5a9567ff83a547c3c66e4b523844b78968108.tar.gz
Run autotests with minimal capabilities
The autotests were previously run with ALL-Tcb capability which gives them more access to the filesystem etc. than a typical Qt application. To have more realistic testing environmnent, tests are run with no capabilities other than those required for the Qt APIs they use. i.e. NetworkServices for network tests, None for others. Reviewed-by: Liang Qi
Diffstat (limited to 'tests/auto/qhttpnetworkconnection')
-rw-r--r--tests/auto/qhttpnetworkconnection/qhttpnetworkconnection.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qhttpnetworkconnection/qhttpnetworkconnection.pro b/tests/auto/qhttpnetworkconnection/qhttpnetworkconnection.pro
index 0021bc1d28..d9e2dce0d3 100644
--- a/tests/auto/qhttpnetworkconnection/qhttpnetworkconnection.pro
+++ b/tests/auto/qhttpnetworkconnection/qhttpnetworkconnection.pro
@@ -4,3 +4,5 @@ INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib
requires(contains(QT_CONFIG,private_tests))
QT = core network
+
+symbian: TARGET.CAPABILITY = NetworkServices