-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.cpp
More file actions
42 lines (33 loc) · 1.1 KB
/
main.cpp
File metadata and controls
42 lines (33 loc) · 1.1 KB
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
#include "src/core/Core.h"
#ifdef INTERNAL_TESTS
#define CATCH_CONFIG_MAIN
#include "src/tests/catch.hpp"
#include "src/tests/TestIncludes.h"
#endif
#ifdef UNIT_TESTS
#define TESTS__DB__UUID_COLUMN
#define TESTS__DB__TRUST_LINE_DIRECTION_COLUMN
#define TESTS__ROUTING_TABLE
#define TESTS__TRUSTLINES
#endif
#ifdef TESTS__DB__UUID_COLUMN
#include "src/tests/db/fields/uuid_column/UUIDColumnTests.cpp"
#endif
#ifdef TESTS__DB__TRUST_LINE_DIRECTION_COLUMN
#include "src/tests/db/fields/tl_direction_column/TrustLineDirectionColumnTests.cpp"
#endif
#ifdef TESTS__ROUTING_TABLE
#include "src/tests/io/routing_tables/OperationsLogTests.cpp"
#include "src/tests/io/routing_tables/operations/SetOperationTests.cpp"
#include "src/tests/io/routing_tables/operations/RemoveOperationTests.cpp"
#include "src/tests/io/routing_tables/operations/DirectionUpdateOperationTests.cpp"
#include "src/tests/io/routing_tables/RoutingTableTests.cpp"
#endif
#ifdef TESTS__TRUSTLINES
#include "src/tests/trust_lines/TrustLineTests.cpp"
#endif
#ifndef INTERNAL_TESTS
int main(int argc, char** argv) {
return Core(argv[0]).run();
}
#endif