Added test case to create a book with custom summary fields and fetch a contact.
authorTristan Van Berkom <tristanvb@openismus.com>
Mon, 8 Oct 2012 07:43:06 +0000 (16:43 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Thu, 22 Nov 2012 03:55:49 +0000 (12:55 +0900)
commit4cedb4f1cfc9e31031ec5140f4a3fd1918d6ed15
tree4bbc9ce06b6cbcf18cce700209889fb74a76f1dc
parent10f430b4c08805995fa2867c5c62e8a4d4154ca0
Added test case to create a book with custom summary fields and fetch a contact.

This test case configures some summary fields and indexes and then performs
some queries and asserts the results. Notably the configured summary uses multi valued
fields E_CONTACT_TEL and E_CONTACT_EMAIL.

Some extra vcards are added to the test data directory in order to have some
mixed up emails and phone numbers to test with
tests/libebook/client/Makefile.am
tests/libebook/client/test-client-custom-summary.c [new file with mode: 0644]
tests/libebook/data/vcards/custom-1.vcf [new file with mode: 0644]
tests/libebook/data/vcards/custom-2.vcf [new file with mode: 0644]
tests/libebook/data/vcards/custom-3.vcf [new file with mode: 0644]
tests/libebook/data/vcards/custom-4.vcf [new file with mode: 0644]
tests/libebook/data/vcards/custom-5.vcf [new file with mode: 0644]