X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Flibmemcached_world.h;h=4652b2460d9ee908a62c00d7b40bd25286935f24;hb=d753fca27268b2d3ab6bce64411c65287acbe25d;hp=d51d3ad7bc0e6439c6e775e6994cb9f07b0b1e29;hpb=f6f52e084fd6329fdf1e004f98f6579485f6038b;p=awesomized%2Flibmemcached diff --git a/tests/libmemcached_world.h b/tests/libmemcached_world.h index d51d3ad7..4652b246 100644 --- a/tests/libmemcached_world.h +++ b/tests/libmemcached_world.h @@ -62,10 +62,10 @@ test_return_t world_container_startup(libmemcached_test_container_st *container) { memcached_return_t rc; container->parent= memcached_create(NULL); - test_truth((container->parent != NULL)); + test_true((container->parent != NULL)); rc= memcached_server_push(container->parent, container->construct.servers); - test_truth(rc == MEMCACHED_SUCCESS); + test_true(rc == MEMCACHED_SUCCESS); return TEST_SUCCESS; } @@ -81,7 +81,7 @@ test_return_t world_container_shutdown(libmemcached_test_container_st *container test_return_t world_test_startup(libmemcached_test_container_st *container) { container->memc= memcached_clone(NULL, container->parent); - test_truth((container->memc != NULL)); + test_true((container->memc != NULL)); return TEST_SUCCESS; } @@ -101,8 +101,8 @@ test_return_t world_pre_run(libmemcached_test_container_st *container) memcached_server_st *instance= memcached_server_instance_fetch(container->memc, loop); - test_truth(instance->fd == -1); - test_truth(instance->cursor_active == 0); + test_true(instance->fd == -1); + test_true(instance->cursor_active == 0); } return TEST_SUCCESS; @@ -111,7 +111,7 @@ test_return_t world_pre_run(libmemcached_test_container_st *container) test_return_t world_post_run(libmemcached_test_container_st *container) { - assert(container->memc); + test_true(container->memc); return TEST_SUCCESS; }