test/main.c

changeset 56
76caac0da4a0
parent 55
180bc6b18fec
child 58
733f22fca61a
     1.1 --- a/test/main.c	Tue Oct 09 10:21:18 2012 +0200
     1.2 +++ b/test/main.c	Tue Oct 09 15:02:40 2012 +0200
     1.3 @@ -39,6 +39,7 @@
     1.4  #include "string_tests.h"
     1.5  #include "mpool_tests.h"
     1.6  #include "map_tests.h"
     1.7 +#include "memstream_tests.h"
     1.8  
     1.9  int cmp_string(void* o1, void* o2, void* data) {
    1.10      return strcmp((char*)o1, (char*)o2);
    1.11 @@ -162,6 +163,15 @@
    1.12          ucx_test_register(suite, test_sstr_len_cat);
    1.13          ucx_test_register(suite, test_sstrsplit);
    1.14  
    1.15 +        /* UcxMemstream Tests */
    1.16 +        ucx_test_register(suite, test_ucx_memseektell);
    1.17 +        ucx_test_register(suite, test_ucx_memputc);
    1.18 +        ucx_test_register(suite, test_ucx_memgetc);
    1.19 +        ucx_test_register(suite, test_ucx_memwrite);
    1.20 +        ucx_test_register(suite, test_ucx_memread);
    1.21 +        ucx_test_register(suite, test_ucx_memprintf);
    1.22 +        ucx_test_register(suite, test_ucx_memscanf);
    1.23 +
    1.24          ucx_test_run(suite, stdout);
    1.25          fflush(stdout);
    1.26          ucx_test_suite_free(suite);

mercurial