GCC Code Coverage Report


Directory: src/gate/
File: src/gate/tests/gatecore_test/gatecore_test.c
Date: 2026-09-21 06:26:40
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 1 1 100.0%
Branches: 0 0 -%

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_apps.h"
8 #include "test_arrays.h"
9 #include "test_blobs.h"
10 #include "test_comparers.h"
11 #include "test_delegates.h"
12 #include "test_maps.h"
13 #include "test_math.h"
14 #include "test_memalloc.h"
15 #include "test_runnables.h"
16 #include "test_strings.h"
17 #include "test_uris.h"
18 #include "test_utilities.h"
19 #include "test_values.h"
20 #include "test_wrappers.h"
21
22 #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)
23 # include <vld.h>
24 #endif
25
26 static gate_test_case_t test_cases[] =
27 {
28 { "delegates", &test_delegates },
29 { "comparers", &test_comparers },
30 #if !defined(GATE_SYS_DOS)
31 { "maps", &test_maps },
32 #endif
33 { "memalloc", &test_memalloc },
34 { "math", &test_math },
35 { "runnables", &test_runnables },
36 { "apps", &test_apps },
37 { "arrays", &test_arrays },
38 { "blobs", &test_blobs },
39 { "strings", &test_strings },
40 { "uris", &test_uris },
41 { "utilities", &test_utilities },
42 { "values", &test_values },
43 { "wrappers", &test_wrappers }
44 };
45 static gate_size_t test_cases_count = sizeof(test_cases) / sizeof(test_cases[0]);
46
47 3 int gate_main(char const* program, char const* const* arguments, gate_size_t argcount, gate_uintptr_t apphandle)
48 {
49 GATE_UNUSED_ARG(program);
50 GATE_UNUSED_ARG(apphandle);
51 3 return gate_test_main(test_cases, test_cases_count, arguments, argcount);
52 }
53