Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added test and code to check if an error occured whilst opening the input file.
[xestiaab/.git] / source / tests / xestiaab_convert.h
index 2b185c0..7f3d3a7 100644 (file)
@@ -59,6 +59,11 @@ TEST(ConvertCmdLine, ConvertTests){
        ASSERT_EQ(CONVERTRESULT_INPUTFILEMISSING, ConvertContact(wxT("vCard3"), 
                wxT("vCard4"), 
                wxT("InvalidFile.vcf"), 
-               wxT("Temp-LoadCheck-Load1-v3Conv.vcf"))); 
+               wxT("Temp-LoadCheck-Load1-v3Conv.vcf")));
+
+       ASSERT_EQ(CONVERTRESULT_INPUTFILEERROR, ConvertContact(wxT("vCard3"), 
+               wxT("vCard4"), 
+               wxT("InvalidPermissions.vcf"), 
+               wxT("Temp-LoadCheck-Load1-v3Conv.vcf")));
 
 }
\ No newline at end of file
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