From 5849ddcfcf3c4dda2ebba1ac135a42bc292ce82e Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 23 Dec 2006 11:22:27 +1300 Subject: [PATCH] Tests for the Freebusy request. --- .../regression-suite/832-freebusy.result | 64 +++++++++++++++++++ .../tests/regression-suite/832-freebusy.test | 7 ++ .../regression-suite/833-freebusy.result | 64 +++++++++++++++++++ .../tests/regression-suite/833-freebusy.test | 7 ++ 4 files changed, 142 insertions(+) create mode 100644 testing/tests/regression-suite/832-freebusy.result create mode 100644 testing/tests/regression-suite/832-freebusy.test create mode 100644 testing/tests/regression-suite/833-freebusy.result create mode 100644 testing/tests/regression-suite/833-freebusy.test diff --git a/testing/tests/regression-suite/832-freebusy.result b/testing/tests/regression-suite/832-freebusy.result new file mode 100644 index 00000000..fe1fbae3 --- /dev/null +++ b/testing/tests/regression-suite/832-freebusy.result @@ -0,0 +1,64 @@ +HTTP/1.1 200 OK +Date: Dow, 01 Jan 2000 00:00:00 GMT +Content-Length: 1750 +Content-Type: text/calendar + +BEGIN:VCALENDAR +PRODID:-//Catalyst.Net.NZ//NONSGML AWL Calendar//EN +VERSION:2.0 +BEGIN:VFREEBUSY +DTSTAMP:20061222T122644Z +DTSTART:20061122T122644 +DTEND:20070710T112644 +FREEBUSY:20061102T210000/PT1H +FREEBUSY:20061109T210000/PT1H +FREEBUSY:20061116T210000/PT1H +FREEBUSY:20061123T210000/PT1H +FREEBUSY:20061130T210000/PT1H +FREEBUSY:20061207T210000/PT1H +FREEBUSY:20061214T210000/PT1H +FREEBUSY:20061221T210000/PT1H +FREEBUSY:20061228T210000/PT1H +FREEBUSY:20070104T210000/PT1H +FREEBUSY:20070111T210000/PT1H +FREEBUSY:20070118T210000/PT1H +FREEBUSY:20070125T210000/PT1H +FREEBUSY:20070201T210000/PT1H +FREEBUSY:20070208T210000/PT1H +FREEBUSY:20070215T210000/PT1H +FREEBUSY:20070222T210000/PT1H +FREEBUSY:20070301T210000/PT1H +FREEBUSY:20070308T210000/PT1H +FREEBUSY:20070315T210000/PT1H +FREEBUSY:20070322T210000/PT1H +FREEBUSY:20070329T210000/PT1H +FREEBUSY:20070405T210000/PT1H +FREEBUSY:20070412T210000/PT1H +FREEBUSY:20070419T210000/PT1H +FREEBUSY:20061202T183000/PT2H +FREEBUSY:20070102T183000/PT2H +FREEBUSY:20070202T183000/PT2H +FREEBUSY:20070302T183000/PT2H +FREEBUSY:20070402T183000/PT2H +FREEBUSY:20070502T183000/PT2H +FREEBUSY:20070602T183000/PT2H +FREEBUSY:20070702T183000/PT2H +FREEBUSY:20061117T030000/PT1H45M +FREEBUSY:20061201T030000/PT1H45M +FREEBUSY:20061215T030000/PT1H45M +FREEBUSY:20061229T030000/PT1H45M +FREEBUSY:20070112T030000/PT1H45M +FREEBUSY:20070126T030000/PT1H45M +FREEBUSY:20070209T030000/PT1H45M +FREEBUSY:20070223T030000/PT1H45M +FREEBUSY:20070309T030000/PT1H45M +FREEBUSY:20070323T030000/PT1H45M +FREEBUSY:20070406T030000/PT1H45M +FREEBUSY:20070420T030000/PT1H45M +FREEBUSY:20070504T030000/PT1H45M +FREEBUSY:20070518T030000/PT1H45M +FREEBUSY:20070601T030000/PT1H45M +FREEBUSY:20070615T030000/PT1H45M +FREEBUSY:20070629T030000/PT1H45M +END:VFREEBUSY +END:VCALENDAR diff --git a/testing/tests/regression-suite/832-freebusy.test b/testing/tests/regression-suite/832-freebusy.test new file mode 100644 index 00000000..ae84a6ae --- /dev/null +++ b/testing/tests/regression-suite/832-freebusy.test @@ -0,0 +1,7 @@ +# +# Request a freebusy report by URL +# +TYPE=GET +URL=http://mycaldav/freebusy.php/user1@example.net +HEAD + diff --git a/testing/tests/regression-suite/833-freebusy.result b/testing/tests/regression-suite/833-freebusy.result new file mode 100644 index 00000000..a378d4de --- /dev/null +++ b/testing/tests/regression-suite/833-freebusy.result @@ -0,0 +1,64 @@ +HTTP/1.1 200 OK +Date: Dow, 01 Jan 2000 00:00:00 GMT +Content-Length: 1750 +Content-Type: text/calendar + +BEGIN:VCALENDAR +PRODID:-//Catalyst.Net.NZ//NONSGML AWL Calendar//EN +VERSION:2.0 +BEGIN:VFREEBUSY +DTSTAMP:20061222T123418Z +DTSTART:20061122T123418 +DTEND:20070710T113418 +FREEBUSY:20061102T210000/PT1H +FREEBUSY:20061109T210000/PT1H +FREEBUSY:20061116T210000/PT1H +FREEBUSY:20061123T210000/PT1H +FREEBUSY:20061130T210000/PT1H +FREEBUSY:20061207T210000/PT1H +FREEBUSY:20061214T210000/PT1H +FREEBUSY:20061221T210000/PT1H +FREEBUSY:20061228T210000/PT1H +FREEBUSY:20070104T210000/PT1H +FREEBUSY:20070111T210000/PT1H +FREEBUSY:20070118T210000/PT1H +FREEBUSY:20070125T210000/PT1H +FREEBUSY:20070201T210000/PT1H +FREEBUSY:20070208T210000/PT1H +FREEBUSY:20070215T210000/PT1H +FREEBUSY:20070222T210000/PT1H +FREEBUSY:20070301T210000/PT1H +FREEBUSY:20070308T210000/PT1H +FREEBUSY:20070315T210000/PT1H +FREEBUSY:20070322T210000/PT1H +FREEBUSY:20070329T210000/PT1H +FREEBUSY:20070405T210000/PT1H +FREEBUSY:20070412T210000/PT1H +FREEBUSY:20070419T210000/PT1H +FREEBUSY:20061202T183000/PT2H +FREEBUSY:20070102T183000/PT2H +FREEBUSY:20070202T183000/PT2H +FREEBUSY:20070302T183000/PT2H +FREEBUSY:20070402T183000/PT2H +FREEBUSY:20070502T183000/PT2H +FREEBUSY:20070602T183000/PT2H +FREEBUSY:20070702T183000/PT2H +FREEBUSY:20061117T030000/PT1H45M +FREEBUSY:20061201T030000/PT1H45M +FREEBUSY:20061215T030000/PT1H45M +FREEBUSY:20061229T030000/PT1H45M +FREEBUSY:20070112T030000/PT1H45M +FREEBUSY:20070126T030000/PT1H45M +FREEBUSY:20070209T030000/PT1H45M +FREEBUSY:20070223T030000/PT1H45M +FREEBUSY:20070309T030000/PT1H45M +FREEBUSY:20070323T030000/PT1H45M +FREEBUSY:20070406T030000/PT1H45M +FREEBUSY:20070420T030000/PT1H45M +FREEBUSY:20070504T030000/PT1H45M +FREEBUSY:20070518T030000/PT1H45M +FREEBUSY:20070601T030000/PT1H45M +FREEBUSY:20070615T030000/PT1H45M +FREEBUSY:20070629T030000/PT1H45M +END:VFREEBUSY +END:VCALENDAR diff --git a/testing/tests/regression-suite/833-freebusy.test b/testing/tests/regression-suite/833-freebusy.test new file mode 100644 index 00000000..40836caf --- /dev/null +++ b/testing/tests/regression-suite/833-freebusy.test @@ -0,0 +1,7 @@ +# +# Request a freebusy report by URL +# +TYPE=GET +URL=http://mycaldav/freebusy.php/user1/home/ +HEAD +