diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-11-09 02:38:46 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-11-09 02:38:46 (GMT) |
commit | 9639e8f872feea7592aee5967447623ce04ff96c (patch) | |
tree | 0b939129dee832db512af3ef4d94164ec26d5702 /tests/auto/declarative/qmlgraphicsparticles | |
parent | 3670d62033758b12b4857c3988d94cbd96fa323b (diff) | |
download | Qt-9639e8f872feea7592aee5967447623ce04ff96c.zip Qt-9639e8f872feea7592aee5967447623ce04ff96c.tar.gz Qt-9639e8f872feea7592aee5967447623ce04ff96c.tar.bz2 |
Improve particles tests
Code coverage data suggests some areas are inadequately tested.
Diffstat (limited to 'tests/auto/declarative/qmlgraphicsparticles')
-rw-r--r-- | tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp b/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp index ed68eaf..c8d181b 100644 --- a/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp +++ b/tests/auto/declarative/qmlgraphicsparticles/tst_qmlgraphicsparticles.cpp @@ -96,6 +96,9 @@ void tst_QmlGraphicsParticles::properties() particles->setEmissionRate(12); QCOMPARE(particles->emissionRate(), 12); + + particles->setEmitting(false); + QCOMPARE(particles->emitting(), false); } void tst_QmlGraphicsParticles::runs() |