[tracker/wip/sam/resource: 1/12] tests: Give tracker-test.c a slightly better name



commit 61fd495fa679b1d894d92978566ab91fa09e5509
Author: Sam Thursfield <sam afuera me uk>
Date:   Thu Apr 7 11:04:00 2016 +0100

    tests: Give tracker-test.c a slightly better name

 tests/libtracker-sparql/Makefile.am                |    4 ++--
 .../{tracker-test.c => tracker-sparql-test.c}      |   18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/tests/libtracker-sparql/Makefile.am b/tests/libtracker-sparql/Makefile.am
index 51d313d..1f4cac0 100644
--- a/tests/libtracker-sparql/Makefile.am
+++ b/tests/libtracker-sparql/Makefile.am
@@ -3,7 +3,7 @@ include $(top_srcdir)/Makefile.decl
 noinst_PROGRAMS += $(test_programs)
 
 test_programs = \
-       tracker-test                                   \
+       tracker-sparql-test                            \
        tracker-gb-737023-test
 
 AM_CPPFLAGS =                                          \
@@ -18,6 +18,6 @@ LDADD =                                                \
        $(BUILD_LIBS)                                  \
        $(LIBTRACKER_SPARQL_LIBS)
 
-tracker_test_SOURCES = tracker-test.c
+tracker_sparql_test_SOURCES = tracker-sparql-test.c
 
 tracker_gb_737023_test_SOURCES = tracker-gb-737023.c
diff --git a/tests/libtracker-sparql/tracker-test.c b/tests/libtracker-sparql/tracker-sparql-test.c
similarity index 94%
rename from tests/libtracker-sparql/tracker-test.c
rename to tests/libtracker-sparql/tracker-sparql-test.c
index 5784fb4..5cd4b7a 100644
--- a/tests/libtracker-sparql/tracker-test.c
+++ b/tests/libtracker-sparql/tracker-sparql-test.c
@@ -339,7 +339,7 @@ test_tracker_sparql_nb237150 (void)
        /* Test NB#237150 - Second tracker_sparql_connection_get_async
         * never returns
         */
-       g_test_trap_subprocess ("/libtracker-sparql/tracker/nb237150/subprocess",
+       g_test_trap_subprocess ("/libtracker-sparql/tracker-sparql/nb237150/subprocess",
                                G_USEC_PER_SEC * 2,
                                G_TEST_SUBPROCESS_INHERIT_STDOUT);
 
@@ -406,23 +406,23 @@ main (gint argc, gchar **argv)
        /* NOTE: this first test must come BEFORE any others because
         * connections are cached by libtracker-sparql.
         */
-       g_test_add_func ("/libtracker-sparql/tracker/nb237150",
+       g_test_add_func ("/libtracker-sparql/tracker-sparql/nb237150",
                         test_tracker_sparql_nb237150);
-       g_test_add_func ("/libtracker-sparql/tracker/nb237150/subprocess",
+       g_test_add_func ("/libtracker-sparql/tracker-sparql/nb237150/subprocess",
                         test_tracker_sparql_nb237150_subprocess);
-       g_test_add_func ("/libtracker-sparql/tracker/tracker_sparql_escape_string",
+       g_test_add_func ("/libtracker-sparql/tracker-sparql/tracker_sparql_escape_string",
                         test_tracker_sparql_escape_string);
-       g_test_add_func ("/libtracker-sparql/tracker/tracker_sparql_escape_uri_vprintf",
+       g_test_add_func ("/libtracker-sparql/tracker-sparql/tracker_sparql_escape_uri_vprintf",
                         test_tracker_sparql_escape_uri_vprintf);
-       g_test_add_func ("/libtracker-sparql/tracker/tracker_sparql_connection_interleaved",
+       g_test_add_func ("/libtracker-sparql/tracker-sparql/tracker_sparql_connection_interleaved",
                         test_tracker_sparql_connection_interleaved);
-       g_test_add_func ("/libtracker-sparql/tracker/tracker_sparql_connection_locking_sync",
+       g_test_add_func ("/libtracker-sparql/tracker-sparql/tracker_sparql_connection_locking_sync",
                         test_tracker_sparql_connection_locking_sync);
-       g_test_add_func ("/libtracker-sparql/tracker/tracker_sparql_connection_locking_async",
+       g_test_add_func ("/libtracker-sparql/tracker-sparql/tracker_sparql_connection_locking_async",
                         test_tracker_sparql_connection_locking_async);
 
 #if HAVE_TRACKER_FTS
-       g_test_add_func ("/libtracker-sparql/tracker/tracker_sparql_cursor_next_async",
+       g_test_add_func ("/libtracker-sparql/tracker-sparql/tracker_sparql_cursor_next_async",
                         test_tracker_sparql_cursor_next_async);
 #endif
 


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