ASSERT_EQ("20160131T173000Z", TestFreeBusy.DateTimeStampData);
ASSERT_EQ("OTHER=PARAM", TestFreeBusy.DateTimeStampTokens);
+ // Tests for UID.
+
+ ASSERT_EQ("b3a16392-ad86-4061-be53-c215af2306ff", TestFreeBusy.UniqueID);
+ ASSERT_EQ("UNIQUEPARAM=CERTAINLY;OKAY=MAYBENOT", TestFreeBusy.UniqueIDTokens);
+
+ // Tests for CONTACT.
+
+ std::string ContactData;
+ std::string ContactDataAltRep;
+ std::string ContactDataLanguage;
+ std::string ContactDataTokens;
+
+ if (TestFreeBusy.ContactList.size() > 0){
+
+ ContactData = TestFreeBusy.ContactList[0];
+
+ }
+
+ if (TestFreeBusy.ContactList.size() > 0){
+
+ ContactDataAltRep = TestFreeBusy.ContactListAltRep[0];
+
+ }
+
+ if (TestFreeBusy.ContactList.size() > 0){
+
+ ContactDataLanguage = TestFreeBusy.ContactListLanguage[0];
+
+ }
+
+ if (TestFreeBusy.ContactList.size() > 0){
+
+ ContactDataTokens = TestFreeBusy.ContactListTokens[0];
+
+ }
+
+ ASSERT_EQ("Contact Person", ContactData);
+ ASSERT_EQ("null:nodata", ContactDataAltRep);
+ ASSERT_EQ("en-GB", ContactDataLanguage);
+ ASSERT_EQ("EXAMPLE=TOKEN", ContactDataTokens);
+
+ // Tests for DTSTART.
+
+ ASSERT_EQ("20160131T103000Z", TestFreeBusy.DateTimeStartData);
+ ASSERT_EQ("DATE-TIME", TestFreeBusy.DateTimeStartDataValue);
+ ASSERT_EQ("Europe/Truro", TestFreeBusy.DateTimeStartDataTimeZoneID);
+ ASSERT_EQ("PARAMONE=YES;PARAMTWO=NO", TestFreeBusy.DateTimeStartDataTokens);
+
}
\ No newline at end of file