Commit Graph

1098 Commits

Author SHA1 Message Date
Stephen Colebourne 8755bd9684 Add first semblance of some SortedMap tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131253 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 23:44:56 +00:00
Stephen Colebourne 3525c9cc59 Actually test the class we are supposed to be testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131252 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 23:44:23 +00:00
Stephen Colebourne 5f31d82006 Fix bug introduced when changing version from 2.2 to 3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131251 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 21:03:52 +00:00
Phil Steitz 39f52a2f79 Added test for UnmodifiableMap, plugged small protection gap.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131250 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 05:06:05 +00:00
Stephen Colebourne 396286ea1e Update version numbers for next release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131249 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 23:21:07 +00:00
Stephen Colebourne f05bc240ac Finish integration of testframework jar, with javadoc and validation build
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131248 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 23:12:15 +00:00
Stephen Colebourne 7b41504959 Add overview for testframework
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131247 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 23:11:00 +00:00
Stephen Colebourne 19d811d68e Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131246 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 23:10:31 +00:00
Stephen Colebourne 5dc2c46e26 Update licence and version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131245 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 21:26:46 +00:00
Stephen Colebourne 2e1a8cb3f2 Update licence and version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131244 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 21:17:40 +00:00
Stephen Colebourne 7621d6e135 Update licence and version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131243 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 21:11:06 +00:00
Stephen Colebourne 96c2adf196 Update licence and version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131242 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 21:03:44 +00:00
Stephen Colebourne 0672fd080f Add tests to BidiMap and make part of main test suite
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131241 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 20:52:29 +00:00
Stephen Colebourne b1328e6ce5 Renamed ignoredSimpleTests to ignoredTests in BulkTest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131240 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 20:48:59 +00:00
Stephen Colebourne 74d9449387 Renamed ignoredSimpleTests to ignoredTests in AbstractTestMap
Additional tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131239 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 20:47:37 +00:00
Stephen Colebourne 999d7f34cc Renamed ignoredSimpleTests to ignoredTests in AbstractTestMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131238 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 20:46:40 +00:00
Stephen Colebourne a322e63163 Refactor implementation to act as more of a decorator
Fixed some bugs too


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131237 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 20:40:52 +00:00
Stephen Colebourne 456adc3354 Clarify the contract of the put method in BidiMaps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131236 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 20:38:55 +00:00
Phil Steitz 4b2811d1c4 Added get(object, index) method to CollectionUtils, deprecating index(-,-) methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131235 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 19:48:00 +00:00
Stephen Colebourne 03f4174238 Make testframework jar independent of collections jar
(Except Bag interface)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131234 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 12:34:46 +00:00
Phil Steitz f8acd98e11 Fixed bug related to CreateNode parameter order reported on commons-dev list by David.Hay@REQUISITE.com on 3-Oct-03.
Added tests to TestCommonsLinkedList to cover node-manipulation methods and changed TestNodeCachingLinkedList to extend TestCommonsLinkedList.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131233 13f79535-47bb-0310-9956-ffa450edef68
2003-10-05 06:41:08 +00:00
Stephen Colebourne 9be6a962ed Refactor SetList to be a subclass of the abstract decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131232 13f79535-47bb-0310-9956-ffa450edef68
2003-10-04 00:50:35 +00:00
Stephen Colebourne 69ebc9f4ac Better error for debugging
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131231 13f79535-47bb-0310-9956-ffa450edef68
2003-10-04 00:49:27 +00:00
Stephen Colebourne 333541bc3c Deprecate DefaultMapEntry in the main package
Fix resultant deprecation warnings


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131230 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 23:19:32 +00:00
Phil Steitz 3b50d3cef8 Changed references to TestMap to AbstractTestMap in TestOrderedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131229 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 12:54:54 +00:00
Henri Yandell 3a5194a37a more cleaning up, removing negative comments :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131228 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 06:31:03 +00:00
Henri Yandell 79908ade0a tidied up the entryset code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131227 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 06:25:03 +00:00
Henri Yandell 9804521d1d Adding in OrderedMap class. Similar functionality to a SequencedHashmap, it is
decorable and able to sit on top of other Map implementations.

