X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Flibmemcached_world_socket.h;h=4080a1b075d275a646ae86e0566ba6d73416ad2b;hb=450a9f280cd5d5b83da7561ff0362854f5c8b204;hp=8016dba4ad6229dcafaf465d3f2b889ee39a42ba;hpb=ffade15f8c3b3fb29d6daf901f931d586da2b3e1;p=m6w6%2Flibmemcached diff --git a/tests/libmemcached_world_socket.h b/tests/libmemcached_world_socket.h index 8016dba4..4080a1b0 100644 --- a/tests/libmemcached_world_socket.h +++ b/tests/libmemcached_world_socket.h @@ -141,29 +141,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);