classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Acunia Wonka VisualTestEngine


From: Mark Wielaard
Subject: Acunia Wonka VisualTestEngine
Date: 25 Jul 2003 14:27:05 +0200

Hi,

I extracted the visual test engine tool from the openwonka sources and
made two little changes to get it to compile against a recent CVS
Classpath/libgcj core classes implementation (AppletContext has three
new abstract methods and Class.forName() doesn't throw
NoSuchMethodException). You can find it at:
http://www.klomp.org/mark/open-wonka-visualtest.tar.gz (1MB)
(Or just get the latest openwonka snapshot then you will find it in
open-wonka/tool/visualtest.)

You will need a recent Classpath and/or gcj. Thomas Fitzsimmons imported
the GTK peer fixes from libgcj into Classpath and I am now importing the
AWT work from Michael and Jeroen into libgcj.

It is a nice tool since you can quickly see what goes OK and what not
with out AWT implementation. There is also a help button for each test
to explain what you should be seeing.

Below are compiling and running instructions.
The download comes with precompiled classes included so you can also
skip the compile part.

With jikes you compile it like:
jikes -bootclasspath /usr/local/classpath/share/classpath/glibj.zip \
        `find com -name \*.java`

With gcj you would compile it like:
gcj -Wno-deprecated -o vte --main=com.acunia.wonka.test.awt.VisualTestEngine \
        `find com -name *.java`

Then you run it with:
kissme com.acunia.wonka.test.awt.VisualTestEngine \
        `find com -name *.java | cut -f1 -d\. | tr ['/'] ['.']`
(Sadly kissme crashes almost immediatly, haven't looked into it yet,
 but kaffe, which has its own non-peer based AWT implementation works.)

Or with he native binary as:
./tve `find com -name *.java | cut -f1 -d\. | tr ['/'] ['.']`

This is slightly wrong since not all java files are actually tests.
But you can also try out individual tests by specifying the class name
on the command line.

Cheers,

Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]