File: autocryptutilstest.h

package info (click to toggle)
messagelib 4%3A24.12.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 83,448 kB
  • sloc: cpp: 106,765; xml: 375; sh: 25; makefile: 15
file content (34 lines) | stat: -rw-r--r-- 767 bytes parent folder | download | duplicates (2)
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;
};