38 #include "string_tests.h" |
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 #include "prop_tests.h" |
41 #include "prop_tests.h" |
42 #include "buffer_tests.h" |
42 #include "buffer_tests.h" |
|
43 #include "utils_tests.h" |
43 |
44 |
44 UCX_EXTERN UCX_TEST(testTestSuitePositive) { |
45 UCX_EXTERN UCX_TEST(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"); |
47 UCX_TEST_END |
48 UCX_TEST_END |
175 ucx_test_register(suite, test_ucx_buffer_write); |
176 ucx_test_register(suite, test_ucx_buffer_write); |
176 ucx_test_register(suite, test_ucx_buffer_write_ax); |
177 ucx_test_register(suite, test_ucx_buffer_write_ax); |
177 ucx_test_register(suite, test_ucx_buffer_read); |
178 ucx_test_register(suite, test_ucx_buffer_read); |
178 ucx_test_register(suite, test_ucx_buffer_extract); |
179 ucx_test_register(suite, test_ucx_buffer_extract); |
179 ucx_test_register(suite, test_ucx_stream_copy); |
180 ucx_test_register(suite, test_ucx_stream_copy); |
|
181 |
|
182 /* Utils Tests*/ |
|
183 ucx_test_register(suite, test_ucx_fprintf); |
|
184 ucx_test_register(suite, test_ucx_asprintf); |
180 |
185 |
181 ucx_test_run(suite, stdout); |
186 ucx_test_run(suite, stdout); |
182 fflush(stdout); |
187 fflush(stdout); |
183 ucx_test_suite_free(suite); |
188 ucx_test_suite_free(suite); |
184 |
189 |