Qt: Add check for pubkeyAlgo in t-keylist
* lang/qt/tests/t-keylist.cpp (testSingleKeyListSync): Check pubkeyAlgo.
This commit is contained in:
parent
c28007d040
commit
9f93346d21
@ -58,6 +58,10 @@ private Q_SLOTS:
|
||||
Q_ASSERT (keys.size() == 1);
|
||||
const QString kId = QLatin1String(keys.front().keyID());
|
||||
Q_ASSERT (kId == QStringLiteral("2D727CC768697734"));
|
||||
|
||||
Q_ASSERT (keys[0].subkeys().size() == 2);
|
||||
Q_ASSERT (keys[0].subkeys()[0].publicKeyAlgorithm() == Subkey::AlgoDSA);
|
||||
Q_ASSERT (keys[0].subkeys()[1].publicKeyAlgorithm() == Subkey::AlgoELG_E);
|
||||
}
|
||||
|
||||
void testKeyListAsync()
|
||||
|
Loading…
Reference in New Issue
Block a user