From 583cd5e1f2f7009c348d52c5b49002ff9f24a4d0 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 28 Dec 2009 00:22:38 +1300 Subject: [PATCH] New regression tests and updated results. --- .../531-iCal4-PROPFIND.result | 9 +- .../820-Spec-PROPFIND-1.result | 69 ++- .../823-Spec-PROPFIND-4.result | 69 ++- .../regression-suite/826-Spec-PROPFIND.result | 69 ++- .../regression-suite/827-Spec-PROPFIND.result | 426 ++++++++++++++---- .../860-Spec-REPORT-principal.result | 19 +- .../862-Spec-REPORT-principal.result | 4 +- .../862-Spec-REPORT-principal.test | 2 +- .../863-Spec-REPORT-principal.result | 4 +- .../863-Spec-REPORT-principal.test | 2 +- .../870-Principal-PROPFIND.result | 69 ++- .../916-PROPFIND-supported-stuff.result | 9 +- .../917-PROPFIND-supported-stuff.result | 9 +- .../918-PROPFIND-supported-stuff.result | 9 +- .../919-PROPFIND-supported-stuff.result | 9 +- .../920-PROPFIND-supported-stuff.result | 9 +- ...33-PROPFIND-supported-privilege-set.result | 136 ++++++ .../933-PROPFIND-supported-privilege-set.test | 20 + .../regression-suite/934-PROPFIND-acl.result | 162 +++++++ .../regression-suite/934-PROPFIND-acl.test | 22 + .../regression-suite/935-PROPFIND-acl.result | 168 +++++++ .../regression-suite/935-PROPFIND-acl.test | 20 + .../936-PROPFIND-acl-restrictions.result | 22 + .../936-PROPFIND-acl-restrictions.test | 20 + .../937-PROPFIND-inherited-acl-set.result | 19 + .../937-PROPFIND-inherited-acl-set.test | 20 + .../938-PROPFIND-inherited-acl-set.result | 19 + .../938-PROPFIND-inherited-acl-set.test | 20 + .../939-PROPFIND-inherited-acl-set.result | 21 + .../939-PROPFIND-inherited-acl-set.test | 20 + .../regression-suite/940-PROPFIND-acl.result | 26 ++ .../regression-suite/940-PROPFIND-acl.test | 24 + .../941-GET-resource-denied.result | 39 ++ .../941-GET-resource-denied.test | 13 + ...42-REPORT-principal-property-search.result | 166 +++++++ .../942-REPORT-principal-property-search.test | 54 +++ ...EPORT-principal-search-property-set.result | 25 + ...-REPORT-principal-search-property-set.test | 13 + ...44-REPORT-principal-property-search.result | 32 ++ .../944-REPORT-principal-property-search.test | 26 ++ 40 files changed, 1777 insertions(+), 117 deletions(-) create mode 100644 testing/tests/regression-suite/933-PROPFIND-supported-privilege-set.result create mode 100644 testing/tests/regression-suite/933-PROPFIND-supported-privilege-set.test create mode 100644 testing/tests/regression-suite/934-PROPFIND-acl.result create mode 100644 testing/tests/regression-suite/934-PROPFIND-acl.test create mode 100644 testing/tests/regression-suite/935-PROPFIND-acl.result create mode 100644 testing/tests/regression-suite/935-PROPFIND-acl.test create mode 100644 testing/tests/regression-suite/936-PROPFIND-acl-restrictions.result create mode 100644 testing/tests/regression-suite/936-PROPFIND-acl-restrictions.test create mode 100644 testing/tests/regression-suite/937-PROPFIND-inherited-acl-set.result create mode 100644 testing/tests/regression-suite/937-PROPFIND-inherited-acl-set.test create mode 100644 testing/tests/regression-suite/938-PROPFIND-inherited-acl-set.result create mode 100644 testing/tests/regression-suite/938-PROPFIND-inherited-acl-set.test create mode 100644 testing/tests/regression-suite/939-PROPFIND-inherited-acl-set.result create mode 100644 testing/tests/regression-suite/939-PROPFIND-inherited-acl-set.test create mode 100644 testing/tests/regression-suite/940-PROPFIND-acl.result create mode 100644 testing/tests/regression-suite/940-PROPFIND-acl.test create mode 100644 testing/tests/regression-suite/941-GET-resource-denied.result create mode 100644 testing/tests/regression-suite/941-GET-resource-denied.test create mode 100644 testing/tests/regression-suite/942-REPORT-principal-property-search.result create mode 100644 testing/tests/regression-suite/942-REPORT-principal-property-search.test create mode 100644 testing/tests/regression-suite/943-REPORT-principal-search-property-set.result create mode 100644 testing/tests/regression-suite/943-REPORT-principal-search-property-set.test create mode 100644 testing/tests/regression-suite/944-REPORT-principal-property-search.result create mode 100644 testing/tests/regression-suite/944-REPORT-principal-property-search.test diff --git a/testing/tests/regression-suite/531-iCal4-PROPFIND.result b/testing/tests/regression-suite/531-iCal4-PROPFIND.result index d076221f..0b884b7e 100644 --- a/testing/tests/regression-suite/531-iCal4-PROPFIND.result +++ b/testing/tests/regression-suite/531-iCal4-PROPFIND.result @@ -1,8 +1,8 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "c3a398e212672c218ea97a56017b1166" -Content-Length: 1535 +ETag: "ae6b3ed31d2295a38ad54bdf12fe02a7" +Content-Length: 1655 Content-Type: text/xml; charset="utf-8" @@ -40,6 +40,11 @@ Content-Type: text/xml; charset="utf-8" + + + + + diff --git a/testing/tests/regression-suite/820-Spec-PROPFIND-1.result b/testing/tests/regression-suite/820-Spec-PROPFIND-1.result index 81dc0f29..67df9914 100644 --- a/testing/tests/regression-suite/820-Spec-PROPFIND-1.result +++ b/testing/tests/regression-suite/820-Spec-PROPFIND-1.result @@ -7,12 +7,45 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -86,6 +119,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YYYY-MM-DDThh:mm:ss+ZZ:ZZ user1 home diff --git a/testing/tests/regression-suite/823-Spec-PROPFIND-4.result b/testing/tests/regression-suite/823-Spec-PROPFIND-4.result index 6c350d2a..99dde57b 100644 --- a/testing/tests/regression-suite/823-Spec-PROPFIND-4.result +++ b/testing/tests/regression-suite/823-Spec-PROPFIND-4.result @@ -7,12 +7,45 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -86,6 +119,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YYYY-MM-DDThh:mm:ss+ZZ:ZZ User 1 diff --git a/testing/tests/regression-suite/826-Spec-PROPFIND.result b/testing/tests/regression-suite/826-Spec-PROPFIND.result index 144966ff..3cbcd919 100644 --- a/testing/tests/regression-suite/826-Spec-PROPFIND.result +++ b/testing/tests/regression-suite/826-Spec-PROPFIND.result @@ -7,18 +7,69 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -68,6 +119,22 @@ + + + + + + + + + + + + + + + + YYYY-MM-DDThh:mm:ss+ZZ:ZZ DAViCal CalDAV Server diff --git a/testing/tests/regression-suite/827-Spec-PROPFIND.result b/testing/tests/regression-suite/827-Spec-PROPFIND.result index fdd74855..73aeab81 100644 --- a/testing/tests/regression-suite/827-Spec-PROPFIND.result +++ b/testing/tests/regression-suite/827-Spec-PROPFIND.result @@ -7,27 +7,26 @@ - + + + + + + + - - - - - /assistant1/ - - - + @@ -47,74 +46,6 @@ - - - - - - - - /teamclient1/ - - - - - - - - - - - - - - - YYYY-MM-DDThh:mm:ss+ZZ:ZZ - DAViCal CalDAV Server - - httpd/unix-directory - Dow, 01 Jan 2000 00:00:00 GMT - - - - - - - - - - - - - - - HTTP/1.1 200 OK - - - - - - - - - - - HTTP/1.1 404 Not Found - - - - /user1/ - - - - - - - - - - - @@ -188,6 +119,209 @@ + + + + + + + + + + + + + + + + + + YYYY-MM-DDThh:mm:ss+ZZ:ZZ + DAViCal CalDAV Server + + httpd/unix-directory + Dow, 01 Jan 2000 00:00:00 GMT + + + + + + + + + + + + + + + HTTP/1.1 200 OK + + + + + + + + + + + HTTP/1.1 404 Not Found + + + + /user1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /assistant1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /teamclient1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YYYY-MM-DDThh:mm:ss+ZZ:ZZ User 1 @@ -318,15 +452,45 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -420,6 +584,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YYYY-MM-DDThh:mm:ss+ZZ:ZZ Resource 1 @@ -462,15 +663,45 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -564,6 +795,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YYYY-MM-DDThh:mm:ss+ZZ:ZZ Resource 2 diff --git a/testing/tests/regression-suite/860-Spec-REPORT-principal.result b/testing/tests/regression-suite/860-Spec-REPORT-principal.result index dc12dc1f..517401a8 100644 --- a/testing/tests/regression-suite/860-Spec-REPORT-principal.result +++ b/testing/tests/regression-suite/860-Spec-REPORT-principal.result @@ -1,22 +1,9 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "5b4357910a12e12f5780ce1861e912dc" -Content-Length: 393 +ETag: "07474790757c5e1b526ce4901889d6d3" +Content-Length: 68 Content-Type: text/xml; charset="utf-8" - - - /caldav.php/user1/ - - - - /caldav.php/user1/ - - User 1 - - HTTP/1.1 200 OK - - - + diff --git a/testing/tests/regression-suite/862-Spec-REPORT-principal.result b/testing/tests/regression-suite/862-Spec-REPORT-principal.result index 76c734ec..a3c3110d 100644 --- a/testing/tests/regression-suite/862-Spec-REPORT-principal.result +++ b/testing/tests/regression-suite/862-Spec-REPORT-principal.result @@ -1,7 +1,7 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "1959f23de5a6bd3c525c504c09804d15" +ETag: "d7563f78faaadf67e4dbde9fc2ada5a7" Content-Length: 1226 Content-Type: text/xml; charset="utf-8" @@ -16,8 +16,8 @@ Content-Type: text/xml; charset="utf-8" User 1 - + /caldav.php/user1/ diff --git a/testing/tests/regression-suite/862-Spec-REPORT-principal.test b/testing/tests/regression-suite/862-Spec-REPORT-principal.test index 79bbe089..3680a89d 100644 --- a/testing/tests/regression-suite/862-Spec-REPORT-principal.test +++ b/testing/tests/regression-suite/862-Spec-REPORT-principal.test @@ -19,7 +19,7 @@ BEGINDATA - user1 + user 1 diff --git a/testing/tests/regression-suite/863-Spec-REPORT-principal.result b/testing/tests/regression-suite/863-Spec-REPORT-principal.result index f4ba00b0..b4b920a9 100644 --- a/testing/tests/regression-suite/863-Spec-REPORT-principal.result +++ b/testing/tests/regression-suite/863-Spec-REPORT-principal.result @@ -1,7 +1,7 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "d047d6bb34fe6e227afcb6ca4336883b" +ETag: "a6dbbd586976d9978572b451ef5d39a3" Content-Length: 923 Content-Type: text/xml; charset="utf-8" @@ -16,8 +16,8 @@ Content-Type: text/xml; charset="utf-8" Resource Managers - + /caldav.php/resmgr1/ diff --git a/testing/tests/regression-suite/863-Spec-REPORT-principal.test b/testing/tests/regression-suite/863-Spec-REPORT-principal.test index 91076885..ec721e6e 100644 --- a/testing/tests/regression-suite/863-Spec-REPORT-principal.test +++ b/testing/tests/regression-suite/863-Spec-REPORT-principal.test @@ -19,7 +19,7 @@ BEGINDATA - resmgr1 + Source Man diff --git a/testing/tests/regression-suite/870-Principal-PROPFIND.result b/testing/tests/regression-suite/870-Principal-PROPFIND.result index 01fc6a7c..474b06a0 100644 --- a/testing/tests/regression-suite/870-Principal-PROPFIND.result +++ b/testing/tests/regression-suite/870-Principal-PROPFIND.result @@ -7,12 +7,45 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -86,6 +119,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YYYY-MM-DDThh:mm:ss+ZZ:ZZ User 1 diff --git a/testing/tests/regression-suite/916-PROPFIND-supported-stuff.result b/testing/tests/regression-suite/916-PROPFIND-supported-stuff.result index 7f7c0684..d4c6ac20 100644 --- a/testing/tests/regression-suite/916-PROPFIND-supported-stuff.result +++ b/testing/tests/regression-suite/916-PROPFIND-supported-stuff.result @@ -1,8 +1,8 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "7bb4b23aad9dc0617c966e0c8fc04bc3" -Content-Length: 1157 +ETag: "8d5e76c5b7b5676fc36e38cfad77c5db" +Content-Length: 1277 Content-Type: text/xml; charset="utf-8" @@ -26,6 +26,11 @@ Content-Type: text/xml; charset="utf-8" + + + + + diff --git a/testing/tests/regression-suite/917-PROPFIND-supported-stuff.result b/testing/tests/regression-suite/917-PROPFIND-supported-stuff.result index 14d03ca5..59991061 100644 --- a/testing/tests/regression-suite/917-PROPFIND-supported-stuff.result +++ b/testing/tests/regression-suite/917-PROPFIND-supported-stuff.result @@ -1,8 +1,8 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "3633f78583024cb6699239efbba3ec94" -Content-Length: 1454 +ETag: "6b4e073faec32eb35d9de94349f13161" +Content-Length: 1574 Content-Type: text/xml; charset="utf-8" @@ -37,6 +37,11 @@ Content-Type: text/xml; charset="utf-8" + + + + + diff --git a/testing/tests/regression-suite/918-PROPFIND-supported-stuff.result b/testing/tests/regression-suite/918-PROPFIND-supported-stuff.result index 6ed36546..c55a8cda 100644 --- a/testing/tests/regression-suite/918-PROPFIND-supported-stuff.result +++ b/testing/tests/regression-suite/918-PROPFIND-supported-stuff.result @@ -1,8 +1,8 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "abd3df8ba7b00d965c7a77b891cb4e16" -Content-Length: 1850 +ETag: "33e7543461d094c89b014d7985fa5a0f" +Content-Length: 1970 Content-Type: text/xml; charset="utf-8" @@ -34,6 +34,11 @@ Content-Type: text/xml; charset="utf-8" + + + + + diff --git a/testing/tests/regression-suite/919-PROPFIND-supported-stuff.result b/testing/tests/regression-suite/919-PROPFIND-supported-stuff.result index f988a767..171ba426 100644 --- a/testing/tests/regression-suite/919-PROPFIND-supported-stuff.result +++ b/testing/tests/regression-suite/919-PROPFIND-supported-stuff.result @@ -1,8 +1,8 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "134b9fb41e6c5b7354bdd0389bf219f2" -Content-Length: 1539 +ETag: "4d13193fda49c2ab5c78fa9664df25cc" +Content-Length: 1659 Content-Type: text/xml; charset="utf-8" @@ -36,6 +36,11 @@ Content-Type: text/xml; charset="utf-8" + + + + + diff --git a/testing/tests/regression-suite/920-PROPFIND-supported-stuff.result b/testing/tests/regression-suite/920-PROPFIND-supported-stuff.result index 57e08172..5918f800 100644 --- a/testing/tests/regression-suite/920-PROPFIND-supported-stuff.result +++ b/testing/tests/regression-suite/920-PROPFIND-supported-stuff.result @@ -1,8 +1,8 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy -ETag: "945223598c3b28fe6cbf9c6e6b74da04" -Content-Length: 1542 +ETag: "c9507e3664a6fb8e5f929c860ab1974e" +Content-Length: 1662 Content-Type: text/xml; charset="utf-8" @@ -36,6 +36,11 @@ Content-Type: text/xml; charset="utf-8" + + + + + diff --git a/testing/tests/regression-suite/933-PROPFIND-supported-privilege-set.result b/testing/tests/regression-suite/933-PROPFIND-supported-privilege-set.result new file mode 100644 index 00000000..1d604a9b --- /dev/null +++ b/testing/tests/regression-suite/933-PROPFIND-supported-privilege-set.result @@ -0,0 +1,136 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "ad3defe4bec3b3af2799d11bf03c5f40" +Content-Length: 4144 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/ + + + + + + + + + + + + Read the content of a resource or collection + + + + + + + + + + Create a resource or collection + + + + + + Delete a resource or collection + + + + + + Write content + + + + + + Write properties + + + + + + + Read the free/busy information for a calendar collection + + + + + + Read ACLs for a resource or collection + + + + + + Read the details of the current user's access control to this resource. + + + + + + Write ACLs for a resource or collection + + + + + + Remove a lock + + + + + + + + + + Deliver scheduling invitations from an organiser to this scheduling inbox + + + + + + Deliver scheduling replies from an attendee to this scheduling inbox + + + + + + Allow free/busy enquiries targeted at the owner of this scheduling inbox + + + + + + + + + + + Send scheduling invitations as an organiser from the owner of this scheduling outbox. + + + + + + Send scheduling replies as an attendee from the owner of this scheduling outbox. + + + + + + Send free/busy enquiries + + + + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/933-PROPFIND-supported-privilege-set.test b/testing/tests/regression-suite/933-PROPFIND-supported-privilege-set.test new file mode 100644 index 00000000..7d3dcdc2 --- /dev/null +++ b/testing/tests/regression-suite/933-PROPFIND-supported-privilege-set.test @@ -0,0 +1,20 @@ +# +# PROPFIND looking for supported-methods supported-reports etc +# +TYPE=PROPFIND +URL=http://regression.host/caldav.php/ +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + + +BEGINDATA + + + + + + +ENDDATA + + diff --git a/testing/tests/regression-suite/934-PROPFIND-acl.result b/testing/tests/regression-suite/934-PROPFIND-acl.result new file mode 100644 index 00000000..457bfde5 --- /dev/null +++ b/testing/tests/regression-suite/934-PROPFIND-acl.result @@ -0,0 +1,162 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "3c91706759f813f5818c9b8c0ce93749" +Content-Length: 3241 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /caldav.php/assistant1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /caldav.php/teamclient1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/934-PROPFIND-acl.test b/testing/tests/regression-suite/934-PROPFIND-acl.test new file mode 100644 index 00000000..3e184d39 --- /dev/null +++ b/testing/tests/regression-suite/934-PROPFIND-acl.test @@ -0,0 +1,22 @@ +# +# PROPFIND looking for supported-methods supported-reports etc +# +TYPE=PROPFIND +URL=http://regression.host/caldav.php/ +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + + +BEGINDATA + + + + + + + + +ENDDATA + + diff --git a/testing/tests/regression-suite/935-PROPFIND-acl.result b/testing/tests/regression-suite/935-PROPFIND-acl.result new file mode 100644 index 00000000..839fc7c3 --- /dev/null +++ b/testing/tests/regression-suite/935-PROPFIND-acl.result @@ -0,0 +1,168 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "086405bbb629ed2167aa99d2f293cd2c" +Content-Length: 3430 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /caldav.php/assistant1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /caldav.php/teamclient1/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/935-PROPFIND-acl.test b/testing/tests/regression-suite/935-PROPFIND-acl.test new file mode 100644 index 00000000..55f6b1c3 --- /dev/null +++ b/testing/tests/regression-suite/935-PROPFIND-acl.test @@ -0,0 +1,20 @@ +# +# PROPFIND looking for supported-methods supported-reports etc +# +TYPE=PROPFIND +URL=http://regression.host/caldav.php/user1/ +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + + +BEGINDATA + + + + + + +ENDDATA + + diff --git a/testing/tests/regression-suite/936-PROPFIND-acl-restrictions.result b/testing/tests/regression-suite/936-PROPFIND-acl-restrictions.result new file mode 100644 index 00000000..891ada50 --- /dev/null +++ b/testing/tests/regression-suite/936-PROPFIND-acl-restrictions.result @@ -0,0 +1,22 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "b7aa82d645859eafdf0c41ad74490024" +Content-Length: 309 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/ + + + + + + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/936-PROPFIND-acl-restrictions.test b/testing/tests/regression-suite/936-PROPFIND-acl-restrictions.test new file mode 100644 index 00000000..4b292991 --- /dev/null +++ b/testing/tests/regression-suite/936-PROPFIND-acl-restrictions.test @@ -0,0 +1,20 @@ +# +# PROPFIND looking for supported-methods supported-reports etc +# +TYPE=PROPFIND +URL=http://regression.host/caldav.php/user1/ +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + + +BEGINDATA + + + + + + +ENDDATA + + diff --git a/testing/tests/regression-suite/937-PROPFIND-inherited-acl-set.result b/testing/tests/regression-suite/937-PROPFIND-inherited-acl-set.result new file mode 100644 index 00000000..40e3a78f --- /dev/null +++ b/testing/tests/regression-suite/937-PROPFIND-inherited-acl-set.result @@ -0,0 +1,19 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "049914e7ea4ed4db2a7a2a1c2494e0d4" +Content-Length: 250 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/ + + + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/937-PROPFIND-inherited-acl-set.test b/testing/tests/regression-suite/937-PROPFIND-inherited-acl-set.test new file mode 100644 index 00000000..fbc481f3 --- /dev/null +++ b/testing/tests/regression-suite/937-PROPFIND-inherited-acl-set.test @@ -0,0 +1,20 @@ +# +# PROPFIND looking for supported-methods supported-reports etc +# +TYPE=PROPFIND +URL=http://regression.host/caldav.php/user1/ +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + + +BEGINDATA + + + + + + +ENDDATA + + diff --git a/testing/tests/regression-suite/938-PROPFIND-inherited-acl-set.result b/testing/tests/regression-suite/938-PROPFIND-inherited-acl-set.result new file mode 100644 index 00000000..615c857f --- /dev/null +++ b/testing/tests/regression-suite/938-PROPFIND-inherited-acl-set.result @@ -0,0 +1,19 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "5ff44edb9e8734dee700ac29aa6df3be" +Content-Length: 255 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/home/ + + + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/938-PROPFIND-inherited-acl-set.test b/testing/tests/regression-suite/938-PROPFIND-inherited-acl-set.test new file mode 100644 index 00000000..5bc8ccf6 --- /dev/null +++ b/testing/tests/regression-suite/938-PROPFIND-inherited-acl-set.test @@ -0,0 +1,20 @@ +# +# PROPFIND looking for supported-methods supported-reports etc +# +TYPE=PROPFIND +URL=http://regression.host/caldav.php/user1/home/ +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + + +BEGINDATA + + + + + + +ENDDATA + + diff --git a/testing/tests/regression-suite/939-PROPFIND-inherited-acl-set.result b/testing/tests/regression-suite/939-PROPFIND-inherited-acl-set.result new file mode 100644 index 00000000..d2e04521 --- /dev/null +++ b/testing/tests/regression-suite/939-PROPFIND-inherited-acl-set.result @@ -0,0 +1,21 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "0c6459e59e9b002c2a4519db2b28f562" +Content-Length: 341 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/home/20061101T073004Z.ics + + + + /caldav.php/user1/home/ + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/939-PROPFIND-inherited-acl-set.test b/testing/tests/regression-suite/939-PROPFIND-inherited-acl-set.test new file mode 100644 index 00000000..513d739e --- /dev/null +++ b/testing/tests/regression-suite/939-PROPFIND-inherited-acl-set.test @@ -0,0 +1,20 @@ +# +# PROPFIND looking for supported-methods supported-reports etc +# +TYPE=PROPFIND +URL=http://regression.host/caldav.php/user1/home/20061101T073004Z.ics +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + + +BEGINDATA + + + + + + +ENDDATA + + diff --git a/testing/tests/regression-suite/940-PROPFIND-acl.result b/testing/tests/regression-suite/940-PROPFIND-acl.result new file mode 100644 index 00000000..e79f0399 --- /dev/null +++ b/testing/tests/regression-suite/940-PROPFIND-acl.result @@ -0,0 +1,26 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "8073d2f394ea97ba89104f1834ad6c58" +Content-Length: 386 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/ + + + + + HTTP/1.1 200 OK + + + + + + + HTTP/1.1 403 Forbidden + + + diff --git a/testing/tests/regression-suite/940-PROPFIND-acl.test b/testing/tests/regression-suite/940-PROPFIND-acl.test new file mode 100644 index 00000000..a0fa5e51 --- /dev/null +++ b/testing/tests/regression-suite/940-PROPFIND-acl.test @@ -0,0 +1,24 @@ +# +# PROPFIND looking for supported-methods supported-reports etc +# +TYPE=PROPFIND +URL=http://regression.host/caldav.php/user1/ +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + +AUTH=user5:user5 + + +BEGINDATA + + + + + + + + +ENDDATA + + diff --git a/testing/tests/regression-suite/941-GET-resource-denied.result b/testing/tests/regression-suite/941-GET-resource-denied.result new file mode 100644 index 00000000..b96e3280 --- /dev/null +++ b/testing/tests/regression-suite/941-GET-resource-denied.result @@ -0,0 +1,39 @@ +HTTP/1.1 200 OK +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +Etag: "c3658901fd4689d4a1e1d6f08601ef4f" +Content-Length: 828 +Content-Type: text/calendar; charset="utf-8" + +BEGIN:VCALENDAR +CALSCALE:GREGORIAN +PRODID:-//Ximian//NONSGML Evolution Calendar//EN +VERSION:2.0 +BEGIN:VTIMEZONE +TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland +X-LIC-LOCATION:Pacific/Auckland +BEGIN:STANDARD +TZOFFSETFROM:+1300 +TZOFFSETTO:+1200 +TZNAME:NZST +DTSTART:19700315T030000 +RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3 +END:STANDARD +BEGIN:DAYLIGHT +TZOFFSETFROM:+1200 +TZOFFSETTO:+1300 +TZNAME:NZDT +DTSTART:19701004T020000 +RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10 +END:DAYLIGHT +END:VTIMEZONE +BEGIN:VEVENT +SUMMARY:Busy +CLASS:CONFIDENTIAL +DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland: + 20061101T100000 +DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland: + 20061101T110000 +UID:20061101T073000Z-10468-1000-1-7@ubu +END:VEVENT +END:VCALENDAR diff --git a/testing/tests/regression-suite/941-GET-resource-denied.test b/testing/tests/regression-suite/941-GET-resource-denied.test new file mode 100644 index 00000000..5449ac10 --- /dev/null +++ b/testing/tests/regression-suite/941-GET-resource-denied.test @@ -0,0 +1,13 @@ +# +# GET attempt against a URL we don't have access to +# +TYPE=GET +URL=http://regression.host/caldav.php/user1/home/20061101T073004Z.ics +HEAD + +AUTH=user5:user5 + +BEGINDATA +ENDDATA + + diff --git a/testing/tests/regression-suite/942-REPORT-principal-property-search.result b/testing/tests/regression-suite/942-REPORT-principal-property-search.result new file mode 100644 index 00000000..873245f7 --- /dev/null +++ b/testing/tests/regression-suite/942-REPORT-principal-property-search.result @@ -0,0 +1,166 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "63123b75248ffab16849fec6c2e2846d" +Content-Length: 3880 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/ + + + + mailto:user1@example.net + /caldav.php/user1/ + + User 1 + + /caldav.php/user1/ + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/user2/ + + + + mailto:user2@example.net + /caldav.php/user2/ + + User 2 + + /caldav.php/user2/ + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/user3/ + + + + mailto:user3@example.net + /caldav.php/user3/ + + User 3 + + /caldav.php/user3/ + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/user4/ + + + + mailto:user4@example.net + /caldav.php/user4/ + + User 4 + + /caldav.php/user4/ + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/user5/ + + + + mailto:user5@example.net + /caldav.php/user5/ + + User 5 + + /caldav.php/user5/ + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/User%20Six/ + + + + mailto:user6@example.net + /caldav.php/User%20Six/ + + User 6 + + /caldav.php/User%20Six/ + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + diff --git a/testing/tests/regression-suite/942-REPORT-principal-property-search.test b/testing/tests/regression-suite/942-REPORT-principal-property-search.test new file mode 100644 index 00000000..9dde8a9b --- /dev/null +++ b/testing/tests/regression-suite/942-REPORT-principal-property-search.test @@ -0,0 +1,54 @@ +# +# Do a principal-property-search REPORT request +TYPE=REPORT +URL=http://regression.host/caldav.php/ +HEAD + +HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061013 Thunderbird/1.5.0.7 +HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 +HEADER=Accept-Language: en-us,en;q=0.5 +HEADER=Accept-Encoding: gzip,deflate +HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 +HEADER=Content-Type: text/xml +HEADER=Depth: 0 + + +BEGINDATA + + + + + + + user + + + + + + user + + + + + + user + + + + + + user + + + + + + + + + + + + +ENDDATA diff --git a/testing/tests/regression-suite/943-REPORT-principal-search-property-set.result b/testing/tests/regression-suite/943-REPORT-principal-search-property-set.result new file mode 100644 index 00000000..4b4be4da --- /dev/null +++ b/testing/tests/regression-suite/943-REPORT-principal-search-property-set.result @@ -0,0 +1,25 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "2fd111eb3507f4af36d65e9516255fa9" +Content-Length: 470 +Content-Type: text/xml; charset="utf-8" + + + + + + + + + + + + + + + + + + + diff --git a/testing/tests/regression-suite/943-REPORT-principal-search-property-set.test b/testing/tests/regression-suite/943-REPORT-principal-search-property-set.test new file mode 100644 index 00000000..58369cf9 --- /dev/null +++ b/testing/tests/regression-suite/943-REPORT-principal-search-property-set.test @@ -0,0 +1,13 @@ +# +# Do a principal-search-property-set REPORT request +TYPE=REPORT +URL=http://regression.host/caldav.php/ +HEAD + +HEADER=Content-Type: text/xml + + +BEGINDATA + + +ENDDATA diff --git a/testing/tests/regression-suite/944-REPORT-principal-property-search.result b/testing/tests/regression-suite/944-REPORT-principal-property-search.result new file mode 100644 index 00000000..1ce3867d --- /dev/null +++ b/testing/tests/regression-suite/944-REPORT-principal-property-search.result @@ -0,0 +1,32 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy +ETag: "4801fed73bca80f8f4b91b3d69dd2454" +Content-Length: 649 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/ + + + + mailto:user1@example.net + /caldav.php/user1/ + + User 1 + + /caldav.php/user1/ + + + HTTP/1.1 200 OK + + + + + + HTTP/1.1 404 Not Found + + + diff --git a/testing/tests/regression-suite/944-REPORT-principal-property-search.test b/testing/tests/regression-suite/944-REPORT-principal-property-search.test new file mode 100644 index 00000000..6ac8d91c --- /dev/null +++ b/testing/tests/regression-suite/944-REPORT-principal-property-search.test @@ -0,0 +1,26 @@ +# +# Do a principal-property-search REPORT request +TYPE=REPORT +URL=http://regression.host/caldav.php/ +HEAD + +HEADER=Content-Type: text/xml + + +BEGINDATA + + + + + + + user1@ex + + + + + + + + +ENDDATA