diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-11-02 13:44:06 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-02 06:45:49 +0100 |
commit | 62af8d46b2d1b0bb1ef79e5a119bd05e5a83aad6 (patch) | |
tree | 7ad9efea1190e53153e8042411252581216737c2 /tests/auto/particles/qquickimageparticle | |
parent | 1c394490f4efe6055426257a8dfcec4cdf3e12af (diff) |
Delete view at end of test
Change-Id: I290536bd975e7e6f6f65cf964604664faf7d3056
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/particles/qquickimageparticle')
-rw-r--r-- | tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp b/tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp index 45f7123985..27b386dcd5 100644 --- a/tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp +++ b/tests/auto/particles/qquickimageparticle/tst_qquickimageparticle.cpp @@ -105,6 +105,7 @@ void tst_qquickimageparticle::test_basic() QCOMPARE(d->frameCount, 1.0f); QCOMPARE(d->animT, -1.0f); } + delete view; } @@ -148,6 +149,7 @@ void tst_qquickimageparticle::test_colored() QCOMPARE(d->frameCount, 1.0f); QCOMPARE(d->animT, -1.0f); } + delete view; } @@ -191,6 +193,7 @@ void tst_qquickimageparticle::test_deformed() QCOMPARE(d->frameCount, 1.0f); QCOMPARE(d->animT, -1.0f); } + delete view; } @@ -235,6 +238,7 @@ void tst_qquickimageparticle::test_tabled() QCOMPARE(d->animT, -1.0f); //TODO: This performance level doesn't alter particleData, but goes straight to shaders. Find something to test } + delete view; } @@ -278,6 +282,7 @@ void tst_qquickimageparticle::test_sprite() QCOMPARE(d->animWidth, 31.0f); QCOMPARE(d->animHeight, 30.0f); } + delete view; } QTEST_MAIN(tst_qquickimageparticle); |