ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: git commit: workwaround to fix unit tests as Hamcrest's IsCollectionContaining seems buggy
Date Thu, 28 Aug 2014 15:40:59 GMT
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


Mime
View raw message