add test cases for PERIOD support
This commit is contained in:
13
radicale/tests/static/event_rdate_period_start_duration.ics
Normal file
13
radicale/tests/static/event_rdate_period_start_duration.ics
Normal file
@@ -0,0 +1,13 @@
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:test
|
||||
BEGIN:VEVENT
|
||||
UID:test-rdate-period-start-duration
|
||||
DESCRIPTION:event with rdate period start duration
|
||||
DTSTART:20000101T000000Z
|
||||
DURATION:PT1H
|
||||
DTSTAMP:20000101T000000Z
|
||||
RRULE:FREQ=WEEKLY
|
||||
RDATE;VALUE=PERIOD:20000102T000000Z/PT2H
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
@@ -0,0 +1,13 @@
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:test
|
||||
BEGIN:VEVENT
|
||||
UID:test-rdate-period-start-duration-multi
|
||||
DESCRIPTION:event with rdate period multiple start duration
|
||||
DTSTART:20000101T000000Z
|
||||
DURATION:PT1H
|
||||
DTSTAMP:20000101T000000Z
|
||||
RRULE:FREQ=WEEKLY
|
||||
RDATE;VALUE=PERIOD:20000102T000000Z/PT2H,20010102T000000Z/PT2H
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
13
radicale/tests/static/event_rdate_period_start_stop.ics
Normal file
13
radicale/tests/static/event_rdate_period_start_stop.ics
Normal file
@@ -0,0 +1,13 @@
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:test
|
||||
BEGIN:VEVENT
|
||||
UID:test-rdate-period-time-start-stop
|
||||
DESCRIPTION:event with rdate period start and stop
|
||||
DTSTART:20000101T000000Z
|
||||
DURATION:PT1H
|
||||
DTSTAMP:20000101T000000Z
|
||||
RRULE:FREQ=WEEKLY
|
||||
RDATE;VALUE=PERIOD:20000102T000000Z/20000402T000000Z/
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
@@ -0,0 +1,13 @@
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:test
|
||||
BEGIN:VEVENT
|
||||
UID:test-rdate-period-time-start-stop-multi
|
||||
DESCRIPTION:event with rdate period multiple start and stop
|
||||
DTSTART:20000101T000000Z
|
||||
DURATION:PT1H
|
||||
DTSTAMP:20000101T000000Z
|
||||
RRULE:FREQ=WEEKLY
|
||||
RDATE;VALUE=PERIOD:20000102T000000Z/20000402T000000Z,20010102T000000Z/20010402T000000Z
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
Reference in New Issue
Block a user