X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fatomsmasher.c;h=3e759767c9b74c16e6c5bd5352feebec82e69869;hb=3928e14fbe1ed17cefe9bdbbb282fb7ecf053e7a;hp=b0abc4ed38190668459445681969f870f44360db;hpb=e26021d3a6abec207f79f129d620cef1c9a18e9a;p=m6w6%2Flibmemcached diff --git a/tests/atomsmasher.c b/tests/atomsmasher.c index b0abc4ed..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->test_startup= (test_callback_fn)world_test_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; }