X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Ftests%2Fxestiacalendar_commonfunctions.h;h=dc81f989343f0508fb10432288f97bceb1a7fd00;hb=debddfdf8194ed71d12485911c472cc65467cfbe;hp=e2da316cefb721e9fa0991339005d2ded69e2ae3;hpb=40d1051c6c1bbf2397767194d6b516e286c7628d;p=xestiacalendar%2F.git diff --git a/source/tests/xestiacalendar_commonfunctions.h b/source/tests/xestiacalendar_commonfunctions.h index e2da316..dc81f98 100644 --- a/source/tests/xestiacalendar_commonfunctions.h +++ b/source/tests/xestiacalendar_commonfunctions.h @@ -76,6 +76,11 @@ TEST(CommonFunctions, ProcessTextVectorsTests){ ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "ATTENDEE")); + TextExample1TestResult.clear(); + TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 1")); + + ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, false, "ATTENDEE")); + TextExample1TestResult.clear(); TextExample1TestResult.insert(make_pair("CATEGORIES", "CATEGORY 1")); TextExample1TestResult.insert(make_pair("CATEGORIES", "CATEGORY 2"));