[evolution-data-server] test-client-custom-summary.c: Added exact email match test.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] test-client-custom-summary.c: Added exact email match test.
- Date: Thu, 14 Nov 2013 06:25:54 +0000 (UTC)
commit 5d9210f0e015074cd74937849cfc6c76007cbb8d
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Wed Nov 13 19:08:31 2013 +0900
test-client-custom-summary.c: Added exact email match test.
tests/libebook/client/test-client-custom-summary.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/tests/libebook/client/test-client-custom-summary.c
b/tests/libebook/client/test-client-custom-summary.c
index fb3dc28..b37d0ba 100644
--- a/tests/libebook/client/test-client-custom-summary.c
+++ b/tests/libebook/client/test-client-custom-summary.c
@@ -47,6 +47,7 @@ setup_custom_book (ESource *scratch,
0);
e_source_backend_summary_setup_set_indexed_fields (
setup,
+ E_CONTACT_EMAIL, E_BOOK_INDEX_PREFIX,
E_CONTACT_TEL, E_BOOK_INDEX_SUFFIX,
E_CONTACT_TEL, E_BOOK_INDEX_PHONE,
E_CONTACT_FULL_NAME, E_BOOK_INDEX_PREFIX,
@@ -465,6 +466,19 @@ main (gint argc,
suites[i].custom,
FALSE);
+ add_client_test (
+ suites[i].prefix,
+ "/Exact/Email",
+ suites[i].func,
+ e_book_query_field_test (
+ E_CONTACT_EMAIL,
+ E_BOOK_QUERY_IS,
+ "micheal jackson com"),
+ 1,
+ suites[i].direct,
+ suites[i].custom,
+ FALSE);
+
/*********************************************
* PHONE NUMBER QUERIES FOLLOW *
*********************************************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]