mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 20:47:37 +03:00
Coding style fixes.
This commit is contained in:
parent
c8ad27975a
commit
72defa375d
3 changed files with 5 additions and 2 deletions
|
@ -92,6 +92,8 @@ void TestDeletedObjects::testDeletedObjectsFromFile()
|
|||
Database* db = reader->readDatabase(xmlFile);
|
||||
|
||||
createAndDelete(db, 2);
|
||||
|
||||
delete db;
|
||||
}
|
||||
|
||||
void TestDeletedObjects::testDeletedObjectsFromNewDb()
|
||||
|
@ -99,6 +101,8 @@ void TestDeletedObjects::testDeletedObjectsFromNewDb()
|
|||
Database* db = new Database();
|
||||
|
||||
createAndDelete(db, 0);
|
||||
|
||||
delete db;
|
||||
}
|
||||
|
||||
KEEPASSX_QTEST_CORE_MAIN(TestDeletedObjects)
|
||||
|
|
|
@ -33,7 +33,6 @@ private Q_SLOTS:
|
|||
void initTestCase();
|
||||
void testDeletedObjectsFromFile();
|
||||
void testDeletedObjectsFromNewDb();
|
||||
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_TESTDELETEDOBJECTS_H
|
||||
|
|
|
@ -188,7 +188,7 @@ void TestGroup::testDeleteSignals()
|
|||
delete group2;
|
||||
QCOMPARE(spyEntryAboutToRemove2.count(), 0);
|
||||
QCOMPARE(spyEntryRemoved2.count(), 0);
|
||||
|
||||
delete db2;
|
||||
}
|
||||
|
||||
KEEPASSX_QTEST_CORE_MAIN(TestGroup)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue