Re: RFC: Gtk+ testing utilities

2007-11-19 Thread Tim Janik
On Mon, 19 Nov 2007, Stefan Kost wrote: > Tim Janik schrieb: >> the logic from the makefile might be useful to factor out into a script >> for other GUI projects though, since it involved quite some tweaking to >> handle missing Xvfb gracefully, find free display ids and provide >> meaningful >>

Re: RFC: Gtk+ testing utilities

2007-11-19 Thread Stefan Kost
Tim Janik schrieb: > On Sat, 17 Nov 2007, Stefan Kost wrote: > >> Hi, >> >> Tim Janik schrieb: >>> hey All. >>> >>> first, a quick update on the GLib testing framework. allmost all of it >>> has been implemented at this point and is available here: >>> http://git.imendio.com/?p=timj/glib-testing

Re: RFC: Gtk+ testing utilities

2007-11-19 Thread Tim Janik
On Fri, 16 Nov 2007, Tommi Komulainen wrote: > Some quick and random comments that come to mind... > >> /* syncronize rendering operations with X server rendering queue */ >> voidgtk_test_xserver_render_sync(GdkWindow *window); > >> /* synthesize and send key press or release

Re: RFC: Gtk+ testing utilities

2007-11-19 Thread Tim Janik
On Sat, 17 Nov 2007, Stefan Kost wrote: > Hi, > > Tim Janik schrieb: >> hey All. >> >> first, a quick update on the GLib testing framework. allmost all of it >> has been implemented at this point and is available here: >> http://git.imendio.com/?p=timj/glib-testing.git;a=shortlog;h=gtester2 >> w

Re: RFC: Gtk+ testing utilities

2007-11-17 Thread Stefan Kost
Hi, Tim Janik schrieb: > hey All. > > first, a quick update on the GLib testing framework. allmost all of it > has been implemented at this point and is available here: > http://git.imendio.com/?p=timj/glib-testing.git;a=shortlog;h=gtester2 > we're currently working on finishing the documentati

Re: RFC: Gtk+ testing utilities

2007-11-16 Thread Tommi Komulainen
Some quick and random comments that come to mind... > /* syncronize rendering operations with X server rendering queue */ > voidgtk_test_xserver_render_sync(GdkWindow *window); > /* synthesize and send key press or release event */ > gbooleangtk_test_simulate_key

Re: RFC: Gtk+ testing utilities

2007-11-16 Thread Tim Janik
On Fri, 16 Nov 2007, Richard Hult wrote: > Tim Janik wrote: >> hey All. > > Hi Tim, > > [snip] > >> /* syncronize rendering operations with X server rendering queue */ >> voidgtk_test_xserver_render_sync(GdkWindow *window); > > Should this be named less X-ish? I noticed that s

Re: RFC: Gtk+ testing utilities

2007-11-16 Thread Richard Hult
Tim Janik wrote: > hey All. Hi Tim, [snip] > /* syncronize rendering operations with X server rendering queue */ > voidgtk_test_xserver_render_sync(GdkWindow *window); Should this be named less X-ish? I noticed that some of the event simulation functions are very X specifi