Fix the test result and hopefully make the description clearer

This commit is contained in:
Andrew Ruthven 2021-02-04 23:08:05 +13:00
parent 7c37035201
commit 963772a0f0
2 changed files with 60 additions and 2 deletions

View File

@ -1101,6 +1101,38 @@ X-DESCRIPTION;CHARSET=utf-8:außerdem
CATEGORIES:uni
REV:date
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/addressbook/J%C3%B6rg_Test-Ro%C3%9Fdeutscher_2_0.vcf</href>
<propstat>
<prop>
<getetag>some valid etag</getetag>
<VC:address-data>BEGIN:VCARD
VERSION:2.1
N;CHARSET=UTF-8:Test-Roßdeutscher;Jörg;;;
FN;CHARSET=UTF-8:Jörg Test-Roßdeutscher
ORG:Factor Design AG;
EMAIL;INTERNET;WORK:joerg.rossdeutscher@factordesign.foo
EMAIL;INTERNET;WORK:joerg@factordesign.foo
EMAIL;INTERNET;HOME:joerg.rossdeutscher@gesindel.foo
EMAIL;INTERNET;HOME:raettchen@gmail.bar
TEL;WORK:040 999999432571-43
TEL;CELL:017799999978200
TEL;HOME:040999999793017
ADR;WORK;CHARSET=UTF-8:;;abcStraße 58;Hamburg;;20357;Deutschland
ADR;HOME:;;Gayens Weg 9;Hamburg;;22761;Deutschland
NOTE;CHARSET=UTF-8:
Technik\, Web\, DTP\, SysAdmin\, €-Vermögensverwalter
URL;TYPE=pref:www.gesindel.baz
URL:www.factordesign.foo
BDAY;VALUE=date:1969-06-20
UID:a nice UID
REV:date
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>
@ -1138,6 +1170,31 @@ X-ABUID:58AB933D-81D3-4095-8CB5-A63431AC934D:ABPerson
UID:a nice UID
REV:date
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/addresses/def02753-ea1c-aa34-957d-aa847deb7a55.vcf</href>
<propstat>
<prop>
<getetag>some valid etag</getetag>
<VC:address-data>BEGIN:VCARD
FN:Donald Kelly
N:Kelly;Donald
ORG:Esposo Designs Ltd
ADR:Newtown;;25 Rintoul St;Wellington;;;New Zealand
EMAIL;INTERNET:donald@example.co.nz
TITLE:Proprietor
TEL;WORK:+64 4 347 4747
TEL;CELL:+64 2 1234-4321
X-MOZILLA-HTML:TRUE
URL:www.example.co.nz
VERSION:2.1
UID:a nice UID
REV:date
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>

View File

@ -2,8 +2,9 @@
# Request a REPORT
#
# param-filter should filter on parameter value. With a negated
# null value we shouldn't return any vCards with the prop value
# but with param value.
# null value we should return all vCards with the property that
# matches the prop-filter type, and there there is a parameter
# of TYPE set.
#
TYPE=REPORT
URL=http://regression.host/caldav.php/user1/addressbook/