2013-08-20 13:05:22 +01:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2013 Albert Vaca <albertvaka@gmail.com>
|
2013-06-06 04:57:06 +01:00
|
|
|
*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
2013-06-06 04:57:06 +01:00
|
|
|
*/
|
|
|
|
|
2018-03-04 19:48:51 +00:00
|
|
|
#ifndef NETWORKPACKETTESTS_H
|
|
|
|
#define NETWORKPACKETTESTS_H
|
2013-06-06 04:57:06 +01:00
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
2018-03-04 19:48:51 +00:00
|
|
|
class NetworkPacketTests : public QObject
|
2013-06-06 04:57:06 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void initTestCase();
|
2013-07-04 02:34:35 +01:00
|
|
|
|
2018-03-04 19:48:51 +00:00
|
|
|
void networkPacketTest();
|
|
|
|
void networkPacketIdentityTest();
|
2020-01-03 16:15:51 +00:00
|
|
|
void networkPacketPayloadTest();
|
2022-09-10 22:23:52 +01:00
|
|
|
// void networkPacketEncryptionTest();
|
2013-07-04 02:34:35 +01:00
|
|
|
|
2013-06-06 04:57:06 +01:00
|
|
|
void cleanupTestCase();
|
|
|
|
|
|
|
|
void init();
|
|
|
|
void cleanup();
|
|
|
|
};
|
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
#endif
|