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

index 9c2ce93..f17b2a7 100644 (file)
@@ -112,6 +112,11 @@ TEST(CommonFunctions, ProcessTextVectorsTests){
        
        ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "CONTACT"));
 
+       TextExample1TestResult.clear();
+       TextExample1TestResult.insert(make_pair("CONTACT;TEST=VALUE", "First Contact"));
+
+       ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, false, "CONTACT"));
+
        TextExample1TestResult.clear();
        TextExample1TestResult.insert(make_pair("RESOURCES;ROOM=YES", "First Resource Widget"));
        TextExample1TestResult.insert(make_pair("RESOURCES;ROOM=NO", "Second Resource Widget"));
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