58 UCX_TEST(test_webdav_op_propfind_children); |
58 UCX_TEST(test_webdav_op_propfind_children); |
59 |
59 |
60 UCX_TEST(test_webdav_propfind); |
60 UCX_TEST(test_webdav_propfind); |
61 |
61 |
62 UCX_TEST(test_proppatch_msresponse); |
62 UCX_TEST(test_proppatch_msresponse); |
|
63 UCX_TEST(test_webdav_op_proppatch); |
63 |
64 |
64 /* --------------------------- PROPFIND --------------------------- */ |
65 /* --------------------------- PROPFIND --------------------------- */ |
65 |
66 |
66 #define TEST_PROPFIND1 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \ |
67 #define TEST_PROPFIND1 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \ |
67 <D:propfind xmlns:D=\"DAV:\"> \ |
68 <D:propfind xmlns:D=\"DAV:\"> \ |
143 <X:e/> \ |
144 <X:e/> \ |
144 </D:prop> \ |
145 </D:prop> \ |
145 </D:remove> \ |
146 </D:remove> \ |
146 </D:propertyupdate>" |
147 </D:propertyupdate>" |
147 |
148 |
|
149 #define TEST_PROPPATCH3 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \ |
|
150 <D:propertyupdate xmlns:D=\"DAV:\" xmlns:X=\"http://example.com/\"> \ |
|
151 <D:set> \ |
|
152 <D:prop> \ |
|
153 <X:a>test</X:a> \ |
|
154 <X:fail>15</X:fail> \ |
|
155 </D:prop> \ |
|
156 </D:set> \ |
|
157 <D:remove> \ |
|
158 <D:prop> \ |
|
159 <X:e/> \ |
|
160 </D:prop> \ |
|
161 </D:remove> \ |
|
162 </D:propertyupdate>" |
|
163 |
|
164 #define TEST_PROPPATCH4 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \ |
|
165 <D:propertyupdate xmlns:D=\"DAV:\" xmlns:X=\"http://example.com/\"> \ |
|
166 <D:set> \ |
|
167 <D:prop><X:abort>error</X:abort></D:prop> \ |
|
168 </D:set> \ |
|
169 </D:propertyupdate>" |
|
170 |
148 /* --------------------------- LOCK --------------------------- */ |
171 /* --------------------------- LOCK --------------------------- */ |
149 |
172 |
150 #define TEST_LOCK1 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \ |
173 #define TEST_LOCK1 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \ |
151 <D:lockinfo xmlns:D=\"DAV:\"> \ |
174 <D:lockinfo xmlns:D=\"DAV:\"> \ |
152 <D:lockscope><D:shared/></D:lockscope> \ |
175 <D:lockscope><D:shared/></D:lockscope> \ |