Files

44 lines
1.2 KiB
C++
Raw Permalink Normal View History

/*
* This file is part of the Flowee project
2024-08-19 21:53:21 +02:00
* Copyright (C) 2016, 2019-2024 Tom Zander <tom@flowee.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TEST_NWM_H
#define TEST_NWM_H
2020-12-24 12:52:48 +01:00
#include <common/TestFloweeBase.h>
class TestNWM : public TestFloweeBase
{
Q_OBJECT
public:
2020-09-17 20:58:02 +02:00
TestNWM();
private slots:
2023-07-20 20:59:26 +02:00
void basic();
2024-08-19 21:53:21 +02:00
void testBigMessage();
void testRingBuffer();
void testHeaderInt();
void testChunkReadQueue();
2026-05-18 11:41:37 +02:00
void testAsyncSendQueueFullDoesNotTerminate();
2026-05-18 09:59:29 +02:00
void testNativeEnvelopeMinimumLength();
void testNativeParserPacketBounds();
void testLegacyP2PEnvelopeValidation();
2024-08-19 21:53:21 +02:00
void testEncrypted();
};
#endif