| 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_hashes.h" | ||
| 8 | #include "test_texticons.h" | ||
| 9 | |||
| 10 | #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) | ||
| 11 | # include <vld.h> | ||
| 12 | #endif | ||
| 13 | |||
| 14 | static gate_test_case_t test_cases[] = | ||
| 15 | { | ||
| 16 | { "md5", &test_md5 }, | ||
| 17 | { "sha1", &test_sha1 }, | ||
| 18 | { "sha256", &test_sha256 }, | ||
| 19 | { "crc16", &test_crc16 }, | ||
| 20 | { "crc32", &test_crc32 }, | ||
| 21 | { "texticons", &test_texticons }, | ||
| 22 | }; | ||
| 23 | static gate_size_t test_cases_count = sizeof(test_cases) / sizeof(test_cases[0]); | ||
| 24 | |||
| 25 | 1 | int gate_main(char const* program, char const* const* arguments, gate_size_t argcount, gate_uintptr_t apphandle) | |
| 26 | { | ||
| 27 | GATE_UNUSED_ARG(program); | ||
| 28 | GATE_UNUSED_ARG(apphandle); | ||
| 29 | 1 | return gate_test_main(test_cases, test_cases_count, arguments, argcount); | |
| 30 | } | ||
| 31 |