Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for RECURRENCE-ID in iCalendarJournal/ObjectDataTests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:50:16 +0000 (14:50 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:50:16 +0000 (14:50 +0000)
source/tests/xestiacalendar_icaljournalload.h

index 14ad1ce..fdcae68 100644 (file)
@@ -70,4 +70,12 @@ TEST(iCalendarJournal, ObjectDataTests){
        ASSERT_EQ("kw", TestJournal.OrganiserDataLanguage);
        ASSERT_EQ("HAPPY=DAYS", TestJournal.OrganiserDataTokens);
        
+       // Tests for RECURRENCE-ID.
+       
+       ASSERT_EQ("20160131", TestJournal.RecurranceIDData);
+       ASSERT_EQ("Europe/Truro", TestJournal.RecurranceIDDataTimeZoneParam);
+       ASSERT_EQ("THISANDFUTURE", TestJournal.RecurranceIDDataRangeParam);
+       ASSERT_EQ("DATE", TestJournal.RecurranceIDDataValue);
+       ASSERT_EQ("EXAMPLE=DATA", TestJournal.RecurranceIDDataTokens);
+       
 }
\ No newline at end of file
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy