glib/tests/mainloop: test g_source_get_time()
authorDan Winship <danw@gnome.org>
Sun, 29 Jul 2012 17:06:53 +0000 (13:06 -0400)
committerDan Winship <danw@gnome.org>
Mon, 30 Jul 2012 16:48:10 +0000 (12:48 -0400)
commit6881e743ee37eff154326ef5e0510651c0a14ac4
tree4b8b2446d10762a2ff9f30994023bf5b272b3c35
parentb0bce4ad41937dabf7e5c94dcce3caf4e88f3f97
glib/tests/mainloop: test g_source_get_time()

Verify that

  - g_source_get_time() does not change within a single callback
    (even if the real time does)

  - g_source_get_time() does not change between different callbacks in
    the same mainloop iteration

  - g_source_get_time() does change between iterations if the real
    time did.

https://bugzilla.gnome.org/show_bug.cgi?id=661767
glib/tests/mainloop.c