31 |
31 |
32 #include "ucx/test.h" |
32 #include "ucx/test.h" |
33 |
33 |
34 #include "main.h" |
34 #include "main.h" |
35 |
35 |
|
36 #include "logging_tests.h" |
36 #include "list_tests.h" |
37 #include "list_tests.h" |
37 #include "dlist_tests.h" |
38 #include "dlist_tests.h" |
38 #include "string_tests.h" |
39 #include "string_tests.h" |
39 #include "mpool_tests.h" |
40 #include "mpool_tests.h" |
40 #include "map_tests.h" |
41 #include "map_tests.h" |
104 if (suite->failure == 2 && suite->success == 2) { |
105 if (suite->failure == 2 && suite->success == 2) { |
105 ucx_test_suite_free(suite); |
106 ucx_test_suite_free(suite); |
106 |
107 |
107 printf("\nLibrary function tests\n"); |
108 printf("\nLibrary function tests\n"); |
108 suite = ucx_test_suite_new(); |
109 suite = ucx_test_suite_new(); |
|
110 /* UcxLogger Tests */ |
|
111 ucx_test_register(suite, test_ucx_logger_log); |
|
112 |
109 /* UcxList Tests */ |
113 /* UcxList Tests */ |
110 ucx_test_register(suite, test_ucx_list_append); |
114 ucx_test_register(suite, test_ucx_list_append); |
111 ucx_test_register(suite, test_ucx_list_prepend); |
115 ucx_test_register(suite, test_ucx_list_prepend); |
112 ucx_test_register(suite, test_ucx_list_equals); |
116 ucx_test_register(suite, test_ucx_list_equals); |
113 ucx_test_register(suite, test_ucx_list_concat); |
117 ucx_test_register(suite, test_ucx_list_concat); |