32dbcf0b17ec7117b86b41bb131f669a5d9bb023
5 #include <memcached.hh>
10 #include <sys/types.h>
17 uint8_t basic_test(memcached_st
*memc
)
20 char *value_set
= "This is some data";
24 foo
.set("mine", value_set
, strlen(value_set
));
25 value
= foo
.get("mine", &value_length
);
27 assert((memcmp(value
, value_set
, value_length
) == 0));
33 {"basic", 0, basic_test
},
37 collection_st collection
[] ={
38 {"block", 0, 0, tests
},
42 collection_st
*gets_collections(void)