From 1d939a7d468ea5e62a9a7d429ee8431c97bf1fce Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 14 Nov 2009 17:52:54 +1300 Subject: [PATCH] A basic regression test for the expand-property report. --- .../930-REPORT-expand-property.result | 47 +++++++++++++++++++ .../930-REPORT-expand-property.test | 21 +++++++++ 2 files changed, 68 insertions(+) create mode 100644 testing/tests/regression-suite/930-REPORT-expand-property.result create mode 100644 testing/tests/regression-suite/930-REPORT-expand-property.test diff --git a/testing/tests/regression-suite/930-REPORT-expand-property.result b/testing/tests/regression-suite/930-REPORT-expand-property.result new file mode 100644 index 00000000..b9ad0cb8 --- /dev/null +++ b/testing/tests/regression-suite/930-REPORT-expand-property.result @@ -0,0 +1,47 @@ +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, extended-mkcol +Allow: OPTIONS, PROPFIND, REPORT, DELETE, LOCK, UNLOCK, MOVE, GET, PUT, HEAD +ETag: "d2647e4027425f0fe49ad06b992e27e4" +Content-Length: 943 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/home/ + + + + + /caldav.php/resmgr1/ + + + httpd/unix-directory + + + + + + HTTP/1.1 200 OK + + + + /caldav.php/teamclient1/ + + + httpd/unix-directory + + + + + + HTTP/1.1 200 OK + + + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/930-REPORT-expand-property.test b/testing/tests/regression-suite/930-REPORT-expand-property.test new file mode 100644 index 00000000..a39c51d2 --- /dev/null +++ b/testing/tests/regression-suite/930-REPORT-expand-property.test @@ -0,0 +1,21 @@ +# +# expand-property REPORT +# +TYPE=REPORT +URL=http://regression.host/caldav.php/user1/home/ +HEADER=Content-Type: text/xml; charset="UTF-8" +HEADER=Depth: 0 +HEAD + + +BEGINDATA + + + + + + + +ENDDATA + +