From f2c471f3887ed811d5d799f3fc5f09d0f915a266 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 10 Apr 2009 22:05:46 +1200 Subject: [PATCH] New test with (current) response to GroupDAV request. --- .../873-GroupDAV-PROPFIND.result | 170 ++++++++++++++++++ .../873-GroupDAV-PROPFIND.test | 36 ++++ 2 files changed, 206 insertions(+) create mode 100644 testing/tests/regression-suite/873-GroupDAV-PROPFIND.result create mode 100644 testing/tests/regression-suite/873-GroupDAV-PROPFIND.test diff --git a/testing/tests/regression-suite/873-GroupDAV-PROPFIND.result b/testing/tests/regression-suite/873-GroupDAV-PROPFIND.result new file mode 100644 index 00000000..783d9ad6 --- /dev/null +++ b/testing/tests/regression-suite/873-GroupDAV-PROPFIND.result @@ -0,0 +1,170 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule +ETag: "3f92f65de329dbf8aac61f774c2808b9" +Content-Length: 3832 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/ + + + httpd/unix-directory + + + + DAViCal CalDAV Server + "38f09ba341cd927809b571496db6e4c3" + "38f09ba341cd927809b571496db6e4c3" + + + + + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/user1/ + + + User 1 + + + + + httpd/unix-directory + + + + + + + HTTP/1.1 200 OK + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/manager1/ + + + Manager 1 + + + + + httpd/unix-directory + + + + + + + HTTP/1.1 200 OK + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/assistant1/ + + + Assistant 1 + + + + + httpd/unix-directory + + + + + + + HTTP/1.1 200 OK + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/resource1/ + + + Resource 1 + + + + + httpd/unix-directory + + + + + + + HTTP/1.1 200 OK + + + + + + + HTTP/1.1 404 Not Found + + + + /caldav.php/resource2/ + + + Resource 2 + + + + + httpd/unix-directory + + + + + + + HTTP/1.1 200 OK + + + + + + + HTTP/1.1 404 Not Found + + + diff --git a/testing/tests/regression-suite/873-GroupDAV-PROPFIND.test b/testing/tests/regression-suite/873-GroupDAV-PROPFIND.test new file mode 100644 index 00000000..3fcb67d8 --- /dev/null +++ b/testing/tests/regression-suite/873-GroupDAV-PROPFIND.test @@ -0,0 +1,36 @@ +# +# Testing with a GroupDAV style request for a PROPFIND on the root with a Depth 1 +# +TYPE=PROPFIND +URL=http://mycaldav/caldav.php/ +HEAD + +AUTH=user1:user1 + +HEADER=Content-Type: text/xml +HEADER=Depth: 1 + +BEGINDATA + + + + + + + + + + + + + + + + + +ENDDATA