109 if (suite->failure == 2 && suite->success == 3) { |
109 if (suite->failure == 2 && suite->success == 3) { |
110 ucx_test_suite_free(suite); |
110 ucx_test_suite_free(suite); |
111 |
111 |
112 printf("\nLibrary function tests\n"); |
112 printf("\nLibrary function tests\n"); |
113 suite = ucx_test_suite_new(); |
113 suite = ucx_test_suite_new(); |
|
114 /* sstring Tests */ |
|
115 ucx_test_register(suite, test_sstr); |
|
116 ucx_test_register(suite, test_sstr_len_cat); |
|
117 ucx_test_register(suite, test_sstrsplit); |
|
118 ucx_test_register(suite, test_sstrtrim); |
|
119 |
114 /* UcxLogger Tests */ |
120 /* UcxLogger Tests */ |
115 ucx_test_register(suite, test_ucx_logger_log); |
121 ucx_test_register(suite, test_ucx_logger_log); |
116 |
122 |
117 /* UcxList Tests */ |
123 /* UcxList Tests */ |
118 ucx_test_register(suite, test_ucx_list_append); |
124 ucx_test_register(suite, test_ucx_list_append); |
160 ucx_test_register(suite, test_ucx_map_iterator_chain); |
166 ucx_test_register(suite, test_ucx_map_iterator_chain); |
161 ucx_test_register(suite, test_ucx_map_store_load); |
167 ucx_test_register(suite, test_ucx_map_store_load); |
162 ucx_test_register(suite, test_ucx_map_store_load_with_mempool); |
168 ucx_test_register(suite, test_ucx_map_store_load_with_mempool); |
163 ucx_test_register(suite, test_ucx_map_clone); |
169 ucx_test_register(suite, test_ucx_map_clone); |
164 ucx_test_register(suite, test_ucx_map_rehash); |
170 ucx_test_register(suite, test_ucx_map_rehash); |
165 |
|
166 /* sstring Tests */ |
|
167 ucx_test_register(suite, test_sstr); |
|
168 ucx_test_register(suite, test_sstr_len_cat); |
|
169 ucx_test_register(suite, test_sstrsplit); |
|
170 |
171 |
171 /* UcxMemstream Tests */ |
172 /* UcxMemstream Tests */ |
172 ucx_test_register(suite, test_ucx_buffer_seektell); |
173 ucx_test_register(suite, test_ucx_buffer_seektell); |
173 ucx_test_register(suite, test_ucx_buffer_putc); |
174 ucx_test_register(suite, test_ucx_buffer_putc); |
174 ucx_test_register(suite, test_ucx_buffer_putc_ax); |
175 ucx_test_register(suite, test_ucx_buffer_putc_ax); |