Test more of QQuickImageParticle
authorAlan Alpert <alan.alpert@nokia.com>
Mon, 16 Jan 2012 03:01:19 +0000 (13:01 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 16 Jan 2012 10:24:28 +0000 (11:24 +0100)
commit5290b04325aa66f3f2934c9f143eee71d98a3249
tree192b45d6fce25d1fb9478252fb7e20f2d7a3667a
parent5f730bc3ae4cf18c46e513bf1db055b2d9255fdc
Test more of QQuickImageParticle

Now the color variance properties are tested, as is the debug code.
Just running the debugging code is valid testing, as it contains
pointer derefernces that could cause runtime errors, and this codepath
is not always enabled at runtime.

Additionally, debug mode control has been consolidated in the
ParticleSystem. However, this was not necessary for this test addition.

Change-Id: Ie56465145461486456462154dfafe546fedabcba
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/particles/qquickimageparticle.cpp
src/quick/particles/qquickparticlesystem_p.h
tests/auto/particles/qquickimageparticle/data/colorVariance.qml [new file with mode: 0644]
tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp