Clean up objects in the tests.

This commit is contained in:
Felix Geyer committed 2011-06-29 18:40:26 +02:00
1 parent 5cb906c235
commit a104e859cf
4 files changed
+37 -9

No files matched your search

+4 -1
View File
@@ -45,7 +45,7 @@ void TestEntryModel::test()
EntryModel* model = new EntryModel(this);
new ModelTest(model, this);
ModelTest* modelTest = new ModelTest(model, this);
model->setGroup(group1);
@@ -87,6 +87,9 @@ void TestEntryModel::test()
delete group1;
delete group2;
delete modelTest;
delete model;
}
QTEST_MAIN(TestEntryModel);