diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2023-03-03 16:20:06 +0000 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2023-03-03 16:20:06 +0000 |
commit | 5af526f8ba238075a7c6f8ca5628d27531b0537e (patch) | |
tree | d0b12977d5b878357309755a57b687a3224c435b /tests | |
parent | a9d83e783717e9b2d35b91a4f9955cce5762254c (diff) | |
parent | 65749008603efe9c7182f579d8e8d0e62c238670 (diff) | |
download | tracker-5af526f8ba238075a7c6f8ca5628d27531b0537e.tar.gz |
Merge branch 'wip/carlosg/modular-unicode-lib' into 'master'
Make unicode library a module
Closes #396
See merge request https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/581
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/tracker-sparql-test.c | 11 | ||||
-rw-r--r-- | tests/libtracker-common/tracker-file-utils-test.c | 1 | ||||
-rw-r--r-- | tests/libtracker-common/tracker-parser.c | 12 | ||||
-rw-r--r-- | tests/libtracker-common/tracker-utils-test.c | 1 |
4 files changed, 1 insertions, 24 deletions
diff --git a/tests/core/tracker-sparql-test.c b/tests/core/tracker-sparql-test.c index 0da6acafa..d74378c91 100644 --- a/tests/core/tracker-sparql-test.c +++ b/tests/core/tracker-sparql-test.c @@ -629,17 +629,6 @@ main (int argc, char **argv) for (i = 0; tests[i].test_name; i++) { gchar *testpath; -#ifndef HAVE_LIBICU - /* Skip tests which fail collation tests and are known - * to do so. For more details see: - * - * https://bugzilla.gnome.org/show_bug.cgi?id=636074 - */ - if (strcmp (tests[i].test_name, "functions/functions-xpath-2") == 0) { - continue; - } -#endif - testpath = g_strconcat ("/core/sparql/", tests[i].test_name, NULL); g_test_add (testpath, TestInfo, &tests[i], setup, test_sparql_query, teardown); g_free (testpath); diff --git a/tests/libtracker-common/tracker-file-utils-test.c b/tests/libtracker-common/tracker-file-utils-test.c index 013e0c7d9..0d9bdd31a 100644 --- a/tests/libtracker-common/tracker-file-utils-test.c +++ b/tests/libtracker-common/tracker-file-utils-test.c @@ -28,7 +28,6 @@ #include <gio/gio.h> #include <libtracker-common/tracker-file-utils.h> -#include <libtracker-common/tracker-locale.h> #include <tracker-test-helpers.h> diff --git a/tests/libtracker-common/tracker-parser.c b/tests/libtracker-common/tracker-parser.c index db9ae2898..f3869c135 100644 --- a/tests/libtracker-common/tracker-parser.c +++ b/tests/libtracker-common/tracker-parser.c @@ -114,25 +114,16 @@ load_file_contents (void) static gboolean run_parsing (void) { - TrackerLanguage *language; TrackerParser *parser; GTimer *timer; /* Initialize timing */ timer = g_timer_new (); - /* Setup language for parser */ - language = tracker_language_new (NULL); - if (!language) { - g_printerr ("Language setup failed!\n"); - return FALSE; - } - /* Create the parser */ - parser = tracker_parser_new (language); + parser = tracker_parser_new (); if (!parser) { g_printerr ("Parser creation failed!\n"); - g_object_unref (language); return FALSE; } @@ -214,7 +205,6 @@ run_parsing (void) g_timer_destroy (timer); tracker_parser_free (parser); - g_object_unref (language); return TRUE; } diff --git a/tests/libtracker-common/tracker-utils-test.c b/tests/libtracker-common/tracker-utils-test.c index 086c27185..33f9a23aa 100644 --- a/tests/libtracker-common/tracker-utils-test.c +++ b/tests/libtracker-common/tracker-utils-test.c @@ -23,7 +23,6 @@ #include <glib-object.h> #include <libtracker-common/tracker-file-utils.h> #include <libtracker-common/tracker-utils.h> -#include <libtracker-common/tracker-locale.h> #include <locale.h> static void |