Changeset View
Changeset View
Standalone View
Standalone View
mimetreeparser/autotests/basicobjecttreeparsertest.h
- This file was copied from messageviewer/src/messagepartthemes/default/autotests/unencryptedmessagetest.h.
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | Copyright (c) 2010 Thomas McGuire <thomas.mcguire@kdab.com> | 2 | Copyright (c) 2010 Thomas McGuire <thomas.mcguire@kdab.com> | ||
3 | Copyright (c) 2016 Sandro Knauß <sknauss@kde.org> | 3 | Copyright (c) 2019 Sandro Knauß <sknauss@kde.org> | ||
4 | 4 | | |||
5 | This library is free software; you can redistribute it and/or modify it | 5 | This library is free software; you can redistribute it and/or modify it | ||
6 | under the terms of the GNU Library General Public License as published by | 6 | under the terms of the GNU Library General Public License as published by | ||
7 | the Free Software Foundation; either version 2 of the License, or (at your | 7 | the Free Software Foundation; either version 2 of the License, or (at your | ||
8 | option) any later version. | 8 | option) any later version. | ||
9 | 9 | | |||
10 | This library is distributed in the hope that it will be useful, but WITHOUT | 10 | This library is distributed in the hope that it will be useful, but WITHOUT | ||
11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | 12 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | ||
13 | License for more details. | 13 | License for more details. | ||
14 | 14 | | |||
15 | You should have received a copy of the GNU Library General Public License | 15 | You should have received a copy of the GNU Library General Public License | ||
16 | along with this library; see the file COPYING.LIB. If not, write to the | 16 | along with this library; see the file COPYING.LIB. If not, write to the | ||
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
18 | 02110-1301, USA. | 18 | 02110-1301, USA. | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #ifndef MESSAGEVIEWER_TESTS_UNENCRYPTEDMESSAGETEST_H | 21 | #ifndef MIMETREEPARSER_TESTS_OBJECTTREEPARSERTEST_H | ||
22 | #define MESSAGEVIEWER_TESTS_UNENCRYPTEDMESSAGETEST_H | 22 | #define MIMETREEPARSER_TESTS_OBJECTTREEPARSERTEST_H | ||
23 | 23 | | |||
24 | #include <QObject> | 24 | #include <QObject> | ||
25 | 25 | | |||
26 | class UnencryptedMessageTest : public QObject | 26 | class ObjectTreeParserTest : public QObject | ||
27 | { | 27 | { | ||
28 | Q_OBJECT | 28 | Q_OBJECT | ||
29 | private Q_SLOTS: | 29 | private Q_SLOTS: | ||
30 | void initTestCase(); | 30 | void initTestCase(); | ||
31 | void testMailWithoutEncryption(); | 31 | void testMailWithoutEncryption(); | ||
32 | void testSMIMESignedEncrypted(); | 32 | void testSMIMESignedEncrypted(); | ||
33 | void testOpenPGPSignedEncrypted(); | 33 | void testOpenPGPSignedEncrypted(); | ||
34 | void testOpenPGPEncryptedAndSigned(); | 34 | void testOpenPGPEncryptedAndSigned(); | ||
35 | void testForwardedOpenPGPSignedEncrypted(); | 35 | void testForwardedOpenPGPSignedEncrypted(); | ||
36 | void testSignedForwardedOpenPGPSignedEncrypted(); | 36 | void testSignedForwardedOpenPGPSignedEncrypted(); | ||
37 | void testOpenPGPEncrypted(); | 37 | void testOpenPGPEncrypted(); | ||
38 | void testOpenPGPEncryptedNotDecrypted(); | 38 | void testOpenPGPEncryptedNotDecrypted(); | ||
39 | void testAsync_data(); | 39 | void testAsync_data(); | ||
40 | void testAsync(); | 40 | void testAsync(); | ||
41 | void testNotDecrypted_data(); | | |||
42 | void testNotDecrypted(); | | |||
43 | void testSMimeAutoCertImport(); | | |||
44 | }; | 41 | }; | ||
45 | 42 | | |||
46 | #endif // MESSAGEVIEWER_TESTS_UNENCRYPTEDMESSAGETEST_H | 43 | #endif // MIMETREEPARSER_TESTS_OBJECTTREEPARSERTEST_H |