Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added more to unit test checking for CLASS for CalendarEventObject
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Tue, 31 May 2016 23:06:32 +0000 (00:06 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Tue, 31 May 2016 23:06:32 +0000 (00:06 +0100)
source/tests/xestiacalendar_icaleventsave.h

index 1ed9ae6..2e2ffbf 100644 (file)
@@ -65,6 +65,7 @@ TEST(iCalendarSaveEvent, SaveEventTests){
        ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestEvent2.LoadFile("iCalendarEvent-Load2.vcf"));
        ASSERT_EQ(CALENDAROBJECTVALID_OK, TestEvent2.ValidBaseObject());
 
+       SaveData.clear();
        SaveDataComparison = "BEGIN:VCARD\n"
        "VERSION:2.0\n"
        "PRODID:-//Xestia//Calendar Unit Testing//KW\n"
@@ -73,10 +74,11 @@ TEST(iCalendarSaveEvent, SaveEventTests){
        "DTSTAMP;OTHER=PARAM:20160122T124100Z\n"
        "DTSTART;VALUE=DATE-TIME;TZID=Europe/Truro;PARAMONE=YES;PARAMTWO=NO:20160122T1\n"
        " 83000Z\n"
-       "DTEND;VALUE=DATE-TIME;TZID=Europe/Truro;PARAMTHREE=NO;PARAMFOUR=YES:20160124\n"
-       " T183000Z\n"
-       "SUMMARY;ALTREP="null:nodata";LANGUAGE=kw;FAVOURITE=TOFU;NOTLIKE=NONE:A summa\n"
-       " ry of the event.\n"
+       "DTEND;VALUE=DATE-TIME;TZID=Europe/Truro;PARAMFOUR=YES;PARAMTHREE=NO:20160124T\n"
+       " 183000Z\n"
+       "SUMMARY;ALTREP=\"null:nodata\";LANGUAGE=kw;FAVOURITE=TOFU;NOTLIKE=NONE:A summar\n"
+       " y of the event.\n"
+       "CLASS;CHOCOLATE=BAR:PUBLIC\n"
        "END:VEVENT\n"
        "END:VCARD";
 
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