diff options
Diffstat (limited to 'tests/auto/qfontdatabase/tst_qfontdatabase.cpp')
-rw-r--r-- | tests/auto/qfontdatabase/tst_qfontdatabase.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/auto/qfontdatabase/tst_qfontdatabase.cpp b/tests/auto/qfontdatabase/tst_qfontdatabase.cpp index 9c42b49..a006462 100644 --- a/tests/auto/qfontdatabase/tst_qfontdatabase.cpp +++ b/tests/auto/qfontdatabase/tst_qfontdatabase.cpp @@ -45,9 +45,9 @@ #include <qfontdatabase.h> - - - +#ifdef Q_OS_SYMBIAN +#define SRCDIR "." +#endif //TESTED_CLASS= //TESTED_FILES= @@ -191,6 +191,9 @@ void tst_QFontDatabase::addAppFont_data() void tst_QFontDatabase::addAppFont() { +#ifdef Q_OS_SYMBIAN + QSKIP( "Symbian: Application fonts are not yet supported", SkipAll ); +#else QFETCH(bool, useMemoryFont); QSignalSpy fontDbChangedSpy(QApplication::instance(), SIGNAL(fontDatabaseChanged())); @@ -239,7 +242,8 @@ void tst_QFontDatabase::addAppFont() QVERIFY(QFontDatabase::removeApplicationFont(id)); QCOMPARE(fontDbChangedSpy.count(), 2); - QVERIFY(db.families() == oldFamilies); + QVERIFY(db.families() == oldFamilies);¨ +#endif } QTEST_MAIN(tst_QFontDatabase) |