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

     1 /* 
     2  *
     3  */
     5 #ifndef MAP_TESTS_H
     6 #define	MAP_TESTS_H
     8 #include "ucx/test.h"
     9 #include "ucx/map.h"
    11 #ifdef	__cplusplus
    12 extern "C" {
    13 #endif
    15 UCX_TEST_DECLARE(test_ucx_map_new)
    16 UCX_TEST_DECLARE(test_ucx_key)
    17 UCX_TEST_DECLARE(test_ucx_map_put)
    18 UCX_TEST_DECLARE(test_ucx_map_get)
    19 UCX_TEST_DECLARE(test_ucx_map_iterator)
    20 UCX_TEST_DECLARE(test_ucx_map_iterator_chain)
    21 UCX_TEST_DECLARE(test_ucx_map_store_load)
    22 UCX_TEST_DECLARE(test_ucx_map_store_load_with_mempool)
    23 UCX_TEST_DECLARE(test_ucx_map_clone)
    26 #ifdef	__cplusplus
    27 }
    28 #endif
    30 #endif	/* MAP_TESTS_H */

mercurial