test/main.c

changeset 39
bf8ab7bb74ff
parent 36
a9d656e4f7ce
child 40
583718dd4cf3
equal deleted inserted replaced
38:35f67a8ef875 39:bf8ab7bb74ff
33 33
34 #include "main.h" 34 #include "main.h"
35 35
36 #include "list_tests.h" 36 #include "list_tests.h"
37 #include "dlist_tests.h" 37 #include "dlist_tests.h"
38 38 #include "string_tests.h"
39 #include "mpool_tests.h" 39 #include "mpool_tests.h"
40 #include "map_tests.h" 40 #include "map_tests.h"
41 41
42 int cmp_string(void* o1, void* o2, void* data) { 42 int cmp_string(void* o1, void* o2, void* data) {
43 return strcmp((char*)o1, (char*)o2); 43 return strcmp((char*)o1, (char*)o2);
146 ucx_test_register(suite, test_ucx_map_put); 146 ucx_test_register(suite, test_ucx_map_put);
147 ucx_test_register(suite, test_ucx_map_get); 147 ucx_test_register(suite, test_ucx_map_get);
148 ucx_test_register(suite, test_ucx_map_iterator); 148 ucx_test_register(suite, test_ucx_map_iterator);
149 ucx_test_register(suite, test_ucx_map_iterator_chain); 149 ucx_test_register(suite, test_ucx_map_iterator_chain);
150 150
151 /* sstring Tests */
152 ucx_test_register(suite, test_sstrsplit);
153
151 ucx_test_run(suite, stdout); 154 ucx_test_run(suite, stdout);
152 ucx_test_suite_free(suite); 155 ucx_test_suite_free(suite);
153 156
154 return EXIT_SUCCESS; 157 return EXIT_SUCCESS;
155 } else { 158 } else {

mercurial