Apache Commons Collections
Go to file
Michael Smith 326f500bb3 Modified tests that used makeEmptyMap and makeFullMap to use the map field
along with resetEmpty() and resetFull().  This allows for more calls to verify
to ensure that calls to methods that should not modify a collection don't
actually modify it.

Split the verify() method into four separate verification methods.  This way,
if a Map implementation needs to change the way verification is performed for
just one of the collection views, they only need to override one method and
won't need to reimplement all the other verifications.

Override TestMultiHashMap's verifyValues() method to retrieve a fresh copy of
the values collection before verification.  This ensures some verification
testing on the values, even though the values is not backed by the map (bug
9573)

Override a few more test methods and the verifyyMap and verifyEntrySet methods
for TestMultiHashMap since it's values are collections rather than the expected
objects.  These will need to be filled in with better implementations to
actually test the MultiMap contact.

Removed the SupportsPut marker interface.

Removed some duplicate tests (i.e. some old tests that weren't written with the
current framework in mind and just duplicate the tests that have been added).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130726 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 03:28:35 +00:00
data/test Added a comparator that provides explicit control over comparisons with null. 2002-06-09 19:23:53 +00:00
src Modified tests that used makeEmptyMap and makeFullMap to use the map field 2002-06-18 03:28:35 +00:00
.cvsignore Update collections to the new distribution directory guidelines. 2001-04-30 18:16:02 +00:00
LICENSE added local copy of LICENSE file, in order to make build script more portable 2002-04-02 16:20:36 +00:00
PROPOSAL.html Added myself as a committer 2001-05-08 13:05:44 +00:00
README.txt more... 2001-05-04 03:00:21 +00:00
RELEASE-NOTES-2.0.html Changed PriorityQueue and BinaryHeap to allow objects that do not 2002-03-19 04:34:18 +00:00
STATUS.html added ProxyMap for collections 2.0 2002-03-15 05:41:23 +00:00
build.properties.sample added optional cvs.root property to sample properties 2002-04-02 16:31:15 +00:00
build.xml (c) 2001 - 2002 2002-05-04 12:33:01 +00:00

README.txt

Jakarta Commons Collections
===========================

Welcome to the Collections component of the Jakarta Commons
project.

This component requires the excellent Ant utility.  It can 
be found here :

  http://jakarta.apache.org/ant/

For testing the project, you will also need JUnit :

  http://www.junit.org/

To let the test process find JUnit, you may make a 
copy of the build.properties.sample file, rename to
build.properties,  and modify to reflect
the location of the junit.jar on your computer.


Once you have Ant propertly installed, and the
build.properties file correctly reflects the location
of your junit.jar, you are ready to build and test.

To compile and test the component :

$ ant test

To build a jar :

$ ant dist-jar

To build the API documentation :

$ ant doc

To build the jar and API doc at once :

$ ant dist