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:
authorJonathan White <support@dmapps.us>2019-03-24 15:51:40 +0300
committerJonathan White <support@dmapps.us>2019-03-24 16:23:26 +0300
commit13a9ac8f576539aace93a2d5faa2c4d35474f95e (patch)
tree9b464ba874471b73a6c79e58addd3906100218ef /tests/TestCli.h
parenta58e3d5ee0113019adea182830b2fcc9e5387184 (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.h6
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;