gpgme/lang/qt/tests
Ingo Klöcker f66f856c89 core: Add error handling to setexpire
* src/genkey.c (setexpire, gpgme_op_setexpire_start,
gpgme_op_setexpire): Move to ...
* src/setexpire.c: New.
* src/Makefile.am (main_sources): Add that file.
* src/context.h (ctx_op_data_id_t): Add OPDATA_SETEXPIRE.

* lang/qt/tests/t-various.cpp (testSetExpire): Test error handling.
--

Errors (and failures) emitted via status-fd need to be handled
explicitly, i.e. we need to provide an appropriate status handler with
corresponding op_data_t. Additionally, we need to set a passphrase
command handler if a passphrase callback is set in the context, e.g.
during tests.

GnuPG-bug-id: 4395
2020-08-14 11:11:23 +02:00
..
initial.test Qt: Fix unit test by adding initial.test dep 2016-04-11 17:46:03 +02:00
Makefile.am qt,tests: Move remarks test out and extend it 2019-11-04 11:18:35 +01:00
run-keyformailboxjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
t-config.cpp tests: Remove/change tests for GnuPG 2.3 with no gpg.keyserver. 2020-05-11 14:20:48 +09:00
t-encrypt.cpp qt, tests: Add check for supported versions 2019-11-06 09:21:02 +01:00
t-keylist.cpp qt, tests: Add test for single get key 2018-10-09 09:37:28 +02:00
t-keylocate.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
t-ownertrust.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
t-remarks.cpp qt,tests: Take care for old DSA key using deprecated digest algo. 2019-11-08 08:07:33 +09:00
t-support.cpp qt, tests: Add check for supported versions 2019-11-06 09:21:02 +01:00
t-support.h qt, tests: Add check for supported versions 2019-11-06 09:21:02 +01:00
t-tofuinfo.cpp qt: Use tofu conflict test keys without expiry 2019-01-09 08:26:25 +01:00
t-various.cpp core: Add error handling to setexpire 2020-08-14 11:11:23 +02:00
t-verify.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
t-wkspublish.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00