projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
m4: fix typo
[awesomized/libmemcached]
/
tests
/
libmemcached-1.0
/
atomsmasher.cc
diff --git
a/tests/libmemcached-1.0/atomsmasher.cc
b/tests/libmemcached-1.0/atomsmasher.cc
index 45171c8b12ec0a719a6966c0662fb18ef254455b..6dbd6d8cc3898c4cb2db089321ce26e3fef72300 100644
(file)
--- a/
tests/libmemcached-1.0/atomsmasher.cc
+++ b/
tests/libmemcached-1.0/atomsmasher.cc
@@
-12,11
+12,11
@@
/*
Sample test application.
*/
/*
Sample test application.
*/
-#include <config.h>
+#include <
mem_
config.h>
#include <libtest/test.hpp>
#include <libtest/test.hpp>
-#include <libmemcached/memcached.h>
+#include <libmemcached
-1.0
/memcached.h>
#include <cstdio>
#include <cstdlib>
#include <cstdio>
#include <cstdlib>
@@
-273,12
+273,12
@@
collection_st collection[] ={
#include "tests/libmemcached_world.h"
#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);
}
world->set_runner(new LibmemcachedRunner);
}