[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.gef] Re: How to JUnit-test Draw2D applications?
|
I'm answering myself, just in case someone finds my initial question:
The swtbot4gef should to the job, have a look at
http://code.google.com/p/swtbot4gef/ or read Ketan Padegaonkar's blog
at http://ketan.padegaonkar.name/2009/08/04/gef-support-for-swtbot.html
Cheers
Jens
On 2009-05-16 17:01:41 +0200, Jens v.P. <developer@xxxxxxxxx> said:
Hi all,
in order to write some tests for the GEF3D project, I was wondering how
to do a test of a Draw2D functionality. In other words: How to test a
figure? I'm not interested in testing its getters and setters
(figure.set(x)==figure.getX() is not a very interesting question), but
in testing the actual graphical output. What I'm thinking about is some
type of (fuzzy) image comparison -- this would be applicable to Draw3D
graphics as well (since I simply have to compare screenshots). Or are
there other, better techniques? Is there a known library for comparing
images?
Cheers
Jens