Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added test to check result on a single match for ATTENDEE.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 12:22:20 +0000 (12:22 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 12:22:20 +0000 (12:22 +0000)
source/tests/xestiacalendar_commonfunctions.h

index e2da316..dc81f98 100644 (file)
@@ -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"));
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy