test/mpool_tests.h

Fri, 12 Oct 2012 12:46:54 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 12 Oct 2012 12:46:54 +0200
changeset 74
dc8bade7f2a3
parent 59
c80c910fe191
child 103
08018864fb91
permissions
-rw-r--r--

made the code work with g++ and without warnings

13
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 /*
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 *
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 */
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 #ifndef MPOOL_TESTS_H
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6 #define MPOOL_TESTS_H
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7
28
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
8 #include "ucx/test.h"
17
2e7050c3a18e fix for ultra fail fix
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 13
diff changeset
9 #include "ucx/mempool.h"
13
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
10
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11 #ifdef __cplusplus
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 extern "C" {
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13 #endif
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14
59
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 28
diff changeset
15 UCX_TEST_DECLARE(test_ucx_mempool_new);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 28
diff changeset
16 UCX_TEST_DECLARE(test_ucx_mempool_malloc);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 28
diff changeset
17 UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 28
diff changeset
18 UCX_TEST_DECLARE(test_ucx_mempool_calloc);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 28
diff changeset
19 UCX_TEST_DECLARE(test_ucx_mempool_set_destr);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 28
diff changeset
20 UCX_TEST_DECLARE(test_ucx_mempool_reg_destr);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 28
diff changeset
21 UCX_TEST_DECLARE(test_ucx_mempool_realloc);
13
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
22
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
23 #ifdef __cplusplus
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
24 }
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
25 #endif
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
26
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
27 #endif /* MPOOL_TESTS_H */
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
28

mercurial