Refactor out item specific bits of the testing framework.
[m6w6/libmemcached] / tests / libmemcached-1.0 / plus.cpp
index 5b3f7e8855a9318b27f6d01685fab5be70582756..bd19feb0471c762846f5410be6f135d6e33d2592 100644 (file)
@@ -293,8 +293,6 @@ void get_world(Framework *world)
 
   world->item._startup= reinterpret_cast<test_callback_fn*>(world_test_startup);
   world->item._flush= reinterpret_cast<test_callback_fn*>(world_flush);
-  world->item.set_pre(reinterpret_cast<test_callback_fn*>(world_pre_run));
-  world->item.set_post(reinterpret_cast<test_callback_fn*>(world_post_run));
   world->_on_error= reinterpret_cast<test_callback_error_fn*>(world_on_error);
 
   world->collection_startup= reinterpret_cast<test_callback_fn*>(world_container_startup);