[evolution-data-server/openismus-work-3-8: 4/43] 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/openismus-work-3-8: 4/43] test-client-custom-summary.c: Added exact email match test.
- Date: Sun, 1 Dec 2013 09:40:21 +0000 (UTC)
commit c5f6b6010d62ef9a3c2e7274ea99734b005e29d5
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 c8f233e..fcaeb8f 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,
@@ -460,6 +461,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]