summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-11-05 05:05:31 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-11-05 05:05:31 (GMT)
commitb3005a52a7a2c90721886e48c792a97ddc8e564d (patch)
tree6c9e74cf8b60e670255905c4e0b8a32c67393302 /tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp
parentb8e788865cae90122e51ad1a2649d0891370fb3d (diff)
parente4e3b8f336b6c7d0dd52d4b8af96fee1dc628783 (diff)
downloadQt-b3005a52a7a2c90721886e48c792a97ddc8e564d.zip
Qt-b3005a52a7a2c90721886e48c792a97ddc8e564d.tar.gz
Qt-b3005a52a7a2c90721886e48c792a97ddc8e564d.tar.bz2
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp')
-rw-r--r--tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp b/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp
index e50437a..ed68eaf 100644
--- a/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp
+++ b/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp
@@ -91,8 +91,11 @@ void tst_QmlGraphicsParticles::properties()
particles->setVelocityDeviation(100.0);
QCOMPARE(particles->velocityDeviation(), 100.0);
- particles->setEmitting(false);
- QCOMPARE(particles->emitting(), false);
+ particles->setEmissionVariance(0.5);
+ QCOMPARE(particles->emissionVariance(),0.5);
+
+ particles->setEmissionRate(12);
+ QCOMPARE(particles->emissionRate(), 12);
}
void tst_QmlGraphicsParticles::runs()