When I switch off the TESTS_ENVIRONMENT hack which causes the tests in frysk-gui
to be skipped in a headless environment, I get this:
Running testAddingRemovingActions(frysk.gui.test.TestActionManager) ...PASS
Running testAddingRemovingFilters(frysk.gui.test.TestFilterManager) ...PASS
Running testGladeLoading(frysk.gui.test.TestGlade) ...
(java-gnome:26775): Gtk-WARNING **: cannot open display:
But Phil Muldoon has told me that the JUnit tests should be written so that they
can run in a headless environment.
I set dependency on bug #3099, because it might be help to work around the
problem with testGladeLoading, even though it may not be needed for the ultimate
I think that testGladeLoading might reconize that it is running in a headless
environment, and accomodate.
TestGladeLoading actual tests the WindowManager as well, which actually tries to
draw a window. This is wrong. Is this the result as in HEAD (I thought I removed
the windowmanager tests for now?)
Oops I notice the window manager tests are still enabled in HEAD.
Sami, can we disable those for now? It's trying to actively draw windows, which
causes lots of issues in headless.