summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkcookiejar
diff options
context:
space:
mode:
authorAdrian Constantin <adrian.constantin@nokia.com>2011-01-10 10:27:35 (GMT)
committerAdrian Constantin <adrian.constantin@nokia.com>2011-01-10 14:34:51 (GMT)
commit7b49c37db01ca8f6308cead2b7209a7b480a5446 (patch)
treed8a0d682fa42771b199b2d99816ff15ce86f9644 /tests/auto/qnetworkcookiejar
parent2c0f568061b3377ee55ff423c70d67a6341615ba (diff)
downloadQt-7b49c37db01ca8f6308cead2b7209a7b480a5446.zip
Qt-7b49c37db01ca8f6308cead2b7209a7b480a5446.tar.gz
Qt-7b49c37db01ca8f6308cead2b7209a7b480a5446.tar.bz2
For non-developer builds, skip test that requires private API
Fix build break on harmattan. Reviewed-by: Lucian Varlan
Diffstat (limited to 'tests/auto/qnetworkcookiejar')
-rw-r--r--tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp b/tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp
index 6548158..0003eb6 100644
--- a/tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp
+++ b/tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp
@@ -433,6 +433,9 @@ void tst_QNetworkCookieJar::effectiveTLDs_data()
void tst_QNetworkCookieJar::effectiveTLDs()
{
+#ifndef QT_BUILD_INTERNAL
+ QSKIP("Test requires private API", SkipAll);
+#endif
QFETCH(QString, domain);
QFETCH(bool, isTLD);
QCOMPARE(QNetworkCookieJarPrivate::isEffectiveTLD(domain), isTLD);