Hi Nascif,
Thanks for taking the time to tell us about these issues.
> I started playing with UISpec4J - tired of the problems with Abbot, and
> curious about the different approach.
What problems did you have with Abbot ? I never used it myself, but I
thought it was the best tool around.
> My first experience has not been very succesful. I converted a Junit
> testcase from Abbot to UISpec4J, and the mapping from one API to the
> other was quite simple. But when I run the testcase I get the following
> error: [...]
Could you please send me your test files, or any information that could
help me investigate the problem ?
What JDK version are you using ?
I cannot see how UISpec4j could influence the behaviour of JUnit. Maybe an
exception thrown in the test constructor ? Or during the initialization of
the UISpecToolkit ?
> My next step was to build UISpec4J locally and run the testcases. [...]
> Everything seems to be fine, with the exception of two test cases that
> failed, and some deprecation warnings (see below). But I still don't
> know how to fix the Junit problem in my own testcases....
The deprecation messages are all caused by our ToolkitDelegate class,
which overrides all the Swing Toolkit methods, even the deprecated ones.
This should not cause any problem.
For the UISpec test cases, our timeouts are maybe too tight. We'll have to
work on that obviously.
> PS: Regis, your name sounds Brazillian to me. Are you from Brazil by any
> chance?
No, I am French (I live near Paris). My name is indeed spanish or arabian,
depending on how far you look back in the family history.
I look forward for hearing from you soon Nascif,
Régis.