Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for DTEND in iCalendarEvent/ObjectDataTests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 25 Jan 2016 21:21:50 +0000 (21:21 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 25 Jan 2016 21:21:50 +0000 (21:21 +0000)
source/tests/xestiacalendar_icaleventload.h

index 8523da2..d81dd6c 100644 (file)
@@ -178,5 +178,17 @@ TEST(iCalendarEvent, ObjectDataTests){
        
        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