projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
try exotic arch on travis [cirrus skip]
[m6w6/libmemcached]
/
tests
/
libmemcached-1.0
/
all_tests_socket.cc
diff --git
a/tests/libmemcached-1.0/all_tests_socket.cc
b/tests/libmemcached-1.0/all_tests_socket.cc
index cdc7b211703c73cd1b3cb69339be9831838b34c9..ad8a37f50410dd97885e6e86a4393186105f3855 100644
(file)
--- a/
tests/libmemcached-1.0/all_tests_socket.cc
+++ b/
tests/libmemcached-1.0/all_tests_socket.cc
@@
-35,9
+35,9
@@
*
*/
*
*/
-#include
<config.h>
-#include
<libtest/test.hpp>
-
+#include
"mem_config.h"
+#include
"libtest/test.hpp"
+#include "libmemcached-1.0/memcached.h"
#include "tests/basic.h"
#include "tests/debug.h"
#include "tests/deprecated.h"
#include "tests/basic.h"
#include "tests/debug.h"
#include "tests/deprecated.h"
@@
-69,12
+69,12
@@
#include "tests/libmemcached_world_socket.h"
#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);
}
world->set_runner(new LibmemcachedRunner);
}