X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Ftests%2Fxestiaab_contactsave.h;h=c1f8b9a204271941853cbbc027fbe13bee826b4f;hp=c2de21f517350c721c52d59d9fad0bc4403f1321;hb=ba3ba5de4e84a8c3ddeb65549d0b46998e5ebdf5;hpb=bfeaecc9ef791d6a2c58cafa71f332eecb606b20 diff --git a/source/tests/xestiaab_contactsave.h b/source/tests/xestiaab_contactsave.h index c2de21f..c1f8b9a 100644 --- a/source/tests/xestiaab_contactsave.h +++ b/source/tests/xestiaab_contactsave.h @@ -1,6 +1,6 @@ // xestiaab_contactsave.h - Xestia Address Book Contact Save Unit Tests. // -// (c) 2012-2015 Xestia Software Development. +// (c) 2012-2017 Xestia Software Development. // // This file is part of Xestia Address Book. // @@ -38,7 +38,7 @@ TEST(ContactSave, GivenAContactDataObjectWhenSaveStringIsCalledThenContactDataSa ContactDataObject testFile; ContactLoadStatus testFileLoadStatus = CONTACTLOAD_UNITTESTFAIL; - testFileLoadStatus = testFile1.LoadFile("LoadCheck-Load1.vcf"); + testFileLoadStatus = testFile.LoadFile("LoadCheck-Load1.vcf"); ASSERT_EQ(CONTACTLOAD_OK, testFileLoadStatus); @@ -729,14 +729,14 @@ TEST(ContactSave, GivenSeveralContactFilesWhenLoadFileAndSaveFileIsCalledThenCon ContactDataObject testFile2; ContactDataObject testFile3; - ContactLoadStatus testFile1SaveStatus = CONTACTSAVE_UNITTESTFAIL; - ContactSaveStatus testFile1LoadStatus = CONTACTLOAD_UNITTESTFAIL; + ContactLoadStatus testFile1LoadStatus = CONTACTLOAD_UNITTESTFAIL; + ContactSaveStatus testFile1SaveStatus = CONTACTSAVE_UNITTESTFAIL; - ContactLoadStatus testFile2SaveStatus = CONTACTSAVE_UNITTESTFAIL; - ContactSaveStatus testFile2LoadStatus = CONTACTLOAD_UNITTESTFAIL; + ContactLoadStatus testFile2LoadStatus = CONTACTLOAD_UNITTESTFAIL; + ContactSaveStatus testFile2SaveStatus = CONTACTSAVE_UNITTESTFAIL; - ContactLoadStatus testFile3SaveStatus = CONTACTSAVE_UNITTESTFAIL; - ContactSaveStatus testFile3LoadStatus = CONTACTLOAD_UNITTESTFAIL; + ContactLoadStatus testFile3LoadStatus = CONTACTLOAD_UNITTESTFAIL; + ContactSaveStatus testFile3SaveStatus = CONTACTSAVE_UNITTESTFAIL; // When @@ -771,7 +771,7 @@ TEST(ContactSave, GivenContactDataObjectWhenFileIsSavedToInvalidLocationThenErro ContactLoadStatus testFileLoadStatus = CONTACTLOAD_UNITTESTFAIL; ContactSaveStatus testFileSaveStatus = CONTACTSAVE_UNITTESTFAIL; - testFileLoadStatus = testFile1.LoadFile("LoadCheck-Load1.vcf"); + testFileLoadStatus = testFile.LoadFile("LoadCheck-Load1.vcf"); ASSERT_EQ(CONTACTLOAD_OK, testFileLoadStatus);