X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Flibmemcached_world.h;h=ded47ada1ed66fb604a1ca2ccdde017101cab44c;hb=5fb9e63a9f6af5fca174939f7c5fffa360ad75d0;hp=c31b303fa911fae2221670f62fc5847d6fae0eff;hpb=0792d5bdd0b2a352cce1a4cb084eca19b15acc56;p=m6w6%2Flibmemcached diff --git a/tests/libmemcached_world.h b/tests/libmemcached_world.h index c31b303f..ded47ada 100644 --- a/tests/libmemcached_world.h +++ b/tests/libmemcached_world.h @@ -160,28 +160,6 @@ test_return_t world_flush(libmemcached_test_container_st *container) return TEST_SUCCESS; } -static test_return_t world_pre_run(libmemcached_test_container_st *container) -{ - test_true(container->memc); - for (uint32_t loop= 0; loop < memcached_server_list_count(container->memc->servers); loop++) - { - memcached_server_instance_st instance= memcached_server_instance_by_position(container->memc, loop); - - test_compare(-1, instance->fd); - test_compare(0U, instance->cursor_active); - } - - return TEST_SUCCESS; -} - - -static test_return_t world_post_run(libmemcached_test_container_st *container) -{ - test_true(container->memc); - - return TEST_SUCCESS; -} - static test_return_t world_on_error(test_return_t , libmemcached_test_container_st *container) { test_true(container->memc);