X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Ftests%2Fxestiaab_contactload.h;h=1820bbf84e61ed334c7a1ce5494e5decc30797e9;hb=d0aff1878b93bd25d923176e4e18829b7040da1c;hp=2c13711b3cc614737bf65e22ccb4afaa8221bd0f;hpb=cbb594a87fa3bf6d8511d637f8a390f0e9edc9ea;p=xestiaab%2F.git diff --git a/source/tests/xestiaab_contactload.h b/source/tests/xestiaab_contactload.h index 2c13711..1820bbf 100644 --- a/source/tests/xestiaab_contactload.h +++ b/source/tests/xestiaab_contactload.h @@ -37,6 +37,14 @@ TEST(ContactLoad, ContactLoadTests){ ASSERT_EQ(CONTACTLOAD_FILEINVALIDFORMAT, TestFile.LoadFile("LoadCheck-Load1-v3.vcf")); + // Check that the vCard 4.0 file meets the base specification. + + ASSERT_EQ(CONTACTLOAD_FILEBASESPECFAIL, TestFile.LoadFile("LoadCheck-Load3.vcf")); + + // Check that the vCard 4.0 file loads OK. + + ASSERT_EQ(CONTACTLOAD_OK, TestFile.LoadFile("LoadCheck-Load4.vcf")); + } // TODO: Add tests for the Contact Loading process. \ No newline at end of file