<AWT Dev> Review request for 8049694: Migrate functional AWT_DesktopProperties/Automated tests to OpenJDK
Dmitriy Ermashov
dmitriy.ermashov at oracle.com
Wed Jul 9 09:29:55 UTC 2014
Hi all,
Please review yet another batch of tests. To be precise, just one test.
http://cr.openjdk.java.net/~dermashov/8049694/webrev.00/
The corresponding bug:
https://bugs.openjdk.java.net/browse/JDK-8049694
This test verifies old RFE 4758438. It declares that AWT should provide
an access to XSETTINGS through the Toolkit.
As you can see, the test consist of .java ans .sh files. The reason for
it is in different utilities for changing xsettings on different OSes.
E.g. old systems like Ubuntu 8.04 and Solaris 10 use gconftool-2 utilily
while Ubuntu 14.04 use gsettings.
So the script decides which utility to use on current platform and pass
the parameters to java programm.
The test passes on the following platforms:
Solaris 10 sparcv9 (Java Desktop System)
Solaris 11 x64 (Gnome 2)
Ubuntu 8.04 virtualbox (Gnome 2)
Ubuntu 10.04 arm (Gnome 2)
Ubuntu 14.04 x64 (Unity)
Windows 7 x64 (test just exit with 0 code)
OS X 10.9 (test just exit with 0 code)
--
Thanks,
Dima
More information about the awt-dev
mailing list