--- a/test/prop_tests.c Fri Aug 09 10:24:02 2013 +0200 +++ b/test/prop_tests.c Fri Aug 09 11:32:10 2013 +0200 @@ -28,7 +28,7 @@ #include "prop_tests.h" -UCX_TEST_IMPLEMENT(test_ucx_properties_new) { +UCX_TEST(test_ucx_properties_new) { UcxProperties *parser = ucx_properties_new(); UCX_TEST_BEGIN @@ -42,7 +42,7 @@ ucx_properties_free(parser); } -UCX_TEST_IMPLEMENT(test_ucx_properties_next) { +UCX_TEST(test_ucx_properties_next) { const char *tests[] = { "name = value\n", "name=value\n", @@ -113,7 +113,7 @@ UCX_TEST_END } -UCX_TEST_IMPLEMENT(test_ucx_properties_next_multi) { +UCX_TEST(test_ucx_properties_next_multi) { const char *names[] = { "a", "b", @@ -176,7 +176,7 @@ ucx_properties_free(parser); } -UCX_TEST_IMPLEMENT(test_ucx_properties_next_part) { +UCX_TEST(test_ucx_properties_next_part) { UcxProperties *parser = ucx_properties_new(); const char *str; int r; @@ -286,7 +286,7 @@ ucx_properties_free(parser); } -UCX_TEST_IMPLEMENT(test_ucx_properties_next_long) { +UCX_TEST(test_ucx_properties_next_long) { UcxProperties *parser = ucx_properties_new(); int r; size_t name_len = 512; @@ -362,7 +362,7 @@ ucx_properties_free(parser); } -UCX_TEST_IMPLEMENT(test_ucx_properties2map) { +UCX_TEST(test_ucx_properties2map) { UcxMap *map = ucx_map_new(16); UcxProperties *parser = ucx_properties_new(); @@ -417,7 +417,7 @@ ucx_properties_free(parser); } -UCX_TEST_IMPLEMENT(test_ucx_properties_load) { +UCX_TEST(test_ucx_properties_load) { UCX_TEST_BEGIN FILE *f = tmpfile(); UCX_TEST_ASSERT(f, "test file cannot be opened, test aborted"); @@ -480,7 +480,7 @@ UCX_TEST_END } -UCX_TEST_IMPLEMENT(test_ucx_properties_store) { +UCX_TEST(test_ucx_properties_store) { UcxMap *map1 = ucx_map_new(16); ucx_map_cstr_put(map1, "key1", "value1"); ucx_map_cstr_put(map1, "key2", "value2");