mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-22 14:40:38 +00:00
SOme more regression tests checking the handling of basic recurring events.
This commit is contained in:
parent
9f926627ce
commit
1276c2416b
@ -57,9 +57,7 @@ a date range in their response.
|
||||
202. Initial unauthenticated REPORT request.
|
||||
203. Initial authenticated REPORT request for events from 9th October to 9th December which should find one Mulberry and one Evolution event.
|
||||
204. REPORT request against the second calendar created by Mulberry which should only find one Mulberry event.
|
||||
205. PROPFIND request which only post-0.4 versions of Mozilla Calendar do.
|
||||
|
||||
--->> To Do
|
||||
205. PROPFIND request which only 0.4 and later versions of Mozilla Calendar will do (see bug 355270).
|
||||
206. PUT a recurring event.
|
||||
207. REPORT on a period which will only include a subsequent instance of the recurring event.
|
||||
208. REPORT on a period after the end of the recurring event, which will return an empty result.
|
||||
@ -85,3 +83,9 @@ although it appears to write some proprietary information into a ".chandler" sub
|
||||
'Chandler' has still not discovered what events exist on the server, but in reality it does
|
||||
successfully do so.
|
||||
|
||||
|
||||
Your Favourite Client Here
|
||||
==========================
|
||||
I would like to have more client software available to test RSCDS against, but so far it's
|
||||
just these ones. If you want to point me at more free software, or send me free copies of
|
||||
proprietary software, then I will add it to the list as well as make RSCDS work with it.
|
||||
|
||||
7
testing/tests/regression-suite/206-Moz-PUT-1.result
Normal file
7
testing/tests/regression-suite/206-Moz-PUT-1.result
Normal file
@ -0,0 +1,7 @@
|
||||
HTTP/1.1 201 Created
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Server: Apache/2.2.3 (Debian) DAV/2
|
||||
ETag: "a1c6404d61190f9574e2bfd69383f144"
|
||||
Content-length: 0
|
||||
Content-Type: text/html; charset=UTF-8
|
||||
|
||||
14
testing/tests/regression-suite/206-Moz-PUT-1.test
Normal file
14
testing/tests/regression-suite/206-Moz-PUT-1.test
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# PUT a recurring event that we can check we can/can't see at appropriate dates
|
||||
#
|
||||
TYPE=PUT
|
||||
URL=http://mycaldav/caldav.php/user1/home/4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics HTTP/1.1
|
||||
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061108 Calendar/0.4a1
|
||||
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/calendar
|
||||
HEAD
|
||||
#
|
||||
DATA=4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics
|
||||
13
testing/tests/regression-suite/207-Moz-REPORT-4.data
Normal file
13
testing/tests/regression-suite/207-Moz-REPORT-4.data
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<calendar-query xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
|
||||
<D:prop>
|
||||
<calendar-data/>
|
||||
</D:prop>
|
||||
<filter>
|
||||
<comp-filter name="VCALENDAR">
|
||||
<comp-filter name="VEVENT">
|
||||
<time-range start="20061209T110000Z" end="20061217T110000Z"/>
|
||||
</comp-filter>
|
||||
</comp-filter>
|
||||
</filter>
|
||||
</calendar-query>
|
||||
55
testing/tests/regression-suite/207-Moz-REPORT-4.result
Normal file
55
testing/tests/regression-suite/207-Moz-REPORT-4.result
Normal file
@ -0,0 +1,55 @@
|
||||
HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Server: Apache/2.2.3 (Debian) DAV/2
|
||||
ETag: "53825def7704819be31ec548b2c30e38"
|
||||
Content-Length: 1358
|
||||
Content-Type: text/xml;charset=UTF-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<multistatus xmlns="DAV:">
|
||||
<response>
|
||||
<href>http://mycaldav/caldav.php/user1/home/4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<calendar-data xmlns="urn:ietf:params:xml:ns:caldav">BEGIN:VCALENDAR
|
||||
PRODID:-//Mozilla Calendar//NONSGML Sunbird//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
CREATED:20061120T041336Z
|
||||
LAST-MODIFIED:20061120T041709Z
|
||||
DTSTAMP:20061120T041709Z
|
||||
UID:4aaf8f37-f232-4c8e-a72e-e171d4c4fe54
|
||||
SUMMARY:Weekly Project Meeting
|
||||
PRIORITY:0
|
||||
CLASS:PUBLIC
|
||||
RRULE:FREQ=WEEKLY;COUNT=26;INTERVAL=1;BYDAY=TH
|
||||
DTSTART;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061102T100000
|
||||
DTEND;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061102T110000
|
||||
CATEGORIES:Projects
|
||||
X-MOZ-LOCATIONPATH:4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics
|
||||
END:VEVENT
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/mozilla.org/20050126_1/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
|
||||
END:VCALENDAR
|
||||
</calendar-data>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
</multistatus>
|
||||
14
testing/tests/regression-suite/207-Moz-REPORT-4.test
Normal file
14
testing/tests/regression-suite/207-Moz-REPORT-4.test
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# Request a REPORT which should only include an instance of the repeating event we just added
|
||||
#
|
||||
TYPE=REPORT
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061108 Calendar/0.4a1
|
||||
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=Keep-Alive: 300
|
||||
HEADER=Content-Type: text/xml
|
||||
HEADER=Depth: 1
|
||||
HEAD
|
||||
13
testing/tests/regression-suite/208-Moz-REPORT-5.data
Normal file
13
testing/tests/regression-suite/208-Moz-REPORT-5.data
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<calendar-query xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
|
||||
<D:prop>
|
||||
<calendar-data/>
|
||||
</D:prop>
|
||||
<filter>
|
||||
<comp-filter name="VCALENDAR">
|
||||
<comp-filter name="VEVENT">
|
||||
<time-range start="20070428T120000Z" end="20070506T120000Z"/>
|
||||
</comp-filter>
|
||||
</comp-filter>
|
||||
</filter>
|
||||
</calendar-query>
|
||||
9
testing/tests/regression-suite/208-Moz-REPORT-5.result
Normal file
9
testing/tests/regression-suite/208-Moz-REPORT-5.result
Normal file
@ -0,0 +1,9 @@
|
||||
HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Server: Apache/2.2.3 (Debian) DAV/2
|
||||
ETag: "de17ff152eecec653d5490dc6a820256"
|
||||
Content-Length: 68
|
||||
Content-Type: text/xml;charset=UTF-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<multistatus xmlns="DAV:"/>
|
||||
14
testing/tests/regression-suite/208-Moz-REPORT-5.test
Normal file
14
testing/tests/regression-suite/208-Moz-REPORT-5.test
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# Request a REPORT which should only include an instance of the repeating event we just added
|
||||
#
|
||||
TYPE=REPORT
|
||||
URL=http://mycaldav/caldav.php/user1/home/
|
||||
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061108 Calendar/0.4a1
|
||||
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=Keep-Alive: 300
|
||||
HEADER=Content-Type: text/xml
|
||||
HEADER=Depth: 1
|
||||
HEAD
|
||||
@ -0,0 +1,36 @@
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//Mozilla Calendar//NONSGML Sunbird//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
CREATED:20061120T041336Z
|
||||
LAST-MODIFIED:20061120T041709Z
|
||||
DTSTAMP:20061120T041709Z
|
||||
UID:4aaf8f37-f232-4c8e-a72e-e171d4c4fe54
|
||||
SUMMARY:Weekly Project Meeting
|
||||
PRIORITY:0
|
||||
CLASS:PUBLIC
|
||||
RRULE:FREQ=WEEKLY;COUNT=26;INTERVAL=1;BYDAY=TH
|
||||
DTSTART;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061102T100000
|
||||
DTEND;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061102T110000
|
||||
CATEGORIES:Projects
|
||||
X-MOZ-LOCATIONPATH:4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics
|
||||
END:VEVENT
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/mozilla.org/20050126_1/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
|
||||
END:VCALENDAR
|
||||
Loading…
x
Reference in New Issue
Block a user