~rcr/rirc

ref: 62bd337228e97c54534bb8a9efede99fb2d8a5c5 rirc/test/rirc.c -rw-r--r-- 716 bytes
62bd3372 — Richard Robbins add --tls-cert-client flag 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "test/test.h"

#include "src/components/buffer.c"
#include "src/components/channel.c"
#include "src/components/input.c"
#include "src/components/ircv3.c"
#include "src/components/mode.c"
#include "src/components/server.c"
#include "src/components/user.c"
#include "src/rirc.c"
#include "src/state.c"
#include "src/utils/utils.c"

#include "test/draw.mock.c"
#include "test/handlers/irc_recv.mock.c"
#include "test/handlers/irc_send.mock.c"
#include "test/io.mock.c"

static void
test_rirc_parse_args(void)
{
	/* TODO */
	(void)rirc_parse_args;
}

int
main(void)
{
	/* FIXME: */
	(void)rirc_pw_name;

	struct testcase tests[] = {
		TESTCASE(test_rirc_parse_args)
	};

	return run_tests(NULL, NULL, tests);
}