TEST(iCalendarSaveTimezone, SaveTimezoneTests){
CalendarTimezoneObject TestTimezone;
+ CalendarTimezoneObject TestTimezone2;
// Load the first test timezone.
ASSERT_EQ(SaveDataComparison, SaveData);
+ // Process the second calendar item.
+
+ ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestTimezone2.LoadFile("iCalendarTimezone-Load2.vcf"));
+ ASSERT_EQ(CALENDAROBJECTVALID_OK, TestTimezone2.ValidBaseObject());
+
+ SaveData.clear();
+
+ TestTimezone2.SaveString(&SaveData);
+
+ SaveDataComparison = "BEGIN:VCALENDAR\n"
+ "VERSION:2.0\n"
+ "PRODID:-//Xestia//Calendar Unit Testing//KW\n"
+ "BEGIN:VTIMEZONE\n"
+ "TZID;OTHER=PARAM:Example/Starrgazy\n"
+ "END:VTIMEZONE\n"
+ "END:VCALENDAR";
+
+ ASSERT_EQ(SaveDataComparison, SaveData);
+
}
\ No newline at end of file