diff options
author | shaneknysh <shane.knysh@gmail.com> | 2019-05-25 01:23:19 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-05-25 01:23:19 +0300 |
commit | 7ead8e72906a5070976a5086b1214772d6925533 (patch) | |
tree | 54a907e8e3361e0d0bbe11f6fc23e0be6fd72804 /tests/TestPassphraseGenerator.h | |
parent | 2ee97ed1912fd068cd3484c439f2582a5d829ef4 (diff) |
Add word case option to passphrase generator (#3172)
* Closes #1933
* Adds word case options for lower, UPPER, and Title Case to passphrase generation
Diffstat (limited to 'tests/TestPassphraseGenerator.h')
-rw-r--r-- | tests/TestPassphraseGenerator.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/TestPassphraseGenerator.h b/tests/TestPassphraseGenerator.h new file mode 100644 index 000000000..ca0fd0664 --- /dev/null +++ b/tests/TestPassphraseGenerator.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2019 KeePassXC Team <team@keepassxc.org> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 or (at your option) + * version 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef KEEPASSXC_TESTPASSPHRASEGENERATOR_H +#define KEEPASSXC_TESTPASSPHRASEGENERATOR_H + +#include <QObject> + +class TestPassphraseGenerator : public QObject +{ + Q_OBJECT + +private slots: + void initTestCase(); + void testWordCase(); +}; + +#endif // KEEPASSXC_TESTPASSPHRASEGENERATOR_H |