Skip to content
Permalink
Browse files

Tests for STATUS:CANCELLED sending METHOD:CANCEL.

  • Loading branch information
cyrusdaboo committed Jan 15, 2014
1 parent 422a4ee commit 21d9d45963f20fd916fc363e359d7901e068cfff
Showing with 1,506 additions and 38 deletions.
  1. +1 −1 README.txt
  2. +15 −0 Resource/CalDAV/implicit/cancels/non-recurring-status-only/1.ics
  3. +15 −0 Resource/CalDAV/implicit/cancels/non-recurring-status-only/2.ics
  4. +16 −0 Resource/CalDAV/implicit/cancels/non-recurring-status-only/3.ics
  5. +15 −0 Resource/CalDAV/implicit/cancels/non-recurring-status-only/4.ics
  6. +15 −0 Resource/CalDAV/implicit/cancels/non-recurring-status-only/5.ics
  7. +16 −0 Resource/CalDAV/implicit/cancels/non-recurring-status-only/6.ics
  8. +17 −0 Resource/CalDAV/implicit/cancels/non-recurring-status-only/7.ics
  9. +17 −0 Resource/CalDAV/implicit/cancels/non-recurring-status-only/8.ics
  10. +15 −0 Resource/CalDAV/implicit/cancels/non-recurring-status/1.ics
  11. +15 −0 Resource/CalDAV/implicit/cancels/non-recurring-status/2.ics
  12. +16 −0 Resource/CalDAV/implicit/cancels/non-recurring-status/3.ics
  13. +15 −0 Resource/CalDAV/implicit/cancels/non-recurring-status/4.ics
  14. +15 −0 Resource/CalDAV/implicit/cancels/non-recurring-status/5.ics
  15. +16 −0 Resource/CalDAV/implicit/cancels/non-recurring-status/6.ics
  16. +17 −0 Resource/CalDAV/implicit/cancels/non-recurring-status/7.ics
  17. +17 −0 Resource/CalDAV/implicit/cancels/non-recurring-status/8.ics
  18. +27 −0 Resource/CalDAV/implicit/cancels/recurring-status-only/1.ics
  19. +27 −0 Resource/CalDAV/implicit/cancels/recurring-status-only/2.ics
  20. +29 −0 Resource/CalDAV/implicit/cancels/recurring-status-only/3.ics
  21. +27 −0 Resource/CalDAV/implicit/cancels/recurring-status-only/4.ics
  22. +27 −0 Resource/CalDAV/implicit/cancels/recurring-status-only/5.ics
  23. +28 −0 Resource/CalDAV/implicit/cancels/recurring-status-only/6.ics
  24. +30 −0 Resource/CalDAV/implicit/cancels/recurring-status-only/7.ics
  25. +29 −0 Resource/CalDAV/implicit/cancels/recurring-status-only/8.ics
  26. +27 −0 Resource/CalDAV/implicit/cancels/recurring-status/1.ics
  27. +27 −0 Resource/CalDAV/implicit/cancels/recurring-status/2.ics
  28. +29 −0 Resource/CalDAV/implicit/cancels/recurring-status/3.ics
  29. +27 −0 Resource/CalDAV/implicit/cancels/recurring-status/4.ics
  30. +27 −0 Resource/CalDAV/implicit/cancels/recurring-status/5.ics
  31. +28 −0 Resource/CalDAV/implicit/cancels/recurring-status/6.ics
  32. +30 −0 Resource/CalDAV/implicit/cancels/recurring-status/7.ics
  33. +30 −0 Resource/CalDAV/implicit/cancels/recurring-status/8.ics
  34. +10 −0 Resource/Common/REPORT/all-calendardata.xml
  35. +794 −37 scripts/tests/CalDAV/implicitcancels.xml
@@ -277,7 +277,7 @@ caldavtest.dtd:
3) GETNEW - get the data from the newest resource in the collection specified by the <ruri> element and put its URI
into the $ variable for later use in an <ruri> element.
4) WAITCOUNT - wait until at least a certain number of resources appear in a collection.
4) WAITDELETEALL - wait until at least a certain number of resources appear in a collection, then delete all child
5) WAITDELETEALL - wait until at least a certain number of resources appear in a collection, then delete all child
resources in that collection.

ELEMENT <ruri>
@@ -0,0 +1,15 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1::$cuaddr1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION:$cuaddr2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,15 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;SCHEDULE-STATUS=1.2;EMAIL=$email2::$cuaddrurn2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,16 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;EMAIL=$email2::$cuaddrurn2:
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,15 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;EMAIL=$email2::$cuaddrurn2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,15 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;SCHEDULE-STATUS=2.0;EMAIL=$email2::$cuaddrurn2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,16 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1::$cuaddr1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED:$cuaddr2:
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,17 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;SCHEDULE-STATUS=1.2;EMAIL=$email2::$cuaddrurn2:
SEQUENCE:1
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,17 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1:;SCHEDULE-STATUS=1.2:$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;EMAIL=$email2::$cuaddrurn2:
SEQUENCE:1
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,15 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1::$cuaddr1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION:$cuaddr2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,15 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;SCHEDULE-STATUS=1.2;EMAIL=$email2::$cuaddrurn2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,16 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;EMAIL=$email2::$cuaddrurn2:
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,15 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;EMAIL=$email2::$cuaddrurn2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,15 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;SCHEDULE-STATUS=2.0;EMAIL=$email2::$cuaddrurn2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,16 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1 changed
UID:event1
ORGANIZER;CN=$username1::$cuaddr1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED:$cuaddr2:
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,17 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1 changed
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;SCHEDULE-STATUS=1.2;EMAIL=$email2::$cuaddrurn2:
SEQUENCE:1
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,17 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1 changed
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1:;SCHEDULE-STATUS=1.2:$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;EMAIL=$email2::$cuaddrurn2:
SEQUENCE:1
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,27 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1::$cuaddr1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION:$cuaddr2:
RRULE:FREQ=DAILY
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
RECURRENCE-ID:$now.0:T120000Z
DTSTART:$now.0:T130000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1::$cuaddr1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED:$cuaddr1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION:$cuaddr2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,27 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;SCHEDULE-STATUS=1.2;EMAIL=$email2::$cuaddrurn2:
RRULE:FREQ=DAILY
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
RECURRENCE-ID:$now.-0:T120000Z
DTSTART:$now.-0:T130000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;SCHEDULE-STATUS=1.2;EMAIL=$email2::$cuaddrurn2:
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,29 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;EMAIL=$email2::$cuaddrurn2:
RRULE:FREQ=DAILY
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
RECURRENCE-ID:$now.0:T120000Z
DTSTART:$now.0:T130000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;EMAIL=$email2::$cuaddrurn2:
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR
@@ -0,0 +1,27 @@
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
DTSTART:$now.-10:T120000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;EMAIL=$email2::$cuaddrurn2:
RRULE:FREQ=DAILY
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20051222T205953Z
RECURRENCE-ID:$now.0:T120000Z
DTSTART:$now.0:T130000Z
DURATION:PT1H
SUMMARY:event 1
UID:event1
ORGANIZER;CN=$username1:;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username1:;PARTSTAT=ACCEPTED;EMAIL=$email1::$cuaddrurn1:
ATTENDEE;CN=$username2:;PARTSTAT=ACCEPTED;EMAIL=$email2::$cuaddrurn2:
END:VEVENT
END:VCALENDAR

0 comments on commit 21d9d45

Please sign in to comment.
You can’t perform that action at this time.