ASSERT_EQ("FREQ=DAILY;COUNT=10", TestTask.RecurranceRuleData);
ASSERT_EQ("TEST=DATA", TestTask.RecurranceRuleDataTokens);
+ // Tests for DUE.
+
+ ASSERT_EQ("20160131T150000Z", TestTask.DueData);
+ ASSERT_EQ("Europe/Truro", TestTask.DueDataTimeZoneID);
+ ASSERT_EQ("DATE-TIME", TestTask.DueDataValue);
+ ASSERT_EQ("TEST=YES", TestTask.DueDataTokens);
+
+ // Tests for DURATION.
+
+ CalendarTaskObject TestTask2;
+ ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestTask2.LoadFile("iCalendarTask-Load3.vcf"));
+ ASSERT_EQ(CALENDAROBJECTVALID_OK, TestTask2.ValidBaseObject());
+
+ ASSERT_EQ("PT15M", TestTask2.DurationData);
+ ASSERT_EQ("TEST=YES", TestTask2.DurationDataTokens);
+
}
\ No newline at end of file