Ported the lower level cursor tests to use EBookSqlite.
authorTristan Van Berkom <tristanvb@openismus.com>
Mon, 18 Nov 2013 10:41:53 +0000 (19:41 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Fri, 29 Nov 2013 13:08:03 +0000 (22:08 +0900)
commit5ab829ca5d7f8238898b317c1fb790b84358d15a
treefd1acd36500e81ae74409f332950716df27c3a2c
parent207a32a3b3e31c0cb56ee1df3bc486a8f30a923b
Ported the lower level cursor tests to use EBookSqlite.

Refactored the whole test suite so that it's isolated to
libedata-book, use the EBookSqlite directly.

Now for the majority of test cases, we test with and without
fields in the summary (with an empty summary configuration)
and we also test the EBookSqlite with a callback to fetch
vcards and without a callback.

We also now test for e164 number change notifications in locale changes.
22 files changed:
tests/libebook/data/vcards/simple-1.vcf
tests/libebook/data/vcards/simple-2.vcf
tests/libebook/data/vcards/sorted-4.vcf
tests/libebook/data/vcards/sorted-5.vcf
tests/libedata-book/Makefile.am
tests/libedata-book/data-test-utils.c
tests/libedata-book/data-test-utils.h
tests/libedata-book/test-sqlite-create-cursor.c
tests/libedata-book/test-sqlite-cursor-calculate.c
tests/libedata-book/test-sqlite-cursor-change-locale.c
tests/libedata-book/test-sqlite-cursor-de-DE-migrated.c [deleted file]
tests/libedata-book/test-sqlite-cursor-en-US-migrated.c [deleted file]
tests/libedata-book/test-sqlite-cursor-fr-CA-migrated.c [deleted file]
tests/libedata-book/test-sqlite-cursor-move-by-de-DE.c
tests/libedata-book/test-sqlite-cursor-move-by-en-US.c
tests/libedata-book/test-sqlite-cursor-move-by-fr-CA.c
tests/libedata-book/test-sqlite-cursor-move-by-posix.c
tests/libedata-book/test-sqlite-cursor-posix-initial.c [deleted file]
tests/libedata-book/test-sqlite-cursor-posix-migrated.c [deleted file]
tests/libedata-book/test-sqlite-cursor-set-sexp.c
tests/libedata-book/test-sqlite-cursor-set-target.c
tests/libedata-book/test-sqlite-get-contact.c