src/server/plugins/postgresql/pgtest.h

branch
webdav
changeset 318
60870dbac94f
parent 316
4090fc1b1c52
child 324
44cf877b3d9f
equal deleted inserted replaced
317:09676b559091 318:60870dbac94f
57 57
58 UCX_TEST(test_pg_webdav_create_from_resdata); 58 UCX_TEST(test_pg_webdav_create_from_resdata);
59 UCX_TEST(test_pg_prepare_tests); 59 UCX_TEST(test_pg_prepare_tests);
60 UCX_TEST(test_pg_webdav_propfind); 60 UCX_TEST(test_pg_webdav_propfind);
61 UCX_TEST(test_pg_webdav_propfind_allprop); 61 UCX_TEST(test_pg_webdav_propfind_allprop);
62 UCX_TEST(test_pg_webdav_proppatch_set);
62 63
63 64
64 /* --------------------------- PROPFIND --------------------------- */ 65 /* --------------------------- PROPFIND --------------------------- */
65 66
66 #define PG_TEST_PROPFIND1 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \ 67 #define PG_TEST_PROPFIND1 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \
94 #define PG_TEST_ALLPROP "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \ 95 #define PG_TEST_ALLPROP "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \
95 <D:propfind xmlns:D=\"DAV:\" xmlns:X=\"http://example.com/\" > \ 96 <D:propfind xmlns:D=\"DAV:\" xmlns:X=\"http://example.com/\" > \
96 <D:allprop/> \ 97 <D:allprop/> \
97 </D:propfind>" 98 </D:propfind>"
98 99
100 #define PG_TEST_PROPPATCH1 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \
101 <D:propertyupdate xmlns:D=\"DAV:\" xmlns:X=\"http://example.com/\"> \
102 <D:set> \
103 <D:prop><X:test>test</X:test><X:author>name</X:author></D:prop> \
104 </D:set> \
105 </D:propertyupdate>"
99 106
100 #ifdef __cplusplus 107 #ifdef __cplusplus
101 } 108 }
102 #endif 109 #endif
103 110

mercurial