File indexing completed on 2025-03-09 04:53:54
0001 /* 0002 SPDX-FileCopyrightText: 2009 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.net 0003 SPDX-FileCopyrightText: 2009 Leo Franchi <lfranchi@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #pragma once 0009 0010 #include <QObject> 0011 0012 namespace MessageComposer 0013 { 0014 class EncryptJob; 0015 } 0016 0017 class EncryptJobTest : public QObject 0018 { 0019 Q_OBJECT 0020 0021 public Q_SLOTS: 0022 void initTestCase(); 0023 0024 private Q_SLOTS: 0025 void testContentDirect(); 0026 void testContentChained(); 0027 void testContentSubjobChained(); 0028 void testHeaders(); 0029 0030 void testProtectedHeaders_data(); 0031 void testProtectedHeaders(); 0032 0033 void testSetGnupgHome(); 0034 0035 private: 0036 void checkEncryption(MessageComposer::EncryptJob *eJob); 0037 };