ASSERT_EQ("null:nodata", ResourcesAltRep);
ASSERT_EQ("STATUS=BROKEN", ResourcesTokens);
+ // Get the first RDATE.
+
+ std::string RecurrenceDate;
+
+ if (TestEvent.RecurranceDateData.begin() != TestEvent.RecurranceDateData.end()){
+
+ RecurrenceDate = TestEvent.RecurranceDateData[0];
+
+ }
+
+ ASSERT_EQ("20160120", RecurrenceDate);
+
+ // Get the second RDATE.
+
+ RecurrenceDate.clear();
+
+ std::string RecurrenceDateTimeZoneParam;
+ std::string RecurrenceDateValue;
+
+ if (TestEvent.RecurranceDateData.size() > 1){
+
+ RecurrenceDate = TestEvent.RecurranceDateData[1];
+
+ }
+
+ if (TestEvent.RecurranceDateData.size() > 1){
+
+ RecurrenceDateTimeZoneParam = TestEvent.RecurranceDateDataTimeZoneParam[1];
+
+ }
+
+ if (TestEvent.RecurranceDateData.size() > 1){
+
+ RecurrenceDateValue = TestEvent.RecurranceDateDataValue[1];
+
+ }
+
+ ASSERT_EQ("20160121", RecurrenceDate);
+ ASSERT_EQ("DATE", RecurrenceDateValue);
+ ASSERT_EQ("Europe/Truro", RecurrenceDateTimeZoneParam);
+
+ // Get the third RDATE.
+
+ RecurrenceDate.clear();
+
+ std::string RecurrenceTokens;
+
+ if (TestEvent.RecurranceDateData.size() > 2){
+
+ RecurrenceDate = TestEvent.RecurranceDateData[2];
+
+ }
+
+ if (TestEvent.RecurranceDateData.size() > 2){
+
+ RecurrenceTokens = TestEvent.RecurranceDateDataTokens[2];
+
+ }
+
+ ASSERT_EQ("20160520", RecurrenceDate);
+ ASSERT_EQ("ZILCH=DATA", RecurrenceTokens);
+
}
\ No newline at end of file