Update to support new warnings.
[m6w6/libmemcached] / tests / libmemcached-1.0 / all_tests_socket.cc
index cdc7b211703c73cd1b3cb69339be9831838b34c9..47ab67eb407085935c437baeb5ef72f36c5b80dd 100644 (file)
 
 #include "tests/libmemcached_world_socket.h"
 
-void get_world(Framework *world)
+void get_world(libtest::Framework* world)
 {
-  world->collections= collection;
+  world->collections(collection);
 
-  world->_create= (test_callback_create_fn*)world_create;
-  world->_destroy= (test_callback_destroy_fn*)world_destroy;
+  world->create((test_callback_create_fn*)world_create);
+  world->destroy((test_callback_destroy_fn*)world_destroy);
 
   world->set_runner(new LibmemcachedRunner);
 }