Avoid redundant KDBX4 test runs

This commit is contained in:
Janek Bevendorff
2021-11-13 18:46:05 +01:00
parent c872e406ed
commit c94efe6b5c
4 changed files with 99 additions and 27 deletions

View File

@@ -24,14 +24,6 @@ class TestKdbx4Argon2 : public TestKeePass2Format
{
Q_OBJECT
private slots:
void testFormat400();
void testFormat400Upgrade();
void testFormat400Upgrade_data();
void testUpgradeMasterKeyIntegrity();
void testUpgradeMasterKeyIntegrity_data();
void testCustomData();
protected:
void initTestCaseImpl() override;
@@ -61,4 +53,21 @@ protected:
void initTestCaseImpl() override;
};
/**
* KDF-independent KDBX4 format tests.
*/
class TestKdbx4Format : public QObject
{
Q_OBJECT
private slots:
void testFormat400();
void testFormat400Upgrade();
void testFormat400Upgrade_data();
void testFormat410Upgrade();
void testUpgradeMasterKeyIntegrity();
void testUpgradeMasterKeyIntegrity_data();
void testCustomData();
};
#endif // KEEPASSXC_TEST_KDBX4_H