[libgweather/wip/hadess/app-id: 9/11] tests: Add application-ids to tests




commit edb66945bc8354bc7c89e5d9c6dd752833e02272
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 12 12:27:06 2021 +0100

    tests: Add application-ids to tests

 libgweather/test_libgweather.c | 1 +
 libgweather/test_weather.c     | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/libgweather/test_libgweather.c b/libgweather/test_libgweather.c
index 500faf3a..a1adbe40 100644
--- a/libgweather/test_libgweather.c
+++ b/libgweather/test_libgweather.c
@@ -784,6 +784,7 @@ test_weather_loop_use_after_free (void)
 
     loop = g_main_loop_new (NULL, TRUE);
     info = gweather_info_new (NULL);
+    gweather_info_set_application_id (info, "org.gnome.LibGWeather");
     gweather_info_set_enabled_providers (info,
                                         GWEATHER_PROVIDER_METAR |
                                         GWEATHER_PROVIDER_IWIN |
diff --git a/libgweather/test_weather.c b/libgweather/test_weather.c
index ffe7c92e..97ad38c7 100644
--- a/libgweather/test_weather.c
+++ b/libgweather/test_weather.c
@@ -156,6 +156,7 @@ main (int argc, char **argv)
 
     loop = g_main_loop_new (NULL, TRUE);
     info = gweather_info_new (NULL);
+    gweather_info_set_application_id (info, "org.gnome.LibGWeather");
     if (!set_providers (info))
         return 1;
     gweather_info_set_location (info, loc);


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