X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fatomsmasher.c;h=3e759767c9b74c16e6c5bd5352feebec82e69869;hb=69e37123baed3e7d5970be3c576fb61f91713736;hp=d3074a7f1eb61da9aebb5a6b86d8af68b703016d;hpb=a246ac50a88e4af750fd2dd209eff94dcadf72d2;p=m6w6%2Flibmemcached diff --git a/tests/atomsmasher.c b/tests/atomsmasher.c index d3074a7f..3e759767 100644 --- a/tests/atomsmasher.c +++ b/tests/atomsmasher.c @@ -235,12 +235,15 @@ collection_st collection[] ={ void get_world(world_st *world) { world->collections= collection; - world->collection_startup= (test_callback_fn)world_collection_startup; - world->flush= (test_callback_fn)world_flush; - world->pre_run= (test_callback_fn)world_pre_run; + world->create= (test_callback_create_fn)world_create; - world->post_run= (test_callback_fn)world_post_run; - world->on_error= (test_callback_error_fn)world_on_error; world->destroy= (test_callback_fn)world_destroy; + + world->test.startup= (test_callback_fn)world_test_startup; + world->test.flush= (test_callback_fn)world_flush; + world->test.pre_run= (test_callback_fn)world_pre_run; + world->test.post_run= (test_callback_fn)world_post_run; + world->test.on_error= (test_callback_error_fn)world_on_error; + world->runner= &defualt_libmemcached_runner; }