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
path: root/tests
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2020-03-04 17:37:13 +0300
committerJonathan White <support@dmapps.us>2020-03-08 00:52:24 +0300
commit91c6e436b3622015d5b7c27b6b5230bb1f285df7 (patch)
tree3a0239f991e871d0ecd42b1b3f70664b434ddde2 /tests
parent7ac292e09b31ecf56969755c2ddc70d0a64e9d69 (diff)
Dynamically determine database validity
* Check that the database composite key exists, has sub-keys associated with it, and the root group exists.
Diffstat (limited to 'tests')
-rw-r--r--tests/TestKeePass1Reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestKeePass1Reader.cpp b/tests/TestKeePass1Reader.cpp
index 078447acb..30f744e28 100644
--- a/tests/TestKeePass1Reader.cpp
+++ b/tests/TestKeePass1Reader.cpp
@@ -106,7 +106,7 @@ void TestKeePass1Reader::testBasic()
void TestKeePass1Reader::testMasterKey()
{
- QVERIFY(m_db->hasKey());
+ QVERIFY(m_db->isInitialized());
QCOMPARE(m_db->kdf()->rounds(), 713);
}