Stabilize Particles tests
authorAlan Alpert <alan.alpert@nokia.com>
Mon, 10 Oct 2011 08:02:17 +0000 (18:02 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Oct 2011 04:42:53 +0000 (06:42 +0200)
commitef85e164c6f5039744d74cfcd54e589461ea012e
treea8ea2f4d4a59085e80d15548559d75027a9e5415
parent991c3ec5a3eb2ef2a0a8e52d066995d5470f7447
Stabilize Particles tests

One potential problem is that in certain circumstances the recycling
data list is so efficient that it doesn't need to use all particle data
in the list. In those cases, the uninitialized members were causing test
failures but these slight differences are acceptable for the simulation.

The ParticleSystem test is extended to check that it's only small edge
cases.

Change-Id: I5e2f133dc4b96dd05d49e7e983ae630e379fa66a
Reviewed-on: http://codereview.qt-project.org/6312
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
21 files changed:
tests/auto/particles/qsgage/tst_qsgage.cpp
tests/auto/particles/qsgangleddirection/tst_qsgangleddirection.cpp
tests/auto/particles/qsgcumulativedirection/tst_qsgcumulativedirection.cpp
tests/auto/particles/qsgcustomaffector/tst_qsgcustomaffector.cpp
tests/auto/particles/qsgcustomparticle/tst_qsgcustomparticle.cpp
tests/auto/particles/qsgellipseextruder/tst_qsgellipseextruder.cpp
tests/auto/particles/qsgfriction/tst_qsgfriction.cpp
tests/auto/particles/qsggravity/tst_qsggravity.cpp
tests/auto/particles/qsgimageparticle/tst_qsgimageparticle.cpp
tests/auto/particles/qsgitemparticle/tst_qsgitemparticle.cpp
tests/auto/particles/qsglineextruder/tst_qsglineextruder.cpp
tests/auto/particles/qsgmaskextruder/tst_qsgmaskextruder.cpp
tests/auto/particles/qsgparticlegroup/tst_qsgparticlegroup.cpp
tests/auto/particles/qsgparticlesystem/tst_qsgparticlesystem.cpp
tests/auto/particles/qsgpointattractor/tst_qsgpointattractor.cpp
tests/auto/particles/qsgpointdirection/tst_qsgpointdirection.cpp
tests/auto/particles/qsgrectangleextruder/tst_qsgrectangleextruder.cpp
tests/auto/particles/qsgtargetdirection/tst_qsgtargetdirection.cpp
tests/auto/particles/qsgtrailemitter/tst_qsgtrailemitter.cpp
tests/auto/particles/qsgturbulence/tst_qsgturbulence.cpp
tests/auto/particles/qsgwander/tst_qsgwander.cpp