Files

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

2018-10-08 22:27:19 +02:00
/*
* This file is part of the Flowee project
2021-06-20 22:44:44 +02:00
* Copyright (C) 2018 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/>.
*/
2018-12-15 21:33:44 +01:00
#include "TestBuffers.h"
#include "serialize_tests.h"
#include "streams_tests.h"
2020-07-05 12:24:26 +02:00
#include "Encoders.h"
2018-10-08 22:27:19 +02:00
2018-12-15 21:33:44 +01:00
int main(int x, char **y)
2018-10-08 22:27:19 +02:00
{
2018-12-15 21:33:44 +01:00
int rc = 0;
{
TestBuffers test;
rc = QTest::qExec(&test);
}
if (!rc) {
Test_Serialize test;
rc = QTest::qExec(&test);
}
if (!rc) {
2020-07-05 18:59:09 +02:00
TestStreams test;
2018-12-15 21:33:44 +01:00
rc = QTest::qExec(&test);
}
2020-07-05 12:24:26 +02:00
if (!rc) {
TestEncoders test;
rc = QTest::qExec(&test);
}
2018-12-15 21:33:44 +01:00
return rc;
}