+2008-10-31 Christian Dywan <christian@imendio.com>
+
+ Bug 558513 – g_warn_if_fail FIXME in gtestutils
+
+ * glib/gtestutils.c (g_test_log_send):
+ Turn g_assert into g_warn_if_fail as advised
+
2008-10-31 Grahame Bowland <grahame@angrygoats.net>
Bug 558185 – 'parent' variable in g_local_file_get_child_for_display_name()
}
if (test_debug_log)
{
- GTestLogBuffer *lbuffer = g_test_log_buffer_new();
+ GTestLogBuffer *lbuffer = g_test_log_buffer_new ();
GTestLogMsg *msg;
guint ui;
g_test_log_buffer_push (lbuffer, n_bytes, buffer);
msg = g_test_log_buffer_pop (lbuffer);
- g_assert (msg != NULL); /* FIXME: should be g_awrn_if_fail */
- g_assert (lbuffer->data->len == 0); /* FIXME: should be g_awrn_if_fail */
+ g_warn_if_fail (msg != NULL);
+ g_warn_if_fail (lbuffer->data->len == 0);
g_test_log_buffer_free (lbuffer);
/* print message */
g_printerr ("{*LOG(%s)", g_test_log_type_name (msg->log_type));