fixed crash fails by completing the implementation of the tested function....
13
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
1
|
/*
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
2
|
*
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
3
|
*/
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
4
|
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
5
|
#ifndef MPOOL_TESTS_H
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
6
|
#define MPOOL_TESTS_H
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
7
|
|
28
|
8
|
#include "ucx/test.h"
|
17
|
9
|
#include "ucx/mempool.h"
|
13
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
10
|
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
11
|
#ifdef __cplusplus
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
12
|
extern "C" {
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
13
|
#endif
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
14
|
|
28
|
15
|
UCX_TEST_DECLARE(test_ucx_mempool_new)
|
|
16
|
UCX_TEST_DECLARE(test_ucx_mempool_malloc)
|
|
17
|
UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap)
|
|
18
|
UCX_TEST_DECLARE(test_ucx_mempool_calloc)
|
|
19
|
UCX_TEST_DECLARE(test_ucx_mempool_set_destr)
|
|
20
|
UCX_TEST_DECLARE(test_ucx_mempool_reg_destr)
|
|
21
|
UCX_TEST_DECLARE(test_ucx_mempool_realloc)
|
13
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
22
|
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
23
|
#ifdef __cplusplus
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
24
|
}
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
25
|
#endif
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
26
|
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
27
|
#endif /* MPOOL_TESTS_H */
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
28
|
|