Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added initial ObjectDataTests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 13:13:12 +0000 (13:13 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 13:13:12 +0000 (13:13 +0000)
source/tests/xestiacalendar_icaleventload.h

index 9816c50..b9a2b63 100644 (file)
@@ -34,4 +34,14 @@ TEST(iCalendarEvent, BaseObjectVerifyTests){
        TestEvent.LoadFile("iCalendarEvent-Load1.vcf");
        ASSERT_EQ(CALENDAROBJECTVALID_OK, TestEvent.ValidBaseObject());
        
+}
+
+TEST(iCalendarEvent, ObjectDataTests){
+       
+       CalendarEventObject TestEvent;
+       ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestEvent.LoadFile("iCalendarEvent-Load2.vcf"));
+       ASSERT_EQ(CALENDAROBJECTVALID_OK, TestEvent.ValidBaseObject());
+       
+       ASSERT_EQ("20160122T124100Z", TestEvent.DateTimeStampData);
+       
 }
\ 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