| 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_barcodes.h" | ||
| 8 | |||
| 9 | #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) | ||
| 10 | # include <vld.h> | ||
| 11 | #endif | ||
| 12 | |||
| 13 | static gate_test_case_t test_cases[] = | ||
| 14 | { | ||
| 15 | { "barcodes_ean", &test_barcodes_ean }, | ||
| 16 | { "barcodes_dmtx", &test_barcodes_dmtx }, | ||
| 17 | { "barcodes_qr", &test_barcodes_qr } | ||
| 18 | }; | ||
| 19 | static gate_size_t test_cases_count = sizeof(test_cases) / sizeof(test_cases[0]); | ||
| 20 | |||
| 21 | 1 | int gate_main(char const* program, char const* const* arguments, gate_size_t argcount, gate_uintptr_t apphandle) | |
| 22 | { | ||
| 23 | GATE_UNUSED_ARG(program); | ||
| 24 | GATE_UNUSED_ARG(apphandle); | ||
| 25 | 1 | return gate_test_main(test_cases, test_cases_count, arguments, argcount); | |
| 26 | } | ||
| 27 |