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

index cc62ff5..ed083ca 100644 (file)
@@ -26,4 +26,12 @@ TEST(iCalendarTask, BasicTests){
        ASSERT_EQ(CALENDAROBJECTLOAD_CANNOTOPEN, TestTask.LoadFile("iCalendarTask-InvalidPermissions.vcf"));
        ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestTask.LoadFile("iCalendarTask-Load1.vcf"));
        
+}
+
+TEST(iCalendarTask, ObjectDataTests){
+
+       CalendarTaskObject TestTask;
+       ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestTask.LoadFile("iCalendarTask-Load2.vcf"));
+       ASSERT_EQ(CALENDAROBJECTVALID_OK, TestTask.ValidBaseObject());
+       
 }
\ 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