| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "gate/gatemain.h" | ||
| 2 | |||
| 3 | #include "gate/tests.h" | ||
| 4 | #include "gate/console.h" | ||
| 5 | #include "gate/threading.h" | ||
| 6 | |||
| 7 | #include "test_nameresolvers.h" | ||
| 8 | #include "test_sockets.h" | ||
| 9 | #include "test_http.h" | ||
| 10 | |||
| 11 | #if defined(GATE_COMPILER_MSVC) && defined(GATE_LEAK_DETECTION) && defined(GATE_SYS_WIN) && !defined(GATE_SYS_WINCE) && (GATE_ARCH != GATE_ARCH_ARM32) && (GATE_ARCH != GATE_ARCH_ARM64) | ||
| 12 | # include <vld.h> | ||
| 13 | #endif | ||
| 14 | |||
| 15 | static gate_test_case_t test_cases[] = | ||
| 16 | { | ||
| 17 | { "nameresolver", &test_nameresolvers }, | ||
| 18 | { "sockets", &test_sockets }, | ||
| 19 | { "http", &test_http } | ||
| 20 | }; | ||
| 21 | static gate_size_t test_cases_count = sizeof(test_cases) / sizeof(test_cases[0]); | ||
| 22 | |||
| 23 | 1 | int gate_main(char const* program, char const* const* arguments, gate_size_t argcount, gate_uintptr_t apphandle) | |
| 24 | { | ||
| 25 | GATE_UNUSED_ARG(program); | ||
| 26 | GATE_UNUSED_ARG(apphandle); | ||
| 27 | 1 | return gate_test_main(test_cases, test_cases_count, arguments, argcount); | |
| 28 | } | ||
| 29 |