projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge pull request #92 from gitter-badger/gitter-badge
[m6w6/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..169f503fa9af18766b7e99809774c87ae7bd9dfb 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>
@@
-27,12
+27,12
@@
#include <sys/stat.h>
#include <unistd.h>
#include <ctime>
#include <sys/stat.h>
#include <unistd.h>
#include <ctime>
-#include <
clients
/generator.h>
-#include <
clients
/execute.h>
+#include <
bin
/generator.h>
+#include <
bin
/execute.h>
-#include
<libtest/server.h>
+#include
"libtest/server.h"
-#include
<tests/debug.h>
+#include
"tests/debug.h"
#include "tests/libmemcached-1.0/generate.h"
#include "tests/libmemcached-1.0/generate.h"
@@
-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);
}