New project created in Mercurial repository - 2D Graphics Test Suite

Pavel Tisnovsky ptisnovs at redhat.com
Fri Jul 9 03:51:10 PDT 2010


Hi all,

in the Mercurial repository at http://icedtea.classpath.org/hg was 
(thanks to Mark Wielaard!) created a new project called gfx-test. Its 
address is http://icedtea.classpath.org/hg/gfx-test/.

The purpose of this project is to test whether renderer used by OpenJDK 
(Pisces at this moment) produces the same or nearly the same results as 
renderer used by Oracle JDK. Images rendered by Oracle SDK are stored in 
directory ./samples, test images are created in directory ./output.

All you have to do if you want to create new test images is to type:
"make"

and the project will (hopefully :-) compile and then run. If you only 
want to create one type of test images, for example to test whether 
dashed lines are rendered correctly, you can specify proper target:

"make DashedLines"

The name of the target is the same as the name of class in 
org.gfxtest.testsuites package. If you want to use another JDK for 
rendering (including Oracle JDK or IBM JDK) you only need to change the 
ninth line in Makefile.

Currently the project is in alpha version. It for example does not yet 
contains image comparator because image comparison engine is in patent 
application process, so I have to consult publishing with Legal Affairs.

My personal TODO for immediate future:
1) add licence information to all source files (will be probably done today)
2) add image comparator, at least in binary form (-//-)
3) add new tests - curves, circles, arcs, font rendering etc. - any 
suggestions are welcome!
4) publish test results (I already published results but only inside Red 
Hat) - any idea where to publish it?

Cheers
Pavel Tisnovsky



More information about the distro-pkg-dev mailing list