From 7b49c37db01ca8f6308cead2b7209a7b480a5446 Mon Sep 17 00:00:00 2001
From: Adrian Constantin <adrian.constantin@nokia.com>
Date: Mon, 10 Jan 2011 12:27:35 +0200
Subject: For non-developer builds, skip test that requires private API

Fix build break on harmattan.

Reviewed-by: Lucian Varlan
---
 tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp | 3 +++
 1 file changed, 3 insertions(+)

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);
-- 
cgit v0.12