Search the web
Sign In
New User? Sign Up
uispec4j
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
FW: Building UISpec4J   Message List  
Reply | Forward Message #93 of 634 |
Re: [uispec4j] FW: Building UISpec4J

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.




Wed Aug 3, 2005 9:01 pm

regis_medina
Offline Offline
Send Email Send Email

Forward
Message #93 of 634 |
Expand Messages Author Sort by Date

Hi all, I started playing with UISpec4J - tired of the problems with Abbot, and curious about the different approach. My first experience has not been very...
Nascif Abousalh-Neto
nascif2
Offline Send Email
Aug 3, 2005
5:46 pm

Hi Nascif, Thanks for taking the time to tell us about these issues. ... What problems did you have with Abbot ? I never used it myself, but I thought it was...
Regis Medina
regis_medina
Offline Send Email
Aug 3, 2005
9:01 pm

... Abbot, and ... I have way too many problems with having reliable "reproducable" unit tests. I run my tests through many different paths - directly from ...
nascif2
Offline Send Email
Aug 3, 2005
10:21 pm

Problem solved - and I tracked it down to how I defined my testcase constructor, which lead to a bad interaction with JUnit. My code was like this: public...
nascif2
Offline Send Email
Aug 4, 2005
6:04 pm

Hi Nascif, ... That was tricky, the JUnit message could have been more explicit. Maybe we should tell them about this issue, or suggest a patch? Do you know...
Regis Medina
regis_medina
Offline Send Email
Aug 6, 2005
12:17 pm

... Maybe we ... were in ... Sure. The code that creates the problem is this one, from TestSuite.java: static public Test createTest(Class theClass, String...
nascif2
Offline Send Email
Aug 8, 2005
3:25 pm

Hi Nascif, ... It would surely be great to propose this change on a JUnit mailing list, so that it gets integrated into their next release. Will you do it, or...
Regis Medina
regis_medina
Offline Send Email
Aug 8, 2005
9:28 pm

Hi Regis, ... If you could do it it would be great, thanks. ... Yes. You would give up the compile-time checking for some run-time flexibility. Basically you...
Nascif Abousalh-Neto
nascif2
Offline Send Email
Aug 8, 2005
11:09 pm

Hi Nascif, On Tue, 09 Aug 2005 01:08:55 +0200, Nascif Abousalh-Neto ... As of release 0.11, there is a "UIComponent findComponent(Class uiComponentClass)"...
Regis Medina
regis_medina
Offline Send Email
Aug 9, 2005
8:19 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help