ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Is anyone using ANT with jUnit tests written with jFunc
Date Mon, 16 Sep 2002 14:09:56 GMT
On Mon, 16 Sep 2002, Andrew Everitt <Andrew.Everitt@gbr.xerox.com>
wrote:

> I gave it a try and it didn't work :-(.

Too bad.

> After a little investigation it turns out that JFunc actually
> creates a TestletWrapper instance under the hood. Unfortunately that
> class implements a method 'name' but not 'getName', it doesn't make
> much sense to me but thats it.

Probably because name() has been the way to get the name in TestCase
up to JUnit 3.6.  3.7 deprecated name() in favor of getName() and 3.8
removed name().

> I modified the code in the else block to look for both method
> signatures:

committed, thanks.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message