diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-09-15 12:57:56 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-17 09:14:05 +0200 |
commit | f0b922a3af47e984e4a5935e65c4243966d8dc9d (patch) | |
tree | 160d48637a2b4ca35a76fa3d9bbb44dbb8dd9e16 /tests/auto/widgets/widgets/qtabbar | |
parent | 9495309622620d3e029671226d37d311dcb9e28a (diff) |
test: Mark tst_QTabBar::sizeHints() failure as XFAIL
The test has one stable failure on Mac OS X, so mark this
with QEXPECT_FAIL and remove the QSKIP
Task-number: QTBUG-22320
Task-number: QTBUG-27230
Change-Id: I7660df5770c39788792068a5b68e8236551288c4
Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
Reviewed-by: Caroline Chao <caroline.chao@nokia.com>
Diffstat (limited to 'tests/auto/widgets/widgets/qtabbar')
-rw-r--r-- | tests/auto/widgets/widgets/qtabbar/tst_qtabbar.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets/qtabbar/tst_qtabbar.cpp b/tests/auto/widgets/widgets/qtabbar/tst_qtabbar.cpp index 50536c84fb..e7210bbafe 100644 --- a/tests/auto/widgets/widgets/qtabbar/tst_qtabbar.cpp +++ b/tests/auto/widgets/widgets/qtabbar/tst_qtabbar.cpp @@ -283,7 +283,6 @@ void tst_QTabBar::setElideMode() void tst_QTabBar::sizeHints() { QTabBar tabBar; - QSKIP("To be fixed on Mac (font size below not large enough) and Linux QWS (probably too large for the screen)."); tabBar.setFont(QFont("Arial", 10)); tabBar.addTab("tab 01"); tabBar.addTab("tab 02"); @@ -299,6 +298,9 @@ void tst_QTabBar::sizeHints() tabBar.setUsesScrollButtons(false); tabBar.setElideMode(Qt::ElideNone); // qDebug() << tabBar.minimumSizeHint() << tabBar.sizeHint(); +#ifdef Q_OS_MAC + QEXPECT_FAIL("", "QTBUG-27230", Abort); +#endif QVERIFY(tabBar.minimumSizeHint().width() > 700); QVERIFY(tabBar.sizeHint().width() > 700); |