summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfontdatabase/tst_qfontdatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qfontdatabase/tst_qfontdatabase.cpp')
-rw-r--r--tests/auto/qfontdatabase/tst_qfontdatabase.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/auto/qfontdatabase/tst_qfontdatabase.cpp b/tests/auto/qfontdatabase/tst_qfontdatabase.cpp
index 52c01c2..c1c8c22 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()));
@@ -240,6 +243,7 @@ void tst_QFontDatabase::addAppFont()
QCOMPARE(fontDbChangedSpy.count(), 2);
QVERIFY(db.families() == oldFamilies);
+#endif
}
QTEST_MAIN(tst_QFontDatabase)