diff options
author | Jonathan White <support@dmapps.us> | 2019-03-24 15:51:40 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-03-24 16:23:26 +0300 |
commit | 13a9ac8f576539aace93a2d5faa2c4d35474f95e (patch) | |
tree | 9b464ba874471b73a6c79e58addd3906100218ef /tests/TestCli.h | |
parent | a58e3d5ee0113019adea182830b2fcc9e5387184 (diff) |
Adding --no-password option to CLI
I also added tests for the --key-file option, which was
untested.
Diffstat (limited to 'tests/TestCli.h')
-rw-r--r-- | tests/TestCli.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/TestCli.h b/tests/TestCli.h index f3655e6cd..cd8ebacfb 100644 --- a/tests/TestCli.h +++ b/tests/TestCli.h @@ -51,6 +51,8 @@ private slots: void testExtract(); void testGenerate_data(); void testGenerate(); + void testKeyFileOption(); + void testNoPasswordOption(); void testList(); void testLocate(); void testMerge(); @@ -61,8 +63,12 @@ private slots: private: QByteArray m_dbData; QByteArray m_dbData2; + QByteArray m_keyFileProtectedDbData; + QByteArray m_keyFileProtectedNoPasswordDbData; QScopedPointer<TemporaryFile> m_dbFile; QScopedPointer<TemporaryFile> m_dbFile2; + QScopedPointer<TemporaryFile> m_keyFileProtectedDbFile; + QScopedPointer<TemporaryFile> m_keyFileProtectedNoPasswordDbFile; QScopedPointer<TemporaryFile> m_stdoutFile; QScopedPointer<TemporaryFile> m_stderrFile; QScopedPointer<TemporaryFile> m_stdinFile; |