aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/t-support.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/tests/t-support.h')
-rw-r--r--lang/qt/tests/t-support.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/lang/qt/tests/t-support.h b/lang/qt/tests/t-support.h
index 8755b998..cf0cb26e 100644
--- a/lang/qt/tests/t-support.h
+++ b/lang/qt/tests/t-support.h
@@ -28,9 +28,14 @@
you do not wish to do so, delete this exception statement from
your version.
*/
+#ifndef T_SUPPORT_H
+#define T_SUPPORT_H
#include "interfaces/passphraseprovider.h"
#include <QtGlobal>
+#include <QProcess>
+#include <QCoreApplication>
+#include <QObject>
namespace GpgME
{
@@ -43,5 +48,17 @@ public:
return strdup("abc");
}
};
-
} // namespace GpgME
+
+void killAgent(const QString &dir = qgetenv("GNUPGHOME"));
+
+class QGpgMETest : public QObject
+{
+ Q_OBJECT
+
+public Q_SLOTS:
+ void initTestCase();
+ void cleanupTestCase();
+};
+
+#endif // T_SUPPORT_H