From f447c7755371bb9db96dd36bc738bbd2a41fac48 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 9 Dec 2006 22:28:32 +1300 Subject: [PATCH] Tests for failure (bogus unhandled properties) and success (Depth: inifinity) for the PROPFIND. --- .../regression-suite/821-Spec-PROPFIND-2.test | 34 +++++++++++++++++++ .../regression-suite/822-Spec-PROPFIND-3.test | 31 +++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 testing/tests/regression-suite/821-Spec-PROPFIND-2.test create mode 100644 testing/tests/regression-suite/822-Spec-PROPFIND-3.test diff --git a/testing/tests/regression-suite/821-Spec-PROPFIND-2.test b/testing/tests/regression-suite/821-Spec-PROPFIND-2.test new file mode 100644 index 00000000..be27a4a4 --- /dev/null +++ b/testing/tests/regression-suite/821-Spec-PROPFIND-2.test @@ -0,0 +1,34 @@ +# +# A Spec compliant check for all DAV properties, and an extra +# couple of bogus ones as well to ensure we fail(!) +# +TYPE=PROPFIND +URL=http://mycaldav/caldav.php/user1/home/ +HEADER=User-Agent: RFC2518 Spec Tests +HEADER=Depth: 0 +HEADER=Content-Type: application/xml + +HEAD + +BEGINDATA + + + + + + + + + + + + + + + + + + + + +ENDDATA diff --git a/testing/tests/regression-suite/822-Spec-PROPFIND-3.test b/testing/tests/regression-suite/822-Spec-PROPFIND-3.test new file mode 100644 index 00000000..c0ff002f --- /dev/null +++ b/testing/tests/regression-suite/822-Spec-PROPFIND-3.test @@ -0,0 +1,31 @@ +# +# Spec compliant test for all properties. Depth infinity this time +# +TYPE=PROPFIND +URL=http://mycaldav/caldav.php/user1/home/ +HEADER=User-Agent: RFC2518 Spec Tests +HEADER=Depth: infinity +HEADER=Content-Type: application/xml + +HEAD + +BEGINDATA + + + + + + + + + + + + + + + + + + +ENDDATA