Mon, 20 Feb 2012 15:30:45 +0100
new mempool tests
olaf@13 | 1 | /* |
olaf@13 | 2 | * |
olaf@13 | 3 | */ |
olaf@13 | 4 | |
olaf@13 | 5 | #ifndef MPOOL_TESTS_H |
olaf@13 | 6 | #define MPOOL_TESTS_H |
olaf@13 | 7 | |
universe@28 | 8 | #include "ucx/test.h" |
olaf@17 | 9 | #include "ucx/mempool.h" |
olaf@13 | 10 | |
olaf@13 | 11 | #ifdef __cplusplus |
olaf@13 | 12 | extern "C" { |
olaf@13 | 13 | #endif |
olaf@13 | 14 | |
universe@28 | 15 | UCX_TEST_DECLARE(test_ucx_mempool_new) |
universe@28 | 16 | UCX_TEST_DECLARE(test_ucx_mempool_malloc) |
universe@28 | 17 | UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap) |
universe@28 | 18 | UCX_TEST_DECLARE(test_ucx_mempool_calloc) |
universe@28 | 19 | UCX_TEST_DECLARE(test_ucx_mempool_set_destr) |
universe@28 | 20 | UCX_TEST_DECLARE(test_ucx_mempool_reg_destr) |
universe@28 | 21 | UCX_TEST_DECLARE(test_ucx_mempool_realloc) |
olaf@13 | 22 | |
olaf@13 | 23 | #ifdef __cplusplus |
olaf@13 | 24 | } |
olaf@13 | 25 | #endif |
olaf@13 | 26 | |
olaf@13 | 27 | #endif /* MPOOL_TESTS_H */ |
olaf@13 | 28 |