[evolution-data-server/sqlite-refactor: 3/6] data-test-utils.c: Fixed test suite for refactor.



commit 4b8c4aba52adc3ca4375ba200c3730965ad30454
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Mon Nov 18 19:41:53 2013 +0900

    data-test-utils.c: Fixed test suite for refactor.
    
    With the addition of E_BOOK_INDEX_SORT_KEY, customized books need to
    specify that for fields they want to use as sort keys.

 tests/libedata-book/data-test-utils.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/libedata-book/data-test-utils.c b/tests/libedata-book/data-test-utils.c
index f917f0b..9aefb08 100644
--- a/tests/libedata-book/data-test-utils.c
+++ b/tests/libedata-book/data-test-utils.c
@@ -212,7 +212,9 @@ e_sqlitedb_cursor_fixture_setup_book (ESource            *scratch,
                                                           0);
        e_source_backend_summary_setup_set_indexed_fields (setup,
                                                           E_CONTACT_FAMILY_NAME, E_BOOK_INDEX_PREFIX,
+                                                          E_CONTACT_FAMILY_NAME, E_BOOK_INDEX_SORT_KEY,
                                                           E_CONTACT_GIVEN_NAME, E_BOOK_INDEX_PREFIX,
+                                                          E_CONTACT_GIVEN_NAME, E_BOOK_INDEX_SORT_KEY,
                                                           E_CONTACT_EMAIL, E_BOOK_INDEX_PREFIX,
                                                           0);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]