Fix all include location, and drop versions of the library that were never shipped.
[awesomized/libmemcached] / tests / libmemcached-1.0 / atomsmasher.cc
index 45171c8b12ec0a719a6966c0662fb18ef254455b..9b246b176d7ec8860c7e2e9fb8a90721d65b86c0 100644 (file)
@@ -16,7 +16,7 @@
 
 #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);
 }