1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
/* SPDX-FileCopyrightText: 2020 Sandro Knauß <sknauss@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include <QDir>
#include <QObject>
class AutocryptUtilsTest : public QObject
{
Q_OBJECT
private Q_SLOTS:
void initTestCase();
void init();
void cleanup();
void test_header();
void test_gossip();
void test_gossipIgnoreNonExcrypted();
void test_draft();
void test_report();
void test_multiple_headers();
void test_multiple_headers_invalid();
void test_multiple_headers_invalid_from();
void test_multiple_from();
void test_non_autocrypt();
void test_update_autocrypt();
void test_update_non_autocrypt();
void test_update_autocrypt_gossip();
private:
QDir baseDir;
};
|