summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicsparticles
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-11-09 02:38:46 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-11-09 02:38:46 (GMT)
commit9639e8f872feea7592aee5967447623ce04ff96c (patch)
tree0b939129dee832db512af3ef4d94164ec26d5702 /tests/auto/declarative/qmlgraphicsparticles
parent3670d62033758b12b4857c3988d94cbd96fa323b (diff)
downloadQt-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.cpp3
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()