ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis Boudart <jeanlouis.boud...@gmail.com>
Subject Re: git commit: workwaround to fix unit tests as Hamcrest's IsCollectionContaining seems buggy
Date Thu, 28 Aug 2014 15:53:39 GMT
Thanks for the feedback Stefan :)


2014-08-28 17:40 GMT+02:00 Stefan Bodewig <bodewig@apache.org>:

> On 2014-08-28, Stefan Bodewig wrote:
>
> > On 2014-08-28, <jlboudart@apache.org> wrote:
>
> >> workwaround to fix unit tests as Hamcrest's IsCollectionContaining
> seems buggy
>
> > actually, it is Hamcrest's isA matcher that is borked, stumbled over it
> > myself a few times.
>
> and you can use
>
> new org.hamcrest.core.IsInstanceOf(MultiModuleLogger.class)
>
> as an alternative (which works, while the instanceOf factory method has
> the same problem as the isA matcher).
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


-- 
Jean Louis Boudart
Independent consultant
Apache EasyAnt commiter http://ant.apache.org/easyant/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message