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

index dbe632a..db631b5 100644 (file)
@@ -130,4 +130,12 @@ TEST(iCalendarTask, ObjectDataTests){
        ASSERT_EQ(5, TestTask.PriorityData);
        ASSERT_EQ("STATUS=DEFAULT", TestTask.PriorityTokens);
        
+       // Tests for RECURRENCE-ID.
+       
+       ASSERT_EQ("20160131", TestTask.RecurranceIDData);
+       ASSERT_EQ("Europe/Truro", TestTask.RecurranceIDDataTimeZoneParam);
+       ASSERT_EQ("THISANDFUTURE", TestTask.RecurranceIDDataRangeParam);
+       ASSERT_EQ("DATE", TestTask.RecurranceIDDataValue);
+       ASSERT_EQ("EXAMPLE=DATA", TestTask.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