X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Ftests%2Fxestiacalendar_commonfunctions.h;h=b696608fbf1fd21838ff89fa7d55e84775079669;hb=48a3ac038467b55ed355d93b51e1c52923969864;hp=f17b2a7e62bc9ad9e849d35d869ed66ee4a4b1ad;hpb=b42f016fe9b34406ac2b8d65ef49604d841d1e00;p=xestiacalendar%2F.git diff --git a/source/tests/xestiacalendar_commonfunctions.h b/source/tests/xestiacalendar_commonfunctions.h index f17b2a7..b696608 100644 --- a/source/tests/xestiacalendar_commonfunctions.h +++ b/source/tests/xestiacalendar_commonfunctions.h @@ -124,6 +124,11 @@ TEST(CommonFunctions, ProcessTextVectorsTests){ ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "RESOURCES")); + TextExample1TestResult.clear(); + TextExample1TestResult.insert(make_pair("RESOURCES;ROOM=YES", "First Resource Widget")); + + ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, false, "RESOURCES")); + TextExample1TestResult.clear(); TextExample1TestResult.insert(make_pair("RELATED;RELATION=NO", "First Relation")); TextExample1TestResult.insert(make_pair("RELATED;RELATION=YES", "Second Relation"));