diff options
author | Adrian Constantin <adrian.constantin@nokia.com> | 2011-01-10 12:27:35 +0200 |
---|---|---|
committer | Adrian Constantin <adrian.constantin@nokia.com> | 2011-01-10 16:34:51 +0200 |
commit | 7b49c37db01ca8f6308cead2b7209a7b480a5446 (patch) | |
tree | d8a0d682fa42771b199b2d99816ff15ce86f9644 /tests/auto | |
parent | 2c0f568061b3377ee55ff423c70d67a6341615ba (diff) | |
download | qt4-tools-7b49c37db01ca8f6308cead2b7209a7b480a5446.tar.gz |
For non-developer builds, skip test that requires private API
Fix build break on harmattan.
Reviewed-by: Lucian Varlan
Diffstat (limited to 'tests/auto')
-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 6548158bc0..0003eb6388 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); |