From bf8d74bb8e849cb9eea74ef8fdb82d8926c48880 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Wed, 7 Oct 2009 16:16:15 +0200 Subject: Fix tst_QTextLayout::testTabDPIScale Symbian has a different default font size than other OSses. Consider that fact in tst_QTextLayout::testTabDPIScale Reviewed-By: Liang QI --- tests/auto/qtextlayout/tst_qtextlayout.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/auto/qtextlayout/tst_qtextlayout.cpp b/tests/auto/qtextlayout/tst_qtextlayout.cpp index 5ccae94..f63742a 100644 --- a/tests/auto/qtextlayout/tst_qtextlayout.cpp +++ b/tests/auto/qtextlayout/tst_qtextlayout.cpp @@ -55,7 +55,12 @@ #include +// Same font point size values as in QFont::QFont(..) +#ifdef Q_OS_SYMBIAN +#define TESTFONT_SIZE 7 +#else #define TESTFONT_SIZE 12 +#endif //TESTED_CLASS= //TESTED_FILES= -- cgit v0.12