summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-04-02 23:21:24 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-09 20:53:06 +0200
commitb490116f82901b26c1eb6d071ba5ea269afef657 (patch)
tree62d37dc908ebd95676270c3777ae495fc29fe624 /tests/auto
parent4af257eb3cfeef93adefda5f981742ffb58ba0ad (diff)
QNX: Fix QHeaderView autotest
Some margines and sizeHints are DPI dependent on QNX and BlackBerry. This patch skips two test that expect the section size to be of a certain pixel size. Change-Id: I7869f77fc2b623e091f53e420d1a4fdb3ec30724 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp b/tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp
index 3e6df0f136..869b335a95 100644
--- a/tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp
+++ b/tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp
@@ -621,6 +621,9 @@ void tst_QHeaderView::sectionSize_data()
void tst_QHeaderView::sectionSize()
{
+#if defined Q_OS_QNX
+ QSKIP("The section size is dpi dependent on QNX");
+#endif
QFETCH(QList<int>, boundsCheck);
QFETCH(QList<int>, defaultSizes);
QFETCH(int, initialDefaultSize);
@@ -734,6 +737,9 @@ void tst_QHeaderView::visualIndexAt_data()
void tst_QHeaderView::visualIndexAt()
{
+#if defined Q_OS_QNX
+ QSKIP("The section size is dpi dependent on QNX");
+#endif
QFETCH(QList<int>, hidden);
QFETCH(QList<int>, from);
QFETCH(QList<int>, to);