[evolution-data-server/openismus-work-master: 134/150] highlevel cursor tests: Fixed to expect total + 1 when overshooting the end of the list.



commit 30193f0fcce11c29cc68b75e01e7c08ee6c6a124
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Sat Oct 19 01:11:57 2013 +0200

    highlevel cursor tests: Fixed to expect total + 1 when overshooting the end of the list.

 .../client/test-client-cursor-operations.c         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libebook/client/test-client-cursor-operations.c 
b/tests/libebook/client/test-client-cursor-operations.c
index 64b8a93..e5c3949 100644
--- a/tests/libebook/client/test-client-cursor-operations.c
+++ b/tests/libebook/client/test-client-cursor-operations.c
@@ -2155,7 +2155,7 @@ main (gint argc,
                                     11, /* Count */
                                     10, /* Expected results */
                                     17, 16, 18, 10, 14, 12, 13, 9,  19, 20);
-               cursor_closure_position (closure, 20, 0, TRUE);
+               cursor_closure_position (closure, 20, 21, TRUE);
                cursor_closure_add (closure, "/EBookClientCursor/Move/Overshoot%s", base_params[i].base_path);
 
                /* Undershooting the contact list (in reverse) causes position to become


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