Home GnuPG
Diffusion GPGME 359906c8bcde

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
rMdea872f21ff7: cpp: Support new keylist modes
Branches
Unknown
Tags
Unknown
Tasks
T5951: gpgme: Add support for refreshing OpenPGP keys