TextPropertiesExample1.push_back("CONTACT;SETUP=NO");
TextValueExample1.push_back("Third Contact");
+
+ TextPropertiesExample1.push_back("RESOURCES;ROOM=YES");
+ TextValueExample1.push_back("First Resource Widget");
+
+ TextPropertiesExample1.push_back("RESOURCES;ROOM=NO");
+ TextValueExample1.push_back("Second Resource Widget");
+
+ TextPropertiesExample1.push_back("RESOURCES;ROOM=UNKNOWN");
+ TextValueExample1.push_back("Third Resource Widget");
TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 1"));
TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 2"));
ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "CONTACT"));
+ TextExample1TestResult.clear();
+ TextExample1TestResult.insert(make_pair("RESOURCES;ROOM=YES", "First Resource Widget"));
+ TextExample1TestResult.insert(make_pair("RESOURCES;ROOM=NO", "Second Resource Widget"));
+ TextExample1TestResult.insert(make_pair("RESOURCES;ROOM=UNKNOWN", "Third Resource Widget"));
+
+ ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "RESOURCES"));
+
}
\ No newline at end of file