test/main.c

changeset 185
a48428642b4e
parent 180
2185f19dcc45
child 192
1e51558b9d09
--- a/test/main.c	Mon Jul 21 13:18:32 2014 +0200
+++ b/test/main.c	Mon Jul 28 14:36:25 2014 +0200
@@ -38,6 +38,7 @@
 #include "list_tests.h"
 #include "string_tests.h"
 #include "mpool_tests.h"
+#include "stack_tests.h"
 #include "map_tests.h"
 #include "prop_tests.h"
 #include "buffer_tests.h"
@@ -156,6 +157,14 @@
         ucx_test_register(suite, test_ucx_mempool_set_destr);
         ucx_test_register(suite, test_ucx_mempool_reg_destr);
         ucx_test_register(suite, test_ucx_mempool_realloc);
+        
+        /* UcxStack Tests */
+        ucx_test_register(suite, test_ucx_stack_init);
+        ucx_test_register(suite, test_ucx_stack_malloc);
+        ucx_test_register(suite, test_ucx_stack_calloc);
+        ucx_test_register(suite, test_ucx_stack_free);
+        ucx_test_register(suite, test_ucx_stack_realloc);
+        ucx_test_register(suite, test_ucx_stack_pop);
 
         /* UcxMap Tests */
         ucx_test_register(suite, test_ucx_map_new);

mercurial