I think we don't have to touch the scripts as long as we implement
the both interfaces then polymorphism will take care of it. Maybe
this is the way to keep backward compatibility?

-H


> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 26, 2001 7:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Ant 1.2 not compatible with JUnit 3.5
>
>
> Stephane Bailliez <[EMAIL PROTECTED]> wrote:
>
> > The only difference is the signature of the method
> addFailure in
> > TestListener.
>
> Thanks,
>
> seems straight forward to patch this, it should even be
> possible to
> make the task work with all versions of JUnit 3.x,
> something like
>
> public void addFailure(Test test, AssertionFailedError t) {
>     addFailure(test, (Throwable) t);
> }
>
> in all TestListener implementations should do it, right?
>
> Stefan
>
> --------------------------------------------------------
> -------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to