X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fplus.cpp;h=f9cbdd5e748b8b72afea8a81522df9b7ce899c83;hb=5f6fdff46fffa8860db1fab64c4be4ed2855c8ed;hp=be6cde5098cfad6d1cd2e39a4799cfd7c3dbaf37;hpb=a246ac50a88e4af750fd2dd209eff94dcadf72d2;p=m6w6%2Flibmemcached diff --git a/tests/plus.cpp b/tests/plus.cpp index be6cde50..f9cbdd5e 100644 --- a/tests/plus.cpp +++ b/tests/plus.cpp @@ -299,12 +299,18 @@ collection_st collection[] ={ void get_world(world_st *world) { world->collections= collection; - world->collection_startup= reinterpret_cast(world_collection_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->collection.startup= reinterpret_cast(world_container_startup); + world->collection.shutdown= reinterpret_cast(world_container_shutdown); + world->runner= &defualt_libmemcached_runner; }