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

index 539023d..baff32a 100644 (file)
@@ -165,5 +165,13 @@ TEST(iCalendarEvent, ObjectDataTests){
 
        ASSERT_EQ("http://www.example.com/", TestEvent.URLData);
        ASSERT_EQ("EXTERNAL=YES", TestEvent.URLDataTokens);
+       
+       // Tests for RECURRENCE-ID.
+       
+       ASSERT_EQ("20160124", TestEvent.RecurranceIDData);
+       ASSERT_EQ("Europe/Truro", TestEvent.RecurranceIDDataTimeZoneParam);
+       ASSERT_EQ("THISANDFUTURE", TestEvent.RecurranceIDDataRangeParam);
+       ASSERT_EQ("DATE", TestEvent.RecurranceIDDataValue);
+       ASSERT_EQ("EXAMPLE=DATA", TestEvent.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