Refactor Kdf class, remove fields concept

This commit is contained in:
Janek Bevendorff
2017-12-16 18:36:42 +01:00
committed by Jonathan White
parent d00ccd2eb5
commit 15648991fc
17 changed files with 282 additions and 474 deletions

View File

@@ -903,7 +903,7 @@ void TestGui::testDatabaseSettings()
QTest::keyClick(transformRoundsSpinBox, Qt::Key_Enter);
// wait for modified timer
QTRY_COMPARE(m_tabWidget->tabText(m_tabWidget->currentIndex()), QString("Save*"));
QCOMPARE(static_cast<AesKdf*>(m_db->kdf())->rounds(), Q_UINT64_C(100));
QCOMPARE(m_db->kdf()->rounds(), Q_UINT64_C(100));
triggerAction("actionDatabaseSave");
QCOMPARE(m_tabWidget->tabText(m_tabWidget->currentIndex()), QString("Save"));