File indexing completed on 2024-06-02 05:29:34
0001 /* SPDX-FileCopyrightText: 2020 Sandro Knauß <sknauss@kde.org> 0002 0003 SPDX-License-Identifier: LGPL-2.0-or-later 0004 */ 0005 #pragma once 0006 0007 #include <QObject> 0008 0009 class AutocryptRecipientTest : public QObject 0010 { 0011 Q_OBJECT 0012 0013 private Q_SLOTS: 0014 void initTestCase(); 0015 void test_defaults(); 0016 void test_firstAutocryptHeader(); 0017 void test_fromJson(); 0018 void test_fromJsonGossip(); 0019 void test_initiateWithNoAutocryptHeader(); 0020 void test_coreUpdateLogic(); 0021 void test_changedLogic(); 0022 void test_gpgKey(); 0023 void test_setGossipHeader(); 0024 void test_gossipUpdateLogic(); 0025 void test_changedLogicGossip(); 0026 void test_gossipKey(); 0027 void test_getters(); 0028 };