2018-10-08 22:27:19 +02:00
|
|
|
/*
|
|
|
|
|
* This file is part of the Flowee project
|
2022-01-25 23:59:54 +01:00
|
|
|
* Copyright (C) 2018-2022 Tom Zander <tom@flowee.org>
|
2018-10-08 22:27:19 +02:00
|
|
|
*
|
|
|
|
|
* 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 TestBuffers_H
|
|
|
|
|
#define TestBuffers_H
|
|
|
|
|
|
|
|
|
|
#include <common/TestFloweeBase.h>
|
|
|
|
|
|
|
|
|
|
class TestBuffers : public TestFloweeBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
private slots:
|
|
|
|
|
void testBasic();
|
|
|
|
|
void testMultiBuffer();
|
|
|
|
|
void testBuilder();
|
2019-06-26 22:45:11 +02:00
|
|
|
void testBuilderReply();
|
2018-10-08 22:27:19 +02:00
|
|
|
void testParser();
|
|
|
|
|
void testStringRefInParser();
|
|
|
|
|
void testClear();
|
|
|
|
|
void testCMFBasic();
|
|
|
|
|
void testCMFBasic2();
|
|
|
|
|
void testCMFTypes();
|
|
|
|
|
void testParsers();
|
|
|
|
|
void benchSerialize();
|
2019-12-30 17:37:23 +01:00
|
|
|
void testCompare();
|
2022-01-25 23:59:54 +01:00
|
|
|
void testIndexOf();
|
2019-08-26 20:48:12 +02:00
|
|
|
|
|
|
|
|
void testConstBufMid();
|
|
|
|
|
void testConstBufStartsWith();
|
2018-10-08 22:27:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|