File indexing completed on 2025-01-26 04:58:13
0001 /* Copyright 2009 Thomas McGuire <mcguire@kde.org> 0002 0003 This program is free software; you can redistribute it and/or 0004 modify it under the terms of the GNU General Public License as 0005 published by the Free Software Foundation; either version 2 of 0006 the License or (at your option) version 3 or any later version 0007 accepted by the membership of KDE e.V. (or its successor approved 0008 by the membership of KDE e.V.), which shall act as a proxy 0009 defined in Section 14 of version 3 of the license. 0010 0011 This program is distributed in the hope that it will be useful, 0012 but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 GNU General Public License for more details. 0015 0016 You should have received a copy of the GNU General Public License 0017 along with this program. If not, see <http://www.gnu.org/licenses/>. 0018 */ 0019 #ifndef CRYPTOHELPERTEST_H 0020 #define CRYPTOHELPERTEST_H 0021 0022 #include <QObject> 0023 0024 namespace MimeTreeParser 0025 { 0026 0027 class CryptoHelperTest : public QObject 0028 { 0029 Q_OBJECT 0030 0031 private Q_SLOTS: 0032 void testPMFDEmpty(); 0033 void testPMFDWithNoPGPBlock(); 0034 void testPGPBlockType(); 0035 void testDeterminePGPBlockType(); 0036 void testEmbededPGPBlock(); 0037 void testClearSignedMessage(); 0038 void testMultipleBlockMessage(); 0039 }; 0040 0041 } 0042 #endif