diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-06-19 17:56:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-06-19 22:32:16 +0200 |
commit | 81c0b6410ae7a604a97994c7f31113f24665167f (patch) | |
tree | 42f7a82f22a3d32765b91484c2f1d8013d71156f /include/unotest | |
parent | ed7ae218dd51ad80c03645b9c43b42d8b8e90400 (diff) |
Move data for signing tests to test/
This was duplicated under xmlsecurity and made it hard to have test code
outside xmlsecurity, even if the core of the pdf signing is nowadays
under svl/.
Change-Id: If5ce8269bb72f503263727d8255fe856742dfa60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96745
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include/unotest')
-rw-r--r-- | include/unotest/macros_test.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/unotest/macros_test.hxx b/include/unotest/macros_test.hxx index c60ea1fe97ce..2960dc0fbb23 100644 --- a/include/unotest/macros_test.hxx +++ b/include/unotest/macros_test.hxx @@ -13,6 +13,7 @@ #include <sal/config.h> #include <memory> +#include <config_gpgme.h> #include <rtl/ustring.hxx> #include <unotest/detail/unotestdllapi.hxx> @@ -27,6 +28,11 @@ struct TestMacroInfo class BasicDLL; +namespace test +{ +class Directories; +} + namespace unotest { class OOO_DLLPUBLIC_UNOTEST MacrosTest @@ -43,11 +49,17 @@ public: const OUString& rCommand, const css::uno::Sequence<css::beans::PropertyValue>& rPropertyValues); + void setUpNssGpg(const test::Directories& rDirectories, const OUString& rTestName); + void tearDownNssGpg(); + protected: css::uno::Reference< css::frame::XDesktop2> mxDesktop; private: std::unique_ptr<BasicDLL> mpDll; +#if HAVE_GPGCONF_SOCKETDIR + OString m_gpgconfCommandPrefix; +#endif }; } |