X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Flibmemcached_world.h;h=ded47ada1ed66fb604a1ca2ccdde017101cab44c;hb=5fb9e63a9f6af5fca174939f7c5fffa360ad75d0;hp=34722053b6c500346485a40b2a650e838592dc99;hpb=8853fb2dda92e1c9921893c42efd48bcd72afaf9;p=m6w6%2Flibmemcached diff --git a/tests/libmemcached_world.h b/tests/libmemcached_world.h index 34722053..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); @@ -209,5 +187,3 @@ static bool world_destroy(void *object) typedef test_return_t (*libmemcached_test_callback_fn)(memcached_st *); #include "tests/runner.h" - -static LibmemcachedRunner defualt_libmemcached_runner;