Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added the PRIORITY property to iCalendarEvent-Load2.vcf
[xestiacalendar/.git] / source / tests / xestiacalendar_icaleventload.h
index 96d40db..68c7339 100644 (file)
@@ -112,4 +112,25 @@ TEST(iCalendarEvent, ObjectDataTests){
        ASSERT_EQ("5.0;5.0", TestEvent.GeographicData);
        ASSERT_EQ("EXAMPLE=MEEP", TestEvent.GeographicTokens);
        
+       // Tests for LAST-MODIFIED.
+       
+       ASSERT_EQ("20160124T093000Z", TestEvent.LastModifiedData);
+       ASSERT_EQ("FUTURE=ODD", TestEvent.LastModifiedTokens);
+
+       // Tests for LOCATION.
+
+       ASSERT_EQ("The Basement, Truro", TestEvent.LocationData);
+       ASSERT_EQ("null:nodata", TestEvent.LocationDataAltRep);
+       ASSERT_EQ("kw", TestEvent.LocationDataLanguage);
+       ASSERT_EQ("EXACT=NO", TestEvent.LocationDataTokens);
+       
+       // Tests for ORGANIZER.
+       
+       ASSERT_EQ("mailto:organiser@example.com", TestEvent.OrganiserData);
+       ASSERT_EQ("ExampleOrganiser", TestEvent.OrganiserDataCommonName);
+       ASSERT_EQ("null:nodata", TestEvent.OrganiserDataDirectoryEntry);
+       ASSERT_EQ("mailto:organiser.noreply@example.com", TestEvent.OrganiserDataSentByParam);
+       ASSERT_EQ("kw", TestEvent.OrganiserDataLanguage);
+       ASSERT_EQ("HAPPY=DAYS", TestEvent.OrganiserDataTokens);
+       
 }
\ 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