summaryrefslogtreecommitdiff
path: root/auto_tests/monolith_test.cpp
blob: b1e1344832902ffdba0a4c4f89314b37772891d0 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* Nop-test, just to make sure our code compiles as C++.
 */

#ifdef __FreeBSD__
// Include this here, because _XOPEN_SOURCE hides symbols we need.
//
// https://lists.freebsd.org/pipermail/freebsd-standards/2004-March/000474.html.
#include <net/if.h>
#endif

#define _DARWIN_C_SOURCE
#define _XOPEN_SOURCE 600

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "../other/monolith.h"
#define DHT_C_INCLUDED

#include "check_compat.h"
#include "helpers.h"
#include "../testing/misc_tools.c"

#include <ctype.h>

namespace TCP_test
{
#include "TCP_test.c"
}
namespace bootstrap_test
{
#include "bootstrap_test.c"
}
namespace conference_test
{
#include "conference_test.c"
}
namespace crypto_test
{
#include "crypto_test.c"
}
namespace dht_test
{
#include "dht_test.c"
}
namespace encryptsave_test
{
#include "encryptsave_test.c"
}
namespace file_saving_test
{
#include "file_saving_test.c"
}
namespace lan_discovery_test
{
#include "lan_discovery_test.c"
}
namespace messenger_test
{
#include "messenger_test.c"
}
namespace network_test
{
#include "network_test.c"
}
namespace onion_test
{
#include "onion_test.c"
}
namespace resource_leak_test
{
#include "resource_leak_test.c"
}
namespace save_friend_test
{
#include "save_friend_test.c"
}
namespace selfname_change_conference_test
{
#include "selfname_change_conference_test.c"
}
namespace self_conference_title_change_test
{
#include "self_conference_title_change_test.c"
}
namespace simple_conference_test
{
#include "simple_conference_test.c"
}
namespace skeleton_test
{
#include "skeleton_test.c"
}
namespace toxav_basic_test
{
#include "toxav_basic_test.c"
}
namespace toxav_many_test
{
#include "toxav_many_test.c"
}
namespace tox_many_tcp_test
{
#include "tox_many_tcp_test.c"
}
namespace tox_many_test
{
#include "tox_many_test.c"
}
namespace tox_one_test
{
#include "tox_one_test.c"
}
namespace tox_strncasecmp_test
{
#include "tox_strncasecmp_test.c"
}
namespace tox_test
{
#include "tox_test.c"
}
namespace version_test
{
#include "version_test.c"
}

int main(int argc, char *argv[])
{
    return 0;
}