[java-gnome-hackers] Tests on the 4.1 branch
Brought to you by:
afcowie
|
From: Andrew C. <an...@op...> - 2011-05-08 04:40:02
|
I have a system that is now Ubuntu Natty (and therefore GTK 3 available)
+ GNOME 3 (from gnome 3 developers' PPA), and so I'm now able to finish
getting our 4.1 release ready.
Our test suite has two problems:
1. libnotify
Our test connects to Nautilus. This made the assumption that Nautilus is
always running, which it was on a GNOME 2 system since it draws the
Desktop. But for some time now the Ubuntu Netbook Edition users have
complained that they only have Nautilus running on-demand when they pull
up a file browser. And since Canonical's Netbook code became Unity, I
can only expect this to get worse.
Meanwhile, it would seem based on my few days experience that GNOME 3
behaves the same way; Nautilus only available on demand.
So I'm going to have to deactivate
ValidateUniqueApplications.testIsNautilusRunning()
ValidateUniqueApplications.testSendToNautilus()
2. Compose sequences
The test
ValidateInputMethods.testNormalKeystrokes()
is failing.
This pisses me off; it works fine in GTK 2; and meanwhile, actual live
Compose key handling works fine in my large text editing application. So
it's not the java-gnome binding at fault, but rather something about our
test case and/or Xvfb that's not working.
So I'll have to deactivate this one too.
++
I'm sure most of you don't care about any of this; but removing tests to
make the test suite pass is not a very good approach to problem solving.
The methods have been renamed s/test/fails/ so that the test code is
still there but not run.
I hope that someday someone will try and make these tests work again.
AfC
Sydney
|