Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added source, header and unit testing code for checking an invalid format for Contact...
[xestiaab/.git]
/
source
/
tests
/
xestiaab_contactload.h
diff --git
a/source/tests/xestiaab_contactload.h
b/source/tests/xestiaab_contactload.h
index
f66f6d5
..
2c13711
100644
(file)
--- a/
source/tests/xestiaab_contactload.h
+++ b/
source/tests/xestiaab_contactload.h
@@
-32,6
+32,10
@@
TEST(ContactLoad, ContactLoadTests){
// open it.
ASSERT_EQ(CONTACTLOAD_FILEERROR, TestFile.LoadFile("InvalidPermissions.vcf"));
+
+ // Check that the file is a valid vCard 4.0 file.
+
+ ASSERT_EQ(CONTACTLOAD_FILEINVALIDFORMAT, TestFile.LoadFile("LoadCheck-Load1-v3.vcf"));
}
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy