<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/tests/run-keylist.cpp, branch ikloecker/t7110-nested-bindings-packages</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=ikloecker%2Ft7110-nested-bindings-packages</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=ikloecker%2Ft7110-nested-bindings-packages'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2024-06-11T13:06:57Z</updated>
<entry>
<title>Unify spelling of the name of the C++ bindings for GpgME</title>
<updated>2024-06-11T13:06:57Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-06-06T14:34:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1dbfc419adb89aebadaf98144ce7c9dea2284fbb'/>
<id>urn:sha1:1dbfc419adb89aebadaf98144ce7c9dea2284fbb</id>
<content type='text'>
* lang/cpp/README, lang/cpp/src/GpgmeppConfig-w32.cmake.in.in,
lang/cpp/src/GpgmeppConfig.cmake.in.in,
lang/cpp/src/GpgmeppConfigVersion.cmake.in,
lang/cpp/src/Makefile.am, lang/cpp/tests/run-getkey.cpp,
lang/cpp/tests/run-keylist.cpp, lang/cpp/tests/run-verify.cpp,
lang/cpp/tests/run-wkdlookup.cpp, lang/qt/README: Replace GpgMEpp with
GpgME++.
* lang/cpp/src/GpgmeppConfig-w32.cmake.in.in,
lang/cpp/src/GpgmeppConfig.cmake.in.in,
lang/cpp/src/GpgmeppConfigVersion.cmake.in,
lang/cpp/src/Makefile.am: Replace GPGME-CL (c&amp;p error) with GpgME++.
* lang/cpp/tests/Makefile.am: Replace GPGME with GPGME++.
* lang/cpp/tests/run-getkey.cpp, lang/cpp/tests/run-keylist.cpp,
lang/cpp/tests/run-verify.cpp: Replace QGpgME (c&amp;p error) with GpgME++.
--
</content>
</entry>
<entry>
<title>cpp: Don't include config.h</title>
<updated>2024-06-11T12:23:40Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-05-27T09:44:41Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e64dd7ee510cfd41cefc1ff3c6204ebe0fe1f567'/>
<id>urn:sha1:e64dd7ee510cfd41cefc1ff3c6204ebe0fe1f567</id>
<content type='text'>
* lang/cpp/src/*.cpp, lang/cpp/tests/*.cpp: Remove config.h include.
--

The C++ binding sources don't need anything from config.h.

GnuPG-bug-id: 7110
</content>
</entry>
<entry>
<title>cpp: Add information about revocation keys to Key</title>
<updated>2024-05-21T14:38:59Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-05-21T14:32:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=90eb80134b2d7720b187a6b7fd16f40f23cf1022'/>
<id>urn:sha1:90eb80134b2d7720b187a6b7fd16f40f23cf1022</id>
<content type='text'>
* lang/cpp/src/gpgmefw.h (gpgme_revocation_key_t): New forward
declaration.
* lang/cpp/src/key.cpp, lang/cpp/src/key.h (class Key): New methods
revocationKey, numRevocationKeys, revocationKeys.
(class RevocationKey): New.
(swap): New overload for RevocationKey.
(operator&lt;&lt;): New overload for RevocationKey.
* lang/cpp/src/key.cpp (operator&lt;&lt;): Add information about revocation
keys to the output stream for Key.

* lang/cpp/tests/run-keylist.cpp (main): Don't output Key if nextKey
failed, e.g. at the end of the key listing.
--

GnuPG-bug-id: 7118
</content>
</entry>
<entry>
<title>cpp,tests: Actually parse the --with-secret option</title>
<updated>2022-05-05T15:24:59Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-05-05T15:19:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e029fd27350fcbda1b4689bc557e996d749d78ac'/>
<id>urn:sha1:e029fd27350fcbda1b4689bc557e996d749d78ac</id>
<content type='text'>
* lang/cpp/tests/run-keylist.cpp (main): Handle --with-secret option.
Print error for unknown option.
--

The --with-secret option was already listed in the help. Now it also
works.

GnuPG-bug-id: 5965
</content>
</entry>
<entry>
<title>cpp,tests: Verify that requested keylist mode is used</title>
<updated>2022-04-28T08:33:23Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-04-28T08:33:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=359906c8bcde7e351540708777e3678fee0cc2c1'/>
<id>urn:sha1:359906c8bcde7e351540708777e3678fee0cc2c1</id>
<content type='text'>
* 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.

GnuPG-bug-id: 5951
</content>
</entry>
<entry>
<title>cpp: Support new keylist modes</title>
<updated>2022-04-27T15:21:04Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-04-27T15:21:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=dea872f21ff77cd58bafe0966d89d6331c8d2e07'/>
<id>urn:sha1:dea872f21ff77cd58bafe0966d89d6331c8d2e07</id>
<content type='text'>
* lang/cpp/src/global.h (ForceExtern, LocateExternal, KeyListModeMask):
New.
* lang/cpp/src/context.cpp (operator&lt;&lt;): Add check.
* lang/cpp/src/util.h (gpgme_keylist_mode_t,
convert_from_gpgme_keylist_mode_t): Handle ForceExtern.
* lang/cpp/tests/run-getkey.cpp (show_usage, main): Add arguments
--force-extern and --locate-external.
* lang/cpp/tests/run-keylist.cpp (show_usage, main): Ditto.
--

GnuPG-bug-id: 5951
</content>
</entry>
<entry>
<title>cpp: Add first manual tests</title>
<updated>2018-10-09T09:24:18Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-10-09T09:24:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9f85f4967e617e9f97529b89f530c1bc36b52a5c'/>
<id>urn:sha1:9f85f4967e617e9f97529b89f530c1bc36b52a5c</id>
<content type='text'>
* lang/cpp/Makefile.am: Add tests subdir.
* lang/cpp/tests/Makefile.am: New.
* lang/cpp/tests/README,
lang/cpp/tests/run-getkey.cpp,
lang/cpp/tests/run-keylist.cpp: New.
* configure.ac: Configure tests makefile.

--
The autotests for c++ live in lang/qt/tests these
tests are more for manual experiments to validate some
functionality.
</content>
</entry>
</feed>
