From: Steve Brokenshire Date: Sat, 23 Jan 2016 12:32:00 +0000 (+0000) Subject: Added test to check result on a single match for RELATED. X-Git-Tag: release-0.02~749 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=499fafba0a18e6d30b6893544aa97f08f0b2902d;p=xestiacalendar%2F.git Added test to check result on a single match for RELATED. --- diff --git a/source/tests/xestiacalendar_commonfunctions.h b/source/tests/xestiacalendar_commonfunctions.h index b696608..21ea604 100644 --- a/source/tests/xestiacalendar_commonfunctions.h +++ b/source/tests/xestiacalendar_commonfunctions.h @@ -136,4 +136,9 @@ TEST(CommonFunctions, ProcessTextVectorsTests){ ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "RELATED")); + TextExample1TestResult.clear(); + TextExample1TestResult.insert(make_pair("RELATED;RELATION=NO", "First Relation")); + + ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, false, "RELATED")); + } \ No newline at end of file