projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
testing
[awesomized/libmemcached]
/
test
/
tests
/
memcached
/
behavior.cpp
diff --git
a/test/tests/memcached/behavior.cpp
b/test/tests/memcached/behavior.cpp
index 3cfef2294ac330d86ee5ea603d33432c52ffe3f4..655265e99e858b6c542a6ea4d6f308625d2c3925 100644
(file)
--- a/
test/tests/memcached/behavior.cpp
+++ b/
test/tests/memcached/behavior.cpp
@@
-1,12
+1,6
@@
#include "test/lib/common.hpp"
#include "test/lib/MemcachedCluster.hpp"
#include "test/lib/common.hpp"
#include "test/lib/MemcachedCluster.hpp"
-
-static memcached_return_t callback_counter(const memcached_st *, memcached_result_st *, void *context) {
- auto *counter = reinterpret_cast<size_t *>(context);
- *counter = *counter + 1;
-
- return MEMCACHED_SUCCESS;
-}
+#include "test/fixtures/callbacks.hpp"
TEST_CASE("memcached_behavior") {
auto test = MemcachedCluster::network();
TEST_CASE("memcached_behavior") {
auto test = MemcachedCluster::network();