gpgme/lang/qt/tests
Ingo Klöcker fd6bec617d qt: Allow setting key origin when importing keys
* lang/qt/src/Makefile.am (qgpgme_sources): Add importjob.cpp.
* lang/qt/src/importjob.cpp: New.
* lang/qt/src/importjob.h (class ImportJob): Add member functions
setKeyOrigin, keyOrigin, keyOriginUrl.
* lang/qt/src/qgpgmeimportjob.cpp (originToString): New.
(import_qba): Set key origin context flag.
(QGpgMEImportJob::start, QGpgMEImportJob::exec): Add options to call
of import_qba.

* lang/qt/tests/Makefile.am (the_tests, moc_files, noinst_PROGRAMS):
Add new test.
(t_import_SOURCES): New.
* lang/qt/tests/t-import.cpp: New.
--

GnuPG-bug-id: 5733
2021-12-14 11:47:09 +01:00
..
final.test qt: Support WKD lookup without implicit import 2021-12-13 10:48:52 +01:00
initial.test Qt: Fix unit test by adding initial.test dep 2016-04-11 17:46:03 +02:00
Makefile.am qt: Allow setting key origin when importing keys 2021-12-14 11:47:09 +01:00
run-keyformailboxjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
t-changeexpiryjob.cpp qt: Add test for ChangeExpiryJob 2021-06-28 11:56:12 +02:00
t-config.cpp qt: Allow retrieving the default value of a config entry 2021-06-29 12:12:33 +02:00
t-encrypt.cpp qt, tests: Add check for supported versions 2019-11-06 09:21:02 +01:00
t-import.cpp qt: Allow setting key origin when importing keys 2021-12-14 11:47:09 +01:00
t-keylist.cpp qt: Fix build against Qt 5.9 2021-09-13 17:30:49 +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: Allow build with older GnuPG (< 2.2.18). 2020-11-11 11:58:28 +09:00
t-support.cpp qt,tests: Skip WKD lookup tests by default 2021-12-14 11:04:03 +01:00
t-support.h qt,tests: Skip WKD lookup tests by default 2021-12-14 11:04:03 +01:00
t-tofuinfo.cpp qt: Use tofu conflict test keys without expiry 2019-01-09 08:26:25 +01:00
t-trustsignatures.cpp qt: Fix filenames in copyright headers 2021-06-28 11:56:12 +02:00
t-various.cpp qt: Fix build against Qt 5.9 2021-09-13 17:30:49 +02:00
t-verify.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
t-wkdlookup.cpp qt,tests: Skip WKD lookup tests by default 2021-12-14 11:04:03 +01:00
t-wkspublish.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00