[evolution-data-server/openismus-work-3-8] test-client-cursor-operations.c: Updated for move_by() -> step() API change.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work-3-8] test-client-cursor-operations.c: Updated for move_by() -> step() API change.
- Date: Thu, 24 Oct 2013 20:43:20 +0000 (UTC)
commit dddedbcc23d9735baa1f39725b0997ca56837b7a
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Thu Oct 24 22:39:02 2013 +0200
test-client-cursor-operations.c: Updated for move_by() -> step() API change.
.../client/test-client-cursor-operations.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/tests/libebook/client/test-client-cursor-operations.c
b/tests/libebook/client/test-client-cursor-operations.c
index 5741e82..178f973 100644
--- a/tests/libebook/client/test-client-cursor-operations.c
+++ b/tests/libebook/client/test-client-cursor-operations.c
@@ -2394,11 +2394,13 @@ main (gint argc,
/* Supports transliterated queries */
closure = cursor_closure_new (base_params[i].async, base_params[i].dra, "POSIX");
cursor_closure_position (closure, 20, 0, TRUE);
- cursor_closure_move_by (closure,
- E_BOOK_CURSOR_ORIGIN_CURRENT,
- 10, /* Count */
- 10, /* Expected results */
- 11, 2, 6, 3, 8, 1, 5, 4, 7, 15);
+
+ cursor_closure_step (closure,
+ E_BOOK_CURSOR_STEP_MOVE | E_BOOK_CURSOR_STEP_FETCH,
+ E_BOOK_CURSOR_ORIGIN_CURRENT,
+ 10, /* Count */
+ 10, /* Expected results */
+ 11, 2, 6, 3, 8, 1, 5, 4, 7, 15);
cursor_closure_position (closure, 20, 10, TRUE);
cursor_closure_set_sexp (closure,
e_book_query_field_test (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]