Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added remaining source code and units tests for the MEMBER vCard property in ContactD...
[xestiaab/.git] / source / tests / xestiaab_contactload.h
index f40eeb9..d7c1210 100644 (file)
@@ -76,6 +76,19 @@ TEST(ContactLoad, ContactLoadTests){
        TestFileIntIter = TestFile.GroupsListPref.find(0);
        ASSERT_NE(TestFile.GroupsListPref.end(), TestFileIntIter);
        ASSERT_EQ(45, TestFileIntIter->second);
+       
+       // Check that MEDIATYPE parameter.
+       
+       TestFileIter = TestFile.GroupsListMediaType.find(0);
+       ASSERT_NE(TestFile.GroupsListMediaType.end(), TestFileIter);
+       ASSERT_EQ("text/plain", TestFileIter->second);
+       
+       // Check the extra tokens parameter.
+       
+       TestFileIter = TestFile.GroupsListTokens.find(0);
+       ASSERT_NE(TestFile.GroupsListTokens.end(), TestFileIter);
+       ASSERT_EQ("EXAMPLE=Meep", TestFileIter->second);
+       
 
 }
 
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