mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-03-12 05:25:23 -07:00
101 lines
1.8 KiB
C
101 lines
1.8 KiB
C
/*
|
|
* This file is part of Chiaki.
|
|
*
|
|
* Chiaki 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.
|
|
*
|
|
* Chiaki 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 Chiaki. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include <munit.h>
|
|
|
|
extern MunitTest tests_seq_num[];
|
|
extern MunitTest tests_reorder_queue[];
|
|
extern MunitTest tests_http[];
|
|
extern MunitTest tests_rpcrypt[];
|
|
extern MunitTest tests_gkcrypt[];
|
|
extern MunitTest tests_takion[];
|
|
extern MunitTest tests_fec[];
|
|
extern MunitTest tests_regist[];
|
|
|
|
static MunitSuite suites[] = {
|
|
{
|
|
"/seq_num",
|
|
tests_seq_num,
|
|
NULL,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
},
|
|
{
|
|
"/reorder_queue",
|
|
tests_reorder_queue,
|
|
NULL,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
},
|
|
{
|
|
"/http",
|
|
tests_http,
|
|
NULL,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
},
|
|
{
|
|
"/rpcrypt",
|
|
tests_rpcrypt,
|
|
NULL,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
},
|
|
{
|
|
"/gkcrypt",
|
|
tests_gkcrypt,
|
|
NULL,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
},
|
|
{
|
|
"/takion",
|
|
tests_takion,
|
|
NULL,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
},
|
|
{
|
|
"/fec",
|
|
tests_fec,
|
|
NULL,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
},
|
|
{
|
|
"/regist",
|
|
tests_regist,
|
|
NULL,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
},
|
|
{ NULL, NULL, NULL, 0, MUNIT_SUITE_OPTION_NONE }
|
|
};
|
|
|
|
static const MunitSuite suite_main = {
|
|
"/chiaki",
|
|
NULL,
|
|
suites,
|
|
1,
|
|
MUNIT_SUITE_OPTION_NONE
|
|
};
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
return munit_suite_main(&suite_main, NULL, argc, argv);
|
|
}
|