Commit 2f216aae authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Remove obsolete test helpers

GnuPG-bug-id: 5283
parent 608375f3
......@@ -433,33 +433,6 @@ private Q_SLOTS:
QCOMPARE(encryptionKeyWidgets.visible.size(), 5);
QCOMPARE(encryptionKeyWidgets.hidden.size(), 0);
}
private:
QMap<QString, std::vector<GpgME::Key> > resolved_senders_openpgp_and_smime()
{
return {
{QStringLiteral("sender@example.net"), {
createTestKey("sender@example.net", GpgME::OpenPGP),
createTestKey("sender@example.net", GpgME::CMS)
}}
};
}
QMap<QString, std::vector<GpgME::Key> > resolved_recipients_openpgp_and_smime()
{
return {
{QStringLiteral("prefer-openpgp@example.net"), {
createTestKey("Full Trust <prefer-openpgp@example.net>", GpgME::OpenPGP)
}},
{QStringLiteral("prefer-smime@example.net"), {
createTestKey("Trusted S/MIME <prefer-smime@example.net>", GpgME::CMS)
}},
{QStringLiteral("sender@example.net"), {
createTestKey("sender@example.net", GpgME::OpenPGP),
createTestKey("sender@example.net", GpgME::CMS)
}}
};
}
};
QTEST_MAIN(NewKeyApprovalDialogTest)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment