aboutsummaryrefslogtreecommitdiff
path: root/autotests/testolmaccount.h
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/testolmaccount.h')
-rw-r--r--autotests/testolmaccount.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/autotests/testolmaccount.h b/autotests/testolmaccount.h
new file mode 100644
index 00000000..367092f6
--- /dev/null
+++ b/autotests/testolmaccount.h
@@ -0,0 +1,32 @@
+// SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
+
+#include <QtTest/QtTest>
+#include <QString>
+
+namespace Quotient {
+ class Connection;
+}
+
+class TestOlmAccount : public QObject
+{
+ Q_OBJECT
+
+private Q_SLOTS:
+ void pickleUnpickledTest();
+ void identityKeysValid();
+ void signatureValid();
+ void oneTimeKeysValid();
+ //void removeOneTimeKeys();
+ void deviceKeys();
+ void encryptedFile();
+ void uploadIdentityKey();
+ void uploadOneTimeKeys();
+ void uploadSignedOneTimeKeys();
+ void uploadKeys();
+ void queryTest();
+ void claimKeys();
+ void claimMultipleKeys();
+ void enableEncryption();
+};