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);
+
+ // Check that the formatted name has been read (FN).
+
+ TestFileIter = TestFile.FullNamesList.find(0);
+ ASSERT_NE(TestFile.FullNamesList.end(), TestFileIter);
+ ASSERT_EQ("Test Contact", TestFileIter->second);
}