Re: [Java-gnome-developer] Eclipse, JUnit and java-gnome
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2009-02-25 00:41:03
|
On Fri, 2009-02-20 at 23:17 +0300, Alexey Titov wrote: > @BeforeClass > public static void setUpBeforeClass() throws Exception { > Gtk.init(new String[]{}); > Gtk.main(); > } > The test hangs on GtkMain.main(); > It's not hanging. It's blocking. Which is what it is supposed to do. A call to Gtk.main() does not return until a signal handler somewhere issues a Gtk.mainQuit(). AfC Sydney |