--- .../client/test-book-client-custom-summary.c | 25 ++++++++++++++++++++++ tests/libebook/data/vcards/custom-7.vcf | 1 + 2 files changed, 26 insertions(+) diff --git a/tests/libebook/client/test-book-client-custom-summary.c b/tests/libebook/client/test-book-client-custom-summary.c index ec3f59c..f17f56d 100644 --- a/tests/libebook/client/test-book-client-custom-summary.c +++ b/tests/libebook/client/test-book-client-custom-summary.c @@ -762,6 +762,30 @@ main (gint argc, suites[i].custom, FALSE); + add_client_test ( + suites[i].prefix, + "/Exists/Email", + suites[i].func, + e_book_query_field_exists ( + E_CONTACT_EMAIL), + /* There are 13 contacts with email addresses */ + 13, + suites[i].direct, + suites[i].custom, + FALSE); + + add_client_test ( + suites[i].prefix, + "/Exists/X509", + suites[i].func, + e_book_query_field_exists ( + E_CONTACT_X509_CERT), + /* There is 1 contact with a cert listed */ + 1, + suites[i].direct, + suites[i].custom, + FALSE); + /********************************************* * PHONE NUMBERS * *********************************************/ diff --git a/tests/libebook/data/vcards/custom-7.vcf b/tests/libebook/data/vcards/custom-7.vcf index 2141e36..dae210a 100644 --- a/tests/libebook/data/vcards/custom-7.vcf +++ b/tests/libebook/data/vcards/custom-7.vcf @@ -2,4 +2,5 @@ BEGIN:VCARD UID:custom-7 FN:Purple Goose TEL;HOME:+49-89-7888 99 +KEY;ENCODING=b;TYPE=X509:AA== END:VCARD -- 1.9.3 -- David Woodhouse Open Source Technology Centre David Woodhouse intel com Intel Corporation
Attachment:
smime.p7s
Description: S/MIME cryptographic signature