test/mpool_tests.h

Wed, 27 Feb 2013 14:04:45 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 27 Feb 2013 14:04:45 +0100
changeset 97
499e1b465d77
parent 59
c80c910fe191
child 103
08018864fb91
permissions
-rw-r--r--

fixed execution order of tests + added test for sstrtrim

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