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 property value, ALTID, LANGUAGE source, header and unit tests for the N vCard...
[xestiaab/.git]
/
source
/
tests
/
xestiaab_contactload.h
diff --git
a/source/tests/xestiaab_contactload.h
b/source/tests/xestiaab_contactload.h
index
b3e53f4
..
4585abc
100644
(file)
--- a/
source/tests/xestiaab_contactload.h
+++ b/
source/tests/xestiaab_contactload.h
@@
-131,6
+131,13
@@
TEST(ContactLoad, ContactLoadTests){
ASSERT_NE(TestFile.FullNamesListTokens.end(), TestFileIter);
ASSERT_EQ("EXAMPLE=Baaa", TestFileIter->second);
ASSERT_NE(TestFile.FullNamesListTokens.end(), TestFileIter);
ASSERT_EQ("EXAMPLE=Baaa", TestFileIter->second);
+ // Check that the name has been read (N).
+
+ ASSERT_EQ("Test", TestFile.NameForename);
+ ASSERT_EQ("3", TestFile.NameAltID);
+ ASSERT_EQ("kw", TestFile.NameLanguage);
+
+
}
// TODO: Add tests for the Contact Loading process.
\ No newline at end of file
}
// TODO: Add tests for the Contact Loading process.
\ No newline at end of file
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy