ASSERT_EQ("kw", AttendeeDataLanguage);
ASSERT_EQ("EXAMPLE=DATA", AttendeeDataTokens);
+ // Get the first COMMENT.
+
+ std::string CommentData;
+
+ if (TestFreeBusy.CommentList.begin() != TestFreeBusy.CommentList.end()){
+
+ CommentData = TestFreeBusy.CommentList[0];
+
+ }
+
+ ASSERT_EQ("This is the first comment.", CommentData);
+
+ // Get the second COMMENT.
+
+ CommentData.clear();
+
+ std::string CommentDataAltRep;
+ std::string CommentDataLanguage;
+
+ if (TestFreeBusy.CommentList.size() > 1){
+
+ CommentData = TestFreeBusy.CommentList[1];
+
+ }
+
+ if (TestFreeBusy.CommentList.size() > 1){
+
+ CommentDataAltRep = TestFreeBusy.CommentListAltRep[1];
+
+ }
+
+ if (TestFreeBusy.CommentList.size() > 1){
+
+ CommentDataLanguage = TestFreeBusy.CommentListLanguage[1];
+
+ }
+
+ ASSERT_EQ("This is the second comment.", CommentData);
+ ASSERT_EQ("null:nodata", CommentDataAltRep);
+ ASSERT_EQ("en", CommentDataLanguage);
+
+ // Get the third COMMENT.
+
+ CommentData.clear();
+
+ std::string CommentDataTokens;
+
+ if (TestFreeBusy.CommentList.size() > 2){
+
+ CommentData = TestFreeBusy.CommentList[2];
+
+ }
+
+ if (TestFreeBusy.CommentList.size() > 2){
+
+ CommentDataTokens = TestFreeBusy.CommentListTokens[2];
+
+ }
+
+ ASSERT_EQ("This is the third comment.", CommentData);
+ ASSERT_EQ("ZEBRAS=YES", CommentDataTokens);
+
}
\ No newline at end of file