diff options
author | Adrian Constantin <adrian.constantin@nokia.com> | 2011-01-10 10:27:35 (GMT) |
---|---|---|
committer | Adrian Constantin <adrian.constantin@nokia.com> | 2011-01-10 14:34:51 (GMT) |
commit | 7b49c37db01ca8f6308cead2b7209a7b480a5446 (patch) | |
tree | d8a0d682fa42771b199b2d99816ff15ce86f9644 | |
parent | 2c0f568061b3377ee55ff423c70d67a6341615ba (diff) | |
download | Qt-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
-rw-r--r-- | tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp | 3 |
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); |