diff options
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/autotests/cryptohelpertest.h')
-rw-r--r-- | framework/src/domain/mime/mimetreeparser/autotests/cryptohelpertest.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/autotests/cryptohelpertest.h b/framework/src/domain/mime/mimetreeparser/autotests/cryptohelpertest.h new file mode 100644 index 00000000..71ae086f --- /dev/null +++ b/framework/src/domain/mime/mimetreeparser/autotests/cryptohelpertest.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* Copyright 2009 Thomas McGuire <mcguire@kde.org> | ||
2 | |||
3 | This program is free software; you can redistribute it and/or | ||
4 | modify it under the terms of the GNU General Public License as | ||
5 | published by the Free Software Foundation; either version 2 of | ||
6 | the License or (at your option) version 3 or any later version | ||
7 | accepted by the membership of KDE e.V. (or its successor approved | ||
8 | by the membership of KDE e.V.), which shall act as a proxy | ||
9 | defined in Section 14 of version 3 of the license. | ||
10 | |||
11 | This program is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | #ifndef CRYPTOHELPERTEST_H | ||
20 | #define CRYPTOHELPERTEST_H | ||
21 | |||
22 | #include <QObject> | ||
23 | |||
24 | namespace MimeTreeParser | ||
25 | { | ||
26 | |||
27 | class CryptoHelperTest : public QObject | ||
28 | { | ||
29 | Q_OBJECT | ||
30 | |||
31 | private Q_SLOTS: | ||
32 | void testPMFDEmpty(); | ||
33 | void testPMFDWithNoPGPBlock(); | ||
34 | void testPGPBlockType(); | ||
35 | void testDeterminePGPBlockType(); | ||
36 | void testEmbededPGPBlock(); | ||
37 | void testClearSignedMessage(); | ||
38 | void testMultipleBlockMessage(); | ||
39 | }; | ||
40 | |||
41 | } | ||
42 | #endif | ||