diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-09-28 08:00:46 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-09-28 08:00:46 (GMT) |
commit | 632462a8d4148c8fad312a08c274d6dc05950d8d (patch) | |
tree | 0730b5c51700a4bddd5325984155f413a071338b /tests | |
parent | 60bc4d037a6b4b667f08f1d36e868b454723909f (diff) | |
download | Qt-632462a8d4148c8fad312a08c274d6dc05950d8d.zip Qt-632462a8d4148c8fad312a08c274d6dc05950d8d.tar.gz Qt-632462a8d4148c8fad312a08c274d6dc05950d8d.tar.bz2 |
Enabled WINCE workaround for S60 in QEasingCurve::valueForProgress test.
See: 82275b4c03a0. This workaround applies also for Symbian.
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qeasingcurve/tst_qeasingcurve.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qeasingcurve/tst_qeasingcurve.cpp b/tests/auto/qeasingcurve/tst_qeasingcurve.cpp index 52ffcb5..8cf686e 100644 --- a/tests/auto/qeasingcurve/tst_qeasingcurve.cpp +++ b/tests/auto/qeasingcurve/tst_qeasingcurve.cpp @@ -418,7 +418,7 @@ void tst_QEasingCurve::valueForProgress() // the least significant digit it is still subject to rounding errors qreal error = easeConv - ex; qreal errorbound = 0.00001; -#ifdef Q_OS_WINCE +#if defined( Q_OS_WINCE ) || defined( Q_OS_SYMBIAN ) // exception values for WINCE(this test should be rewritten, as it only freezes the status quo of QEasingCurve // The failing (2) values are explicitly excepted here: // The source values for the comparison table should remain untruncated double and the @@ -427,7 +427,7 @@ void tst_QEasingCurve::valueForProgress() if ((type == int(QEasingCurve::InOutBounce) && (i == 8 || i == 6) ) || (type == int(QEasingCurve::OutExpo) && i == 2)) errorbound = 0.0002; #endif - // accept the potential rounding error in the least significant digit + // accept the potential rounding error in the least significant digit QVERIFY(error <= errorbound ); } #endif |