[gnome-desktop] tests: Print the calculated date in the test logs



commit 4a93289618431ca70af29295aa5532d0f20c6722
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 25 10:26:26 2014 +0200

    tests: Print the calculated date in the test logs

 tests/gtk-reftest.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/gtk-reftest.c b/tests/gtk-reftest.c
index 0964a1d..0c0feca 100644
--- a/tests/gtk-reftest.c
+++ b/tests/gtk-reftest.c
@@ -487,8 +487,7 @@ test_ui_file (GFile *file)
                                              datetime,
                                              G_DESKTOP_CLOCK_FORMAT_24H,
                                              TRUE, TRUE, TRUE);
-  /* If you need to copy/paste to a .ref.ui file, uncomment here
-   * g_message ("str: %s", str); */
+  g_test_message ("Date string is: '%s'", str);
   g_date_time_unref (datetime);
   g_object_unref (clock);
 


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