test-client-custom-summary.c: Optimize test.
authorTristan Van Berkom <tristanvb@openismus.com>
Tue, 23 Apr 2013 10:30:51 +0000 (19:30 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Tue, 23 Apr 2013 11:20:46 +0000 (20:20 +0900)
commitd207b18e0d4d76883aad0ba6b432f70e69328450
treeb9054ae59896d1e02a94d0c71de0008d5ac396b3
parent21986669ffde19ffff4813cbf941d0585beff268
test-client-custom-summary.c: Optimize test.

Reuse the same two addressbooks for every test, so that only the
first 2 tests populate the addressbooks with contacts and the remaining
tests only create a client and execute a query.

Also add all test contacts with a single batch command and dont fetch
the test contacts, also removed the #if 0'd case which is the only
case which required the local contact copies.
tests/libebook/client/test-client-custom-summary.c