tests: Incorporate bug base into g_test_bug() calls in gdatetime tests

This will allow the following commit to refer to GitLab in its
`g_test_bug()` call.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-07-17 15:01:17 +01:00
parent f5b4a6b9cc
commit e18a6a28db

View File

@ -160,7 +160,7 @@ test_GDateTime_new_from_unix_overflow (void)
{
GDateTime *dt;
g_test_bug ("782089");
g_test_bug ("http://bugzilla.gnome.org/782089");
dt = g_date_time_new_from_unix_utc (G_MAXINT64);
g_assert_null (dt);
@ -174,7 +174,7 @@ test_GDateTime_invalid (void)
{
GDateTime *dt;
g_test_bug ("702674");
g_test_bug ("http://bugzilla.gnome.org/702674");
dt = g_date_time_new_utc (2013, -2147483647, 31, 17, 15, 48);
g_assert (dt == NULL);
@ -435,7 +435,7 @@ test_GDateTime_new_from_timeval_overflow (void)
GDateTime *dt;
GTimeVal tv;
g_test_bug ("782089");
g_test_bug ("http://bugzilla.gnome.org/782089");
tv.tv_sec = find_maximum_supported_tv_sec ();
tv.tv_usec = G_USEC_PER_SEC - 1;
@ -1772,7 +1772,7 @@ test_month_names (void)
{
gchar *oldlocale;
g_test_bug ("749206");
g_test_bug ("http://bugzilla.gnome.org/749206");
/* If running uninstalled (G_TEST_BUILDDIR is set), skip this test, since we
* need the translations to be installed. We cant mess around with
@ -2114,7 +2114,7 @@ test_z (void)
GDateTime *dt;
gchar *p;
g_test_bug ("642935");
g_test_bug ("http://bugzilla.gnome.org/642935");
tz = g_time_zone_new ("-08:00");
dt = g_date_time_new (tz, 1, 1, 1, 0, 0, 0);
@ -2583,7 +2583,7 @@ test_GDateTime_floating_point (void)
GDateTime *dt;
GTimeZone *tz;
g_test_bug ("697715");
g_test_bug ("http://bugzilla.gnome.org/697715");
tz = g_time_zone_new ("-03:00");
g_assert_cmpstr (g_time_zone_get_identifier (tz), ==, "-03:00");
@ -2701,7 +2701,6 @@ main (gint argc,
g_unsetenv ("LANGUAGE");
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
/* GDateTime Tests */
bind_textdomain_codeset ("glib20", "UTF-8");