lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lamprecht <clampre...@gmail.com>
Subject Re: Lucene and UTF-8
Date Wed, 21 Sep 2005 06:53:18 GMT
import java.util.Arrays;

...

Arrays.equals(array1, array2);


On 9/21/05, Marvin Humphrey <marvin@rectangular.com> wrote:
> I wrote...
>
> > I don't see any junit tests which address IndexOutput directly.
> > I'm going to create one unless someone points out a file or portion
> > thereof that I've overlooked.
>
> It would be a lot easier to check the output of IndexOutput if JUnit
> could compare byte arrays. :|
>
> I can loop through the arrays one byte at a time, performing an
> assertEquals for each, I suppose.  That seems kludgy to me.  What's
> standard practice?
>
> Marvin Humphrey
> Rectangular Research
> http://www.rectangular.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message