Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Created iCalendarEvent-Load3.vcf for unit testing
[xestiacalendar/.git] / source / tests / xestiacalendar_icaleventload.h
index baff32a..d81dd6c 100644 (file)
@@ -174,4 +174,21 @@ TEST(iCalendarEvent, ObjectDataTests){
        ASSERT_EQ("DATE", TestEvent.RecurranceIDDataValue);
        ASSERT_EQ("EXAMPLE=DATA", TestEvent.RecurranceIDDataTokens);
 
+       // Tests for RRULE.
+       
+       ASSERT_EQ("FREQ=DAILY;COUNT=10", TestEvent.RecurranceRuleData);
+       ASSERT_EQ("TEST=DATA", TestEvent.RecurranceRuleDataTokens);
+
+       // Tests for DTEND.
+       
+       ASSERT_EQ("20160124T183000Z", TestEvent.DateTimeEndData);
+       ASSERT_EQ("DATE-TIME", TestEvent.DateTimeEndDataValue);
+       ASSERT_EQ("Europe/Truro", TestEvent.DateTimeEndDataTimeZoneID);
+       ASSERT_EQ("PARAMFOUR=YES;PARAMTHREE=NO", TestEvent.DateTimeEndDataTokens);
+       
+       // Tests for DURATION. (Done in another file called 
+       // iCalendarEvent-Load3.vcf).
+
+       
+
 }
\ 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