projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
cmake: build&run tests (sortof)
[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..fc3aa6664c5136994765c24f0568c58d5e1a37f5 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 <
mem_
config.h>
#include <libtest/test.hpp>
#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);
}