commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack, Paul" <>
Subject RE: [PATCH][Collections] further testing code for Maps
Date Tue, 28 May 2002 16:17:00 GMT
> The testing approach in TestMap doesn't extend well.  That 
> is, if another 
> collection returns a map, there's no easy way to use the same 
> testing code 
> to test the returned map.  In other words, if we use the same 
> approach in 
> TestMap for TestList and TestSet, etc., then that testing 
> code can't be 
> reused to test the collection views of Map.  Long term, I'd 
> want to see a 
> much more flexible mechanism for testing collections that can 
> be reused to 
> test small-collection views of larger collections.  

It'd also be nice to reuse the same tests for different 
configurations of the same collection, eg, FastArrayList in
fast mode vs. FastArrayList in slow mode.

I'm going to go ahead and work on having fully extensible
testing suite for collections, if you've no objections...

> Thanks, Paul, for taking the time to fill in these extra test methods!

Here to help. :)


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message