test/main.c

changeset 60
abae4669fba7
parent 58
733f22fca61a
child 62
6814aea8462d
equal deleted inserted replaced
59:c80c910fe191 60:abae4669fba7
37 #include "list_tests.h" 37 #include "list_tests.h"
38 #include "dlist_tests.h" 38 #include "dlist_tests.h"
39 #include "string_tests.h" 39 #include "string_tests.h"
40 #include "mpool_tests.h" 40 #include "mpool_tests.h"
41 #include "map_tests.h" 41 #include "map_tests.h"
42 #include "memstream_tests.h" 42 #include "buffer_tests.h"
43 43
44 int cmp_string(void* o1, void* o2, void* data) { 44 int cmp_string(void* o1, void* o2, void* data) {
45 return strcmp((char*)o1, (char*)o2); 45 return strcmp((char*)o1, (char*)o2);
46 } 46 }
47 47
162 ucx_test_register(suite, test_sstr); 162 ucx_test_register(suite, test_sstr);
163 ucx_test_register(suite, test_sstr_len_cat); 163 ucx_test_register(suite, test_sstr_len_cat);
164 ucx_test_register(suite, test_sstrsplit); 164 ucx_test_register(suite, test_sstrsplit);
165 165
166 /* UcxMemstream Tests */ 166 /* UcxMemstream Tests */
167 ucx_test_register(suite, test_ucx_memseektell); 167 ucx_test_register(suite, test_ucx_buffer_seektell);
168 ucx_test_register(suite, test_ucx_memputc); 168 ucx_test_register(suite, test_ucx_buffer_putc);
169 ucx_test_register(suite, test_ucx_memgetc); 169 ucx_test_register(suite, test_ucx_buffer_getc);
170 ucx_test_register(suite, test_ucx_memwrite); 170 ucx_test_register(suite, test_ucx_buffer_write);
171 ucx_test_register(suite, test_ucx_memread); 171 ucx_test_register(suite, test_ucx_buffer_read);
172 172
173 ucx_test_run(suite, stdout); 173 ucx_test_run(suite, stdout);
174 fflush(stdout); 174 fflush(stdout);
175 ucx_test_suite_free(suite); 175 ucx_test_suite_free(suite);
176 176

mercurial