326f500bb3
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 |
||
---|---|---|
data/test | ||
src | ||
.cvsignore | ||
LICENSE | ||
PROPOSAL.html | ||
README.txt | ||
RELEASE-NOTES-2.0.html | ||
STATUS.html | ||
build.properties.sample | ||
build.xml |
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