test/map_tests.h

Fri, 05 Oct 2012 11:52:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 05 Oct 2012 11:52:53 +0200
changeset 48
621a4430c404
parent 44
46356d74e873
child 51
1c78cd19fb6b
permissions
-rw-r--r--

map can now load values from file into pooled memory

use with care when using a decoder that also allocates memory

olaf@20 1 /*
olaf@20 2 *
olaf@20 3 */
olaf@20 4
olaf@20 5 #ifndef MAP_TESTS_H
olaf@20 6 #define MAP_TESTS_H
olaf@20 7
universe@29 8 #include "ucx/test.h"
olaf@20 9 #include "ucx/map.h"
olaf@20 10
olaf@20 11 #ifdef __cplusplus
olaf@20 12 extern "C" {
olaf@20 13 #endif
olaf@20 14
universe@29 15 UCX_TEST_DECLARE(test_ucx_map_new)
universe@29 16 UCX_TEST_DECLARE(test_ucx_key)
universe@29 17 UCX_TEST_DECLARE(test_ucx_map_put)
universe@29 18 UCX_TEST_DECLARE(test_ucx_map_get)
olaf@31 19 UCX_TEST_DECLARE(test_ucx_map_iterator)
universe@33 20 UCX_TEST_DECLARE(test_ucx_map_iterator_chain)
universe@42 21 UCX_TEST_DECLARE(test_ucx_map_store_load)
universe@48 22 UCX_TEST_DECLARE(test_ucx_map_store_load_with_mempool)
olaf@44 23 UCX_TEST_DECLARE(test_ucx_map_clone)
olaf@20 24
olaf@20 25
olaf@20 26 #ifdef __cplusplus
olaf@20 27 }
olaf@20 28 #endif
olaf@20 29
olaf@20 30 #endif /* MAP_TESTS_H */
olaf@20 31

mercurial