Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2012-05-11 00:54:26 +0400
committerFelix Geyer <debfx@fobos.de>2012-05-11 00:54:26 +0400
commit65bdc207b736239103dad13aa83bda735a172df0 (patch)
tree5eb6ac4c54bb5c7a5b995efcf8942a41388195b4 /tests/TestKeePass1Reader.cpp
parent366d8a0f0e1390eecfe3f16b8af1c89418d72821 (diff)
Make sure we don't create DeletedObjects when importing databases.
Diffstat (limited to 'tests/TestKeePass1Reader.cpp')
-rw-r--r--tests/TestKeePass1Reader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/TestKeePass1Reader.cpp b/tests/TestKeePass1Reader.cpp
index 587204131..def8c6e65 100644
--- a/tests/TestKeePass1Reader.cpp
+++ b/tests/TestKeePass1Reader.cpp
@@ -47,6 +47,8 @@ void TestKeePass1Reader::initTestCase()
void TestKeePass1Reader::testBasic()
{
+ QVERIFY(m_db->deletedObjects().isEmpty());
+
QCOMPARE(m_db->rootGroup()->children().size(), 2);
Group* group1 = m_db->rootGroup()->children().at(0);