X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fplus.cpp;h=7a37ee17faeceb0d26623d975de3b14f7a4b28ec;hb=f5c167f523682cb08109842ce010b29e80fdf63d;hp=eba08c08d56460a7ae71cec10c72906fc76bb9c9;hpb=e26021d3a6abec207f79f129d620cef1c9a18e9a;p=m6w6%2Flibmemcached diff --git a/tests/plus.cpp b/tests/plus.cpp index eba08c08..7a37ee17 100644 --- a/tests/plus.cpp +++ b/tests/plus.cpp @@ -299,12 +299,15 @@ collection_st collection[] ={ void get_world(world_st *world) { world->collections= collection; - world->test_startup= reinterpret_cast(world_test_startup); - world->flush= reinterpret_cast(world_flush); - world->pre_run= reinterpret_cast(world_pre_run); + world->create= reinterpret_cast(world_create); - world->post_run= reinterpret_cast(world_post_run); - world->on_error= reinterpret_cast(world_on_error); world->destroy= reinterpret_cast(world_destroy); + + world->test.startup= reinterpret_cast(world_test_startup); + world->test.flush= reinterpret_cast(world_flush); + world->test.pre_run= reinterpret_cast(world_pre_run); + world->test.post_run= reinterpret_cast(world_post_run); + world->test.on_error= reinterpret_cast(world_on_error); + world->runner= &defualt_libmemcached_runner; }