1.1 --- a/test/prop_tests.c Fri Aug 09 10:24:02 2013 +0200 1.2 +++ b/test/prop_tests.c Fri Aug 09 11:32:10 2013 +0200 1.3 @@ -28,7 +28,7 @@ 1.4 1.5 #include "prop_tests.h" 1.6 1.7 -UCX_TEST_IMPLEMENT(test_ucx_properties_new) { 1.8 +UCX_TEST(test_ucx_properties_new) { 1.9 UcxProperties *parser = ucx_properties_new(); 1.10 1.11 UCX_TEST_BEGIN 1.12 @@ -42,7 +42,7 @@ 1.13 ucx_properties_free(parser); 1.14 } 1.15 1.16 -UCX_TEST_IMPLEMENT(test_ucx_properties_next) { 1.17 +UCX_TEST(test_ucx_properties_next) { 1.18 const char *tests[] = { 1.19 "name = value\n", 1.20 "name=value\n", 1.21 @@ -113,7 +113,7 @@ 1.22 UCX_TEST_END 1.23 } 1.24 1.25 -UCX_TEST_IMPLEMENT(test_ucx_properties_next_multi) { 1.26 +UCX_TEST(test_ucx_properties_next_multi) { 1.27 const char *names[] = { 1.28 "a", 1.29 "b", 1.30 @@ -176,7 +176,7 @@ 1.31 ucx_properties_free(parser); 1.32 } 1.33 1.34 -UCX_TEST_IMPLEMENT(test_ucx_properties_next_part) { 1.35 +UCX_TEST(test_ucx_properties_next_part) { 1.36 UcxProperties *parser = ucx_properties_new(); 1.37 const char *str; 1.38 int r; 1.39 @@ -286,7 +286,7 @@ 1.40 ucx_properties_free(parser); 1.41 } 1.42 1.43 -UCX_TEST_IMPLEMENT(test_ucx_properties_next_long) { 1.44 +UCX_TEST(test_ucx_properties_next_long) { 1.45 UcxProperties *parser = ucx_properties_new(); 1.46 int r; 1.47 size_t name_len = 512; 1.48 @@ -362,7 +362,7 @@ 1.49 ucx_properties_free(parser); 1.50 } 1.51 1.52 -UCX_TEST_IMPLEMENT(test_ucx_properties2map) { 1.53 +UCX_TEST(test_ucx_properties2map) { 1.54 UcxMap *map = ucx_map_new(16); 1.55 UcxProperties *parser = ucx_properties_new(); 1.56 1.57 @@ -417,7 +417,7 @@ 1.58 ucx_properties_free(parser); 1.59 } 1.60 1.61 -UCX_TEST_IMPLEMENT(test_ucx_properties_load) { 1.62 +UCX_TEST(test_ucx_properties_load) { 1.63 UCX_TEST_BEGIN 1.64 FILE *f = tmpfile(); 1.65 UCX_TEST_ASSERT(f, "test file cannot be opened, test aborted"); 1.66 @@ -480,7 +480,7 @@ 1.67 UCX_TEST_END 1.68 } 1.69 1.70 -UCX_TEST_IMPLEMENT(test_ucx_properties_store) { 1.71 +UCX_TEST(test_ucx_properties_store) { 1.72 UcxMap *map1 = ucx_map_new(16); 1.73 ucx_map_cstr_put(map1, "key1", "value1"); 1.74 ucx_map_cstr_put(map1, "key2", "value2");