Fri, 08 Feb 2013 17:09:12 +0100
modified code to compile with -pedantic
20
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
1 | /* |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
2 | * |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
3 | */ |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
4 | |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
5 | #ifndef MAP_TESTS_H |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
6 | #define MAP_TESTS_H |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
7 | |
29
bce0d7f2912b
fixed map with the help of new tests
Mike Becker <universe@uap-core.de>
parents:
20
diff
changeset
|
8 | #include "ucx/test.h" |
20
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
9 | #include "ucx/map.h" |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
10 | |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
11 | #ifdef __cplusplus |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
12 | extern "C" { |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
13 | #endif |
db7d9860dbbd
added some map functions
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:
53
diff
changeset
|
15 | UCX_TEST_DECLARE(test_ucx_map_new); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
16 | UCX_TEST_DECLARE(test_ucx_key); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
17 | UCX_TEST_DECLARE(test_ucx_map_put); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
18 | UCX_TEST_DECLARE(test_ucx_map_get); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
19 | UCX_TEST_DECLARE(test_ucx_map_remove); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
20 | UCX_TEST_DECLARE(test_ucx_map_iterator); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
21 | UCX_TEST_DECLARE(test_ucx_map_iterator_chain); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
22 | UCX_TEST_DECLARE(test_ucx_map_store_load); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
23 | UCX_TEST_DECLARE(test_ucx_map_store_load_with_mempool); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
24 | UCX_TEST_DECLARE(test_ucx_map_clone); |
c80c910fe191
added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents:
53
diff
changeset
|
25 | UCX_TEST_DECLARE(test_ucx_map_rehash); |
20
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
26 | |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
27 | |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
28 | #ifdef __cplusplus |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
29 | } |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
30 | #endif |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
31 | |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
32 | #endif /* MAP_TESTS_H */ |
db7d9860dbbd
added some map functions
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
33 |