test/main.c

changeset 108
d2b1e67b2b48
parent 103
08018864fb91
child 109
75cb6590358b
equal deleted inserted replaced
107:86b19c98b5fd 108:d2b1e67b2b48
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 "prop_tests.h"
42 #include "buffer_tests.h" 43 #include "buffer_tests.h"
43 44
44 UCX_TEST_IMPLEMENT(testTestSuitePositive) { 45 UCX_TEST_IMPLEMENT(testTestSuitePositive) {
45 UCX_TEST_BEGIN 46 UCX_TEST_BEGIN
46 UCX_TEST_ASSERT(2*2 == 4, "the test framework fails"); 47 UCX_TEST_ASSERT(2*2 == 4, "the test framework fails");
166 ucx_test_register(suite, test_ucx_map_iterator_chain); 167 ucx_test_register(suite, test_ucx_map_iterator_chain);
167 ucx_test_register(suite, test_ucx_map_store_load); 168 ucx_test_register(suite, test_ucx_map_store_load);
168 ucx_test_register(suite, test_ucx_map_store_load_with_mempool); 169 ucx_test_register(suite, test_ucx_map_store_load_with_mempool);
169 ucx_test_register(suite, test_ucx_map_clone); 170 ucx_test_register(suite, test_ucx_map_clone);
170 ucx_test_register(suite, test_ucx_map_rehash); 171 ucx_test_register(suite, test_ucx_map_rehash);
171 172
172 /* UcxMemstream Tests */ 173 /* UcxPropertiesParser Tests */
174 ucx_test_register(suite, test_ucx_prop_new);
175 ucx_test_register(suite, test_ucx_prop_parse);
176 ucx_test_register(suite, test_ucx_prop_parse_multi);
177 ucx_test_register(suite, test_ucx_prop_parse_part);
178 ucx_test_register(suite, test_ucx_prop_parse_long);
179
180 /* UcxBuffer Tests */
173 ucx_test_register(suite, test_ucx_buffer_seektell); 181 ucx_test_register(suite, test_ucx_buffer_seektell);
174 ucx_test_register(suite, test_ucx_buffer_putc); 182 ucx_test_register(suite, test_ucx_buffer_putc);
175 ucx_test_register(suite, test_ucx_buffer_putc_ax); 183 ucx_test_register(suite, test_ucx_buffer_putc_ax);
176 ucx_test_register(suite, test_ucx_buffer_getc); 184 ucx_test_register(suite, test_ucx_buffer_getc);
177 ucx_test_register(suite, test_ucx_buffer_write); 185 ucx_test_register(suite, test_ucx_buffer_write);

mercurial