diff options
author | James Ring <sjr@jdns.org> | 2019-09-03 15:50:44 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-09-22 18:19:57 +0300 |
commit | 547c246e8872d90daf2b09de58a4913bb5d66a7e (patch) | |
tree | c427ff0c9d2cbf940035f80eb75af2350d57f40b /tests/TestCli.h | |
parent | 344198bc2a3ac25b869b6c60cdec212c0fbef66b (diff) |
Additional database file checks in cli/Utils.unlockDatabase
Avoids prompting the user for a password if unlocking is likely to fail
due to some problem with the database file (i.e. not found, not a file,
not readable).
Add unit tests.
Diffstat (limited to 'tests/TestCli.h')
-rw-r--r-- | tests/TestCli.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/TestCli.h b/tests/TestCli.h index c012fc807..a313fe224 100644 --- a/tests/TestCli.h +++ b/tests/TestCli.h @@ -63,6 +63,7 @@ private slots: void testRemove(); void testRemoveQuiet(); void testShow(); + void testInvalidDbFiles(); private: QByteArray m_dbData; |