1 /*
2   SPDX-FileCopyrightText: 2009 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.net
3   SPDX-FileCopyrightText: 2009 Leo Franchi <lfranchi@kde.org>
4 
5   SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #pragma once
9 
10 #include <QObject>
11 
12 namespace MessageComposer
13 {
14 class EncryptJob;
15 }
16 
17 class EncryptJobTest : public QObject
18 {
19     Q_OBJECT
20 
21 public Q_SLOTS:
22     void initTestCase();
23 
24 private Q_SLOTS:
25     void testContentDirect();
26     void testContentChained();
27     void testContentSubjobChained();
28     void testHeaders();
29 
30     void testProtectedHeaders_data();
31     void testProtectedHeaders();
32 
33     void testSetGnupgHome();
34 
35 private:
36     void checkEncryption(MessageComposer::EncryptJob *eJob);
37 };
38 
39