[tracker/wip/carlosg/deserializer-cursors: 13/15] tests: Rename test




commit 1c906619be13c46121040f2d9b7e9a08902d18db
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun May 1 15:50:55 2022 +0200

    tests: Rename test
    
    The original bug was a sigpipe in the dbus connection, but this
    now simply tests that cursors can be closed before all results
    are read.

 tests/libtracker-sparql/tracker-cursor-test.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/libtracker-sparql/tracker-cursor-test.c b/tests/libtracker-sparql/tracker-cursor-test.c
index e93740c12..994424bc6 100644
--- a/tests/libtracker-sparql/tracker-cursor-test.c
+++ b/tests/libtracker-sparql/tracker-cursor-test.c
@@ -221,8 +221,8 @@ test_tracker_sparql_query_iterate_empty (gpointer      fixture,
 
 /* Closes the cursor before all results are read */
 static void
-test_tracker_sparql_query_iterate_sigpipe (gpointer      fixture,
-                                           gconstpointer user_data)
+test_tracker_sparql_query_iterate_close_early (gpointer      fixture,
+                                               gconstpointer user_data)
 {
        TrackerSparqlConnection *conn = (TrackerSparqlConnection *) user_data;
        TrackerSparqlCursor *cursor;
@@ -603,7 +603,7 @@ TestInfo tests[] = {
        { "tracker_sparql_query_iterate_largerow", test_tracker_sparql_query_iterate_largerow },
        { "tracker_sparql_query_iterate_error", test_tracker_sparql_query_iterate_error },
        { "tracker_sparql_query_iterate_empty", test_tracker_sparql_query_iterate_empty },
-       { "tracker_sparql_query_iterate_sigpipe", test_tracker_sparql_query_iterate_sigpipe },
+       { "tracker_sparql_query_iterate_close_early", test_tracker_sparql_query_iterate_close_early },
        { "tracker_sparql_query_iterate_async", test_tracker_sparql_query_iterate_async },
        { "tracker_sparql_query_iterate_async_cancel", test_tracker_sparql_query_iterate_async_cancel },
        { "tracker_sparql_cursor_next_async", test_tracker_sparql_cursor_next_async },


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