m4: fix typo
[awesomized/libmemcached] / tests / libmemcached-1.0 / atomsmasher.cc
index 45171c8b12ec0a719a6966c0662fb18ef254455b..6dbd6d8cc3898c4cb2db089321ce26e3fef72300 100644 (file)
 /*
   Sample test application.
 */
-#include <config.h>
+#include <mem_config.h>
 
 #include <libtest/test.hpp>
 
-#include <libmemcached/memcached.h>
+#include <libmemcached-1.0/memcached.h>
 
 #include <cstdio>
 #include <cstdlib>
@@ -273,12 +273,12 @@ collection_st collection[] ={
 
 #include "tests/libmemcached_world.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);
 }