Refactor out item specific bits of the testing framework.
[m6w6/libmemcached] / tests / libmemcached_world_socket.h
index 8016dba4ad6229dcafaf465d3f2b889ee39a42ba..4080a1b075d275a646ae86e0566ba6d73416ad2b 100644 (file)
@@ -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);