From 22d71f347901f29c33a7e3c088ea692f85042261 Mon Sep 17 00:00:00 2001 From: Padraig O'Sullivan Date: Sat, 18 Jul 2009 12:02:56 -0400 Subject: [PATCH] Updating the C++ test case file after making changes to the C++ interface. --- tests/plus.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/plus.cpp b/tests/plus.cpp index dc075478..c21df307 100644 --- a/tests/plus.cpp +++ b/tests/plus.cpp @@ -91,12 +91,12 @@ test_return basic_master_key_test(memcached_st *memc) string value; size_t value_length; - foo.set_by_key(master_key_a, key, value_set, 0, 0); - value= foo.get_by_key(master_key_a, key, &value_length); + foo.setByKey(master_key_a, key, value_set, 0, 0); + value= foo.getByKey(master_key_a, key, &value_length); assert((memcmp(value.c_str(), value_set.c_str(), value_length) == 0)); - value= foo.get_by_key(master_key_b, key, &value_length); + value= foo.getByKey(master_key_b, key, &value_length); assert((memcmp(value.c_str(), value_set.c_str(), value_length) == 0)); return TEST_SUCCESS; @@ -131,7 +131,7 @@ test_return mget_result_function(memcached_st *memc) /* We need to empty the server before we continue the test */ rc= mc.flush(0); - rc= mc.set_all(keys, keys, 50, 9); + rc= mc.setAll(keys, keys, 50, 9); assert(rc == true); rc= mc.mget(keys); @@ -139,7 +139,7 @@ test_return mget_result_function(memcached_st *memc) callbacks[0]= &callback_counter; counter= 0; - rc= mc.fetch_execute(callbacks, static_cast(&counter), 1); + rc= mc.fetchExecute(callbacks, static_cast(&counter), 1); assert(counter == 3); @@ -178,7 +178,7 @@ test_return mget_test(memcached_st *memc) assert(return_value_length == 0); assert(mc_rc == MEMCACHED_END); - rc= mc.set_all(keys, keys, 50, 9); + rc= mc.setAll(keys, keys, 50, 9); assert(rc == true); rc= mc.mget(keys); -- 2.30.2