diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-01-10 14:48:47 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-12 07:35:02 +0100 |
commit | 724751cee2569b9a867786492de273ed00121c0a (patch) | |
tree | 4446bdeb7054390e457a251bbba5510c78b5f1dd /tests/auto/particles | |
parent | 668fff3b0fc52e081dcab5fc4e76fdfc72f4a5f0 (diff) |
Fix QQuickAge test
With the consistent timing bug fixed (ages ago), test should be stable.
A problem leading to failures in sustained has also been fixed (assumed
that the particle group size would be approximately 500, but this is not
necessarily true).
Task-number: QTBUG-22088
Change-Id: Ifdb0f0e08266f9e44782c6b8fc8c56200c0a1d46
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/particles')
-rw-r--r-- | tests/auto/particles/qquickage/qquickage.pro | 2 | ||||
-rw-r--r-- | tests/auto/particles/qquickage/tst_qquickage.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/particles/qquickage/qquickage.pro b/tests/auto/particles/qquickage/qquickage.pro index e03e3d47d1..99c52dfdae 100644 --- a/tests/auto/particles/qquickage/qquickage.pro +++ b/tests/auto/particles/qquickage/qquickage.pro @@ -7,7 +7,5 @@ testDataFiles.files = data testDataFiles.path = . DEPLOYMENT += testDataFiles -CONFIG += insignificant_test - QT += core-private gui-private v8-private declarative-private quick-private opengl-private testlib diff --git a/tests/auto/particles/qquickage/tst_qquickage.cpp b/tests/auto/particles/qquickage/tst_qquickage.cpp index 017518d3c6..43350168a6 100644 --- a/tests/auto/particles/qquickage/tst_qquickage.cpp +++ b/tests/auto/particles/qquickage/tst_qquickage.cpp @@ -145,7 +145,7 @@ void tst_qquickage::test_sustained() ensureAnimTime(600, system->m_animation); //TODO: Ensure some particles have lived to 0.4s point despite unified timer - QVERIFY(extremelyFuzzyCompare(system->groupData[0]->size(), 500, 10)); + //Can't verify size, because particles never die. It will constantly grow. foreach (QQuickParticleData *d, system->groupData[0]->data) { if (d->t == -1) continue; //Particle data unused |