diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-04-05 14:09:49 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-05 18:55:57 +0200 |
commit | dc904d41a4465decc3a96d9748c59415fb36c1c9 (patch) | |
tree | fc75cb4bd7e38a6ddc80f9a3f4aa8f3af478ca0c /tests | |
parent | ba6591e1fb0235d6e4ba5cb00dcb64fb74308ff8 (diff) | |
download | ayatana-indicator-datetime-dc904d41a4465decc3a96d9748c59415fb36c1c9.tar.gz ayatana-indicator-datetime-dc904d41a4465decc3a96d9748c59415fb36c1c9.tar.bz2 ayatana-indicator-datetime-dc904d41a4465decc3a96d9748c59415fb36c1c9.zip |
Update non attending test with a recurrence example.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-eds-ics-non-attending-alarms.cpp | 2 | ||||
-rw-r--r-- | tests/test-eds-ics-non-attending-alarms.ics.in | 53 |
2 files changed, 43 insertions, 12 deletions
diff --git a/tests/test-eds-ics-non-attending-alarms.cpp b/tests/test-eds-ics-non-attending-alarms.cpp index b636e6f..227ae7f 100644 --- a/tests/test-eds-ics-non-attending-alarms.cpp +++ b/tests/test-eds-ics-non-attending-alarms.cpp @@ -80,7 +80,7 @@ TEST_F(VAlarmFixture, NonAttendingEvent) // the planner should match what we've got in the calendar.ics file const auto appts = planner->appointments().get(); - ASSERT_EQ(0, appts.size()); + ASSERT_EQ(2, appts.size()); // cleanup g_time_zone_unref(gtz); diff --git a/tests/test-eds-ics-non-attending-alarms.ics.in b/tests/test-eds-ics-non-attending-alarms.ics.in index 444b2d1..7adc8ab 100644 --- a/tests/test-eds-ics-non-attending-alarms.ics.in +++ b/tests/test-eds-ics-non-attending-alarms.ics.in @@ -4,19 +4,50 @@ PRODID:-//Ximian//NONSGML Evolution Calendar//EN VERSION:2.0 X-EVOLUTION-DATA-REVISION:2015-04-05T21:32:47.354433Z(2) BEGIN:VEVENT -UID:g9nur97k1pmj4uop7n3q994rdo -DTSTAMP:20160328T183018Z -DTSTART:20160328T170000Z -DTEND:20160328T180000Z -SUMMARY:Meeting -ATTENDEE;MEMBER=;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=FALSE; - CN=Uphablet:mailto:uphablet@lomiri.com +STATUS:CONFIRMED +DTSTAMP:20160405T152128Z +CREATED:20160405T152128Z +UID:ddtvl069dn2cquo8dhg3j9c360@google.com SEQUENCE:1 -LAST-MODIFIED:20160328T183018Z +TRANSP:OPAQUE +SUMMARY:Every day at 4PM +DTSTART;TZID=/freeassociation.sourceforge.net/Tzfile/America/Recife: + 20160404T160000 +RRULE:FREQ=DAILY;UNTIL=20160406T190000Z +DTEND;TZID=/freeassociation.sourceforge.net/Tzfile/America/Recife: + 20160404T170000 +ATTENDEE;CN=Uphablet;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT; + CUTYPE=INDIVIDUAL:mailto:uphablet@lomiri.com +LAST-MODIFIED:20160405T152128Z BEGIN:VALARM -X-EVOLUTION-ALARM-UID:20160328T183018Z-29840-32011-1844-2 -ACTION:AUDIO -TRIGGER;VALUE=DURATION;RELATED=START:-PT30M +TRIGGER;VALUE=DURATION:-PT30M +ACTION:EMAIL +DESCRIPTION:This is an event reminder +X-EVOLUTION-ALARM-UID:20160405T152128Z-2848-32011-1844-65@lomiri-phablet +END:VALARM +END:VEVENT +BEGIN:VEVENT +STATUS:CONFIRMED +DTSTAMP:20160405T152128Z +CREATED:20160405T151054Z +UID:ddtvl069dn2cquo8dhg3j9c360@google.com +SEQUENCE:1 +TRANSP:OPAQUE +SUMMARY::Every day at 4PM +DTSTART;TZID=/freeassociation.sourceforge.net/Tzfile/America/Fortaleza: + 20160405T160000 +RECURRENCE-ID;TZID=/freeassociation.sourceforge.net/Tzfile/America/Recife: + 20160405T160000 +DTEND;TZID=/freeassociation.sourceforge.net/Tzfile/America/Fortaleza: + 20160405T170000 +ATTENDEE;CN=Uphablet;PARTSTAT=DECLINED;ROLE=REQ-PARTICIPANT; + CUTYPE=INDIVIDUAL:mailto:uphablet@lomiri.com +LAST-MODIFIED:20160405T152128Z +BEGIN:VALARM +TRIGGER;VALUE=DURATION:-PT30M +ACTION:EMAIL +DESCRIPTION:This is an event reminder +X-EVOLUTION-ALARM-UID:20160405T152128Z-2848-32011-1844-66@lomiri-phablet END:VALARM END:VEVENT END:VCALENDAR |