Add -i/--include option to "generate" CLI command. (#7112)

This commit is contained in:
Patrick Klein 2021-12-08 05:40:09 +01:00 committed by GitHub
parent b3896f2600
commit a0a063b57f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 359 additions and 213 deletions

View file

@ -18,17 +18,31 @@
#ifndef KEEPASSXC_TESTPASSWORDGENERATOR_H
#define KEEPASSXC_TESTPASSWORDGENERATOR_H
#include "core/PasswordGenerator.h"
#include <QObject>
class TestPasswordGenerator : public QObject
{
Q_OBJECT
private:
PasswordGenerator m_generator;
private slots:
void initTestCase();
void testAdditionalChars();
void init();
void testCustomCharacterSet_data();
void testCustomCharacterSet();
void testCharClasses_data();
void testCharClasses();
void testLookalikeExclusion_data();
void testLookalikeExclusion();
void testMinLength_data();
void testMinLength();
void testValidity_data();
void testValidity();
void testReset();
};
#endif // KEEPASSXC_TESTPASSWORDGENERATOR_H