diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2016-04-07 11:04:00 +0100 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2016-06-09 19:54:41 +0100 |
commit | 61fd495fa679b1d894d92978566ab91fa09e5509 (patch) | |
tree | ee6ef748f63141107a13e9296795fdff608bea76 /tests/libtracker-sparql | |
parent | 0a92485009f08cb2872325d9c6627343134fbcc9 (diff) | |
download | tracker-61fd495fa679b1d894d92978566ab91fa09e5509.tar.gz |
tests: Give tracker-test.c a slightly better name
Diffstat (limited to 'tests/libtracker-sparql')
-rw-r--r-- | tests/libtracker-sparql/Makefile.am | 4 | ||||
-rw-r--r-- | tests/libtracker-sparql/tracker-sparql-test.c (renamed from tests/libtracker-sparql/tracker-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 51d313dcb..1f4cac03e 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 index 5784fb4c7..5cd4b7ace 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 |