commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morgan Delagrange" <mdela...@yahoo.com>
Subject Re: cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestSequencedHashMap.java
Date Fri, 22 Feb 2002 06:59:42 GMT

----- Original Message -----
From: "Michael A. Smith" <michael@iammichael.org>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Friday, February 22, 2002 12:38 AM
Subject: Re: cvs commit:
jakarta-commons/collections/src/test/org/apache/commons/collections
TestSequencedHashMap.java


> On 22 Feb 2002 morgand@apache.org wrote:
> > morgand     02/02/21 22:25:10
> >
> >   Modified:    collections/src/test/org/apache/commons/collections
> >                         TestSequencedHashMap.java
> >   Log:
> >   more specific in-memory serialization tests for SequencedHashMap
>
> [snip]
> >   +        assertEquals("Both maps have the same first key",
> >   +                     map.getFirstKey(),getSampleKeys()[0]);
> >   +        assertEquals("Both maps have the same first key",
> >   +                     map2.getFirstKey(),getSampleKeys()[0]);
> >   +        assertEquals("Both maps have the same last key",
> >   +                     map.getLastKey(),getSampleKeys()[0]);
> >   +        assertEquals("Both maps have the same last key",
> >   +                     map2.getLastKey(),getSampleKeys()[0]);
>
> shouldn't that be getSampleKeys()[getSampleKeys().length - 1] for the last
> ones?  right now the "both maps have the same last key" tests are failing
> and they probably shouldn't.
>
>

Yup, I'm working on that right now.  I'm contending with a lousy command
prompt (Windows 98 :P).

- Morgan


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


Mime
View raw message