TextPropertiesExample1.push_back("COMMENT");
TextValueExample1.push_back("This is the third comment.");
+ TextPropertiesExample1.push_back("CONTACT;TEST=VALUE");
+ TextValueExample1.push_back("First Contact");
+
+ TextPropertiesExample1.push_back("CONTACT;LAZY=NOPE");
+ TextValueExample1.push_back("Second Contact");
+
+ TextPropertiesExample1.push_back("CONTACT;SETUP=NO");
+ TextValueExample1.push_back("Third Contact");
+
TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 1"));
TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 2"));
TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 3"));
ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "COMMENT"));
+ TextExample1TestResult.clear();
+ TextExample1TestResult.insert(make_pair("CONTACT;TEST=VALUE", "First Contact"));
+ TextExample1TestResult.insert(make_pair("CONTACT;LAZY=NOPE", "Second Contact"));
+ TextExample1TestResult.insert(make_pair("CONTACT;SETUP=NO", "Third Contact"));
+
+ ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "CONTACT"));
+
}
\ No newline at end of file