summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/text/qfont
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-19 12:53:13 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-21 01:20:29 +0200
commit27f9f136f7e39b5d612bc02f7ff8778ab424c07d (patch)
tree3c72358e3d1e42fbf0c386365e76db259e180bd7 /tests/auto/gui/text/qfont
parent016cd01846539404a0eff1e3823fa2206fe2c9a9 (diff)
Remove SkipMode parameter from QSKIP calls.
The previous commit removed SkipMode from the testlib APi. This commit removes the parameter from all calls to QSKIP. Task-number: QTBUG-21851, QTBUG-21652 Change-Id: I21c0ee6731c1bc6ac6d962590d9b31d7459dfbc5 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/gui/text/qfont')
-rw-r--r--tests/auto/gui/text/qfont/tst_qfont.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/auto/gui/text/qfont/tst_qfont.cpp b/tests/auto/gui/text/qfont/tst_qfont.cpp
index d21c673b6d..3566342f00 100644
--- a/tests/auto/gui/text/qfont/tst_qfont.cpp
+++ b/tests/auto/gui/text/qfont/tst_qfont.cpp
@@ -167,8 +167,7 @@ void tst_QFont::exactMatch()
QVERIFY(QFont("monospace").exactMatch());
#endif
- QSKIP("This test is bogus on Unix with support for font aliases in fontconfig", SkipAll);
- return;
+ QSKIP("This test is bogus on Unix with support for font aliases in fontconfig");
QFontDatabase fdb;
@@ -538,9 +537,8 @@ void tst_QFont::setFontRaw()
if (str.toLower() == "fixed")
found = true;
}
- if (!found) {
- QSKIP("Fixed font not available.", SkipSingle);
- }
+ if (!found)
+ QSKIP("Fixed font not available.");
QCOMPARE(QFontInfo(f).family().left(5).toLower(), QString("fixed"));
}
#endif
@@ -654,7 +652,7 @@ void tst_QFont::defaultFamily()
QFontDatabase db;
if (!db.hasFamily(defaultFamily))
- QSKIP("Font family is not available on the system", SkipSingle);
+ QSKIP("Font family is not available on the system");
QFont f;
f.setStyleHint(styleHint);