9 #include <libmemcached/memcached.h>
11 static test_return_t
exists_test(void *obj
)
20 static test_return_t
new_test(void *obj
)
22 Memcached
*memc
= new Memcached
;
32 static test_return_t
copy_test(void *obj
)
34 Memcached
*memc
= new Memcached
;
35 Memcached
*copy(memc
);
45 static test_return_t
assign_test(void *obj
)
59 { "exists", 0, reinterpret_cast<test_callback_fn
>(exists_test
) },
60 { "new", 0, reinterpret_cast<test_callback_fn
>(new_test
) },
61 { "copy", 0, reinterpret_cast<test_callback_fn
>(copy_test
) },
62 { "assign", 0, reinterpret_cast<test_callback_fn
>(assign_test
) },
66 collection_st collection
[] ={
67 {"basic", 0, 0, basic
},
71 void get_world(world_st
*world
)
73 world
->collections
= collection
;