projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in trunk
[awesomized/libmemcached]
/
tests
/
error_conditions.cc
diff --git
a/tests/error_conditions.cc
b/tests/error_conditions.cc
index ad4e2c8372055842d1116a1990711155814013bc..66e7c44e02534b085c368791647c2cca6b005aa1 100644
(file)
--- a/
tests/error_conditions.cc
+++ b/
tests/error_conditions.cc
@@
-35,7
+35,8
@@
*
*/
*
*/
-#include <libtest/common.h>
+#include <config.h>
+#include <libtest/test.hpp>
#define BUILDING_LIBMEMCACHED
#define BUILDING_LIBMEMCACHED
@@
-51,10
+52,10
@@
test_return_t memcached_increment_MEMCACHED_NO_SERVERS(memcached_st *)
memc_ptr= memcached_create(NULL);
test_true(memc_ptr);
memc_ptr= memcached_create(NULL);
test_true(memc_ptr);
- memcached_increment(memc_ptr,
memcached
_literal_param("dead key"), 1, NULL);
+ memcached_increment(memc_ptr,
test
_literal_param("dead key"), 1, NULL);
test_true(memcached_last_error(memc_ptr) == MEMCACHED_NO_SERVERS);
test_true(memcached_last_error(memc_ptr) == MEMCACHED_NO_SERVERS);
- memcached_increment(memc_ptr,
memcached
_literal_param("dead key"), 1, NULL);
+ memcached_increment(memc_ptr,
test
_literal_param("dead key"), 1, NULL);
test_true(memcached_last_error(memc_ptr) == MEMCACHED_NO_SERVERS);
memcached_free(memc_ptr);
test_true(memcached_last_error(memc_ptr) == MEMCACHED_NO_SERVERS);
memcached_free(memc_ptr);