Commit Graph

821 Commits

Author SHA1 Message Date
Stephen Colebourne 6526be25d1 Fix tests to work properly on inverse map
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131277 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:09:27 +00:00
Stephen Colebourne 1557ede997 Ensure null status is passed to view bulk tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131276 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:08:26 +00:00
Stephen Colebourne 7f40c66819 Code tidy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131275 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:07:48 +00:00
Stephen Colebourne ce07bf068f Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131274 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:06:18 +00:00
Stephen Colebourne 28e0d76b3a Make DualHashBidiMap serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131273 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 07:50:36 +00:00
Stephen Colebourne f06da1d194 Change javadoc produced from public only to protected as well
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131272 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 21:00:05 +00:00
Stephen Colebourne 29e063ff3f Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131271 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:58:53 +00:00
Stephen Colebourne 5db7fd6976 Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131269 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:51:15 +00:00
Stephen Colebourne 0deed47b72 Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131268 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:44:32 +00:00
Stephen Colebourne c676de25d3 Make DualHashBidiMap serialiizable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131267 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:21:32 +00:00
Stephen Colebourne 2f1df4d36c Improve test error messages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131266 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:20:23 +00:00
Stephen Colebourne 69d1866233 Rename testRemoveAfterAdd for consistency
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131265 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 20:18:25 +00:00
Rodney Waldhoff 8cb3e9821b deprecate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131264 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 11:09:10 +00:00
Rodney Waldhoff 8a083ab8af * support remove in SingletonIterator and SingletonListIterator
* add tests
* enable tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131263 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 11:05:27 +00:00
Rodney Waldhoff 96e2ca244e rename _a/_b to collectionA/collectionB
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131262 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 11:03:55 +00:00
Rodney Waldhoff 7b2af5cff1 scope variables, group assertions into blocks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131261 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 11:00:09 +00:00
Rodney Waldhoff 0f57fa8e8c fix test so that it doesn't assume the order in which elements are returned from a HashMap.iterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131260 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 10:48:19 +00:00
Rodney Waldhoff 8dbaeed44c convert "assertTrue(a.equals(b))" to the equivalent but better reported "assertEquals(a,b)"
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131259 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 10:39:16 +00:00
Rodney Waldhoff 4a1340c1d9 extract methods testRemoveThenSet and testAddThenSet, so we don't assume the full iterator contains more than one element
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131258 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 10:33:45 +00:00
Rodney Waldhoff 287d11999f deprecate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131257 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 09:52:56 +00:00
Stephen Colebourne a18bc1ca43 Tighten Map tests
Javadoc


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131256 13f79535-47bb-0310-9956-ffa450edef68
2003-10-07 22:35:59 +00:00
Stephen Colebourne e7ea37d1a7 Enhance Map tests pre-release of testframework
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131255 13f79535-47bb-0310-9956-ffa450edef68
2003-10-07 22:20:58 +00:00
Stephen Colebourne b943acfc64 Rename HashBidiMap to DualHashBidiMap
Add AbstractDualBidiMap
Test and fix bugs


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131254 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 23:47:17 +00:00
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