From 724751cee2569b9a867786492de273ed00121c0a Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Tue, 10 Jan 2012 14:48:47 +1000 Subject: 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 --- tests/auto/particles/qquickage/qquickage.pro | 2 -- tests/auto/particles/qquickage/tst_qquickage.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/auto') 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 -- cgit v1.2.3