MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / init_unit_tests

Function init_unit_tests

test/unit_tests.c:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41#include "unit_tests.h"
42
43void init_unit_tests(void)
44{
45 if (!strcmp(testing_module, "core")) {
46 add_mpath("modules/");
47 solve_module_dependencies(modules);
48 init_cachedb_tests();
49 //init_malloc_tests();
50 }
51
52 ensure_global_context();
53}
54
55int run_unit_tests(void)
56{

Callers 1

init_modulesFunction · 0.85

Calls 4

add_mpathFunction · 0.85
init_cachedb_testsFunction · 0.85
ensure_global_contextFunction · 0.85

Tested by

no test coverage detected