Home GnuPG

cpp,tests: Verify that requested keylist mode is used

Description

cpp,tests: Verify that requested keylist mode is used

* lang/cpp/tests/run-getkey.cpp, lang/cpp/tests/run-keylist.cpp (main):
Check used keylist mode.

Since Context::setKeyListMode() does not return the error returned by
gpgme, we need to verify explicitly that the keylist mode was set
successfully.

Details

Provenance
ikloeckerAuthored on Apr 28 2022, 10:33 AM
Parents
rGPGMEPP8d4dcb96ccc9: cpp: Support new keylist modes
Branches
Unknown
Tags
Unknown
Tasks
T5951: gpgme: Add support for refreshing OpenPGP keys