6 #include <memcached.hh>
11 #include <sys/types.h>
18 uint8_t basic_test(memcached_st
*memc
)
21 char *value_set
= "This is some data";
25 foo
.set("mine", value_set
, strlen(value_set
));
26 value
= foo
.get("mine", &value_length
);
28 assert((memcmp(value
, value_set
, value_length
) == 0));
34 {"basic", 0, basic_test
},
38 collection_st collection
[] ={
39 {"block", 0, 0, tests
},
43 collection_st
*gets_collections(void)