This is the first version to pass the unit tests, so I'm pushing it in. The
major thing I know it doesn't do is that keySet/entrySet and values iterator()
methods do not back their remove()'s onto the Map itself. The views themselves
do, just not their iterators yet.

This shows that we need unit tests for these :)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131226 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 06:24:13 +00:00
Henri Yandell 5c8de4eb74 Added a toString to map the normal output from a HashMaps Map.Entry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131225 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 06:20:54 +00:00
Stephen Colebourne f18bec8711 Add ability to create testframework jar
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131224 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 23:46:54 +00:00
Stephen Colebourne 7c3480003d Rename TestMap to AbstractTestMap
Rename TestSortedMap to AbstractTestSortedMap
Javadoc and tidy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131223 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 23:01:10 +00:00
Stephen Colebourne 6318d9964c Rename TestSet to AbstractTestSet
Rename TestSortedSet to AbstractTestSortedSet
Javadoc and tidy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131222 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 22:48:41 +00:00
Stephen Colebourne e476647953 Rename TestBag to AbstractTestBag
Rename TestSortedBag to AbstractTestSortedBag
Javadoc and tidy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131221 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 22:35:31 +00:00
Matthew Hawthorne 54f2a8e85b Adding SetList decorator from bug #22826
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131220 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 22:34:44 +00:00
Stephen Colebourne a3155911c2 Rename TestObject to AbstractTestObject
Rename TestCollection to AbstractTestCollection
Rename TestList to AbstractTestList
Javadoc and tidy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131219 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 22:14:35 +00:00
Stephen Colebourne 03fe3cdb91 Ensure Ant tests all the packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131218 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 20:36:11 +00:00
Henri Yandell aea2f2fa32 Added a test to prove that a Map's keySet method is backed by the map. Also added a series of TODOs to cover all the other backing/non-backing possibilities.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131217 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 04:04:22 +00:00
Henri Yandell e7eba5076a removed tabs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131216 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 03:42:03 +00:00
Henri Yandell 105c1ac930 Removed debug I stupidly left in.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131215 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 03:11:08 +00:00
Henri Yandell 62543d554d Have made the OrderedSet use the underlying List's toString and not the Set's toString. It's important that the toString retains the correct order, else things can get quite confusing when debugging. Fortunately List and Set toStrings are the same, unless someone has custom versions in place.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131214 13f79535-47bb-0310-9956-ffa450edef68
2003-10-02 03:10:37 +00:00
Stephen Colebourne 63a4d98529 Add tests for pairs package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131213 13f79535-47bb-0310-9956-ffa450edef68
2003-10-01 22:36:49 +00:00
Stephen Colebourne 0b58a2fb6b Add missing abstract keyword
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131212 13f79535-47bb-0310-9956-ffa450edef68
2003-10-01 22:36:07 +00:00
Stephen Colebourne 513ef0ae75 Rename TestComparator to AbstractTestComparator
Tidy comparator test classes licenses/javadoc


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131211 13f79535-47bb-0310-9956-ffa450edef68
2003-10-01 22:14:48 +00:00
Stephen Colebourne dd7f7aca14 Rename TestIterator to AbstractTestIterator
Rename TestListIterator to AbstractTestListIterator
Add extra tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131210 13f79535-47bb-0310-9956-ffa450edef68
2003-10-01 21:54:56 +00:00
Stephen Colebourne 21fb588f46 Puts back the jar files to where they were to get builds going again
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131209 13f79535-47bb-0310-9956-ffa450edef68
2003-10-01 20:03:35 +00:00
Matthew Hawthorne 927cbd80c0 Updated entry sets to modify underlying maps.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131208 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 23:24:18 +00:00
Stephen Colebourne 36e0dc40a1 Start the process of writing 3.0 release notes - iterator package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131207 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 22:46:15 +00:00
Stephen Colebourne 28f121b39b Spelling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131206 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 22:44:14 +00:00
Stephen Colebourne 1088244314 Javadoc and Code tidy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131205 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 22:37:40 +00:00
Stephen Colebourne 22d14c1895 Javadoc format for <code>
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131204 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 22:02:33 +00:00