// When
ContactLoadStatus testFileLoadStatus = CONTACTLOAD_UNITTESTFAIL;
- testFile.LoadFile("MissingFile.vcf");
+ testFileLoadStatus = testFile.LoadFile("MissingFile.vcf");
// Then
// When
- ContactKindType testFileContactKindStatus = TestFile.ContactKind;
+ ContactKindType testFileContactKindStatus = testFile.ContactKind;
// Then
// Check that the kind status has been set. (KIND).
std::map<int,wxString>::iterator testFileIter;
std::map<int,int>::iterator testFileIntIter;
+ ContactDataObject testFile;
// Given
// When
- TestFileIter = testFile.GroupsListTokens.find(0);
+ testFileIter = testFile.GroupsListTokens.find(0);
// Then
// When
- wxString nameAltID = TestFile.NameAltID;
+ wxString nameAltID = testFile.NameAltID;
// Then
}
-TEST(ContactLoad, GivenContactDataObjectWhenNameAltIDIsRetrievedThenValueforNameAltIDIsReturned)
+TEST(ContactLoad, GivenContactDataObjectWhenNameLanguageIsRetrievedThenValueforNameLanguageIsReturned)
{
// Check the LANGUAGE parameter for N.
// When
- wxString nameLanguage = TestFile.NameLanguage;
+ wxString nameLanguage = testFile.NameLanguage;
// Then
// When
- wxString nameDisplayAs = TestFile.NameDisplayAs;
+ wxString nameDisplayAs = testFile.NameDisplayAs;
// Then