1061 Commits

Author SHA1 Message Date
Stephen Colebourne
3441c43924 Better test error messages
Handle small test collections


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131291 13f79535-47bb-0310-9956-ffa450edef68
2003-10-19 00:25:11 +00:00
Phil Steitz
76c1efb61c javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131289 13f79535-47bb-0310-9956-ffa450edef68
2003-10-16 06:04:56 +00:00
Stephen Colebourne
3da5b8508b Change class from final to non-final
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131288 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 18:06:41 +00:00
Stephen Colebourne
594977c2f2 Tidy code and Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131287 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 18:05:42 +00:00
Stephen Colebourne
a1e36e8823 Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131286 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 21:18:56 +00:00
Phil Steitz
e614a8f803 javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131285 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 02:49:40 +00:00
Phil Steitz
83401f530a Added more decorator tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131284 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 02:48:16 +00:00
Phil Steitz
cf4a4761aa Added TestPredicatedSortedSet.
Added first() and last() checks to AbstractTestSortedSet verify.
Modified TestTransformedSortedSet and TestObservedSortedSet to use BulkTest.makeSuite.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131283 13f79535-47bb-0310-9956-ffa450edef68
2003-10-12 06:37:30 +00:00
Stephen Colebourne
dea6e42a7c Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131282 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:19:39 +00:00
Stephen Colebourne
2092e39906 Rename TestBidiMap to AbstractTestBidiMap to promote to testframework jar
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131279 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:11:54 +00:00
Stephen Colebourne
1544a5daa0 Ensure that remove works correctly on views
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131278 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:09:49 +00:00
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
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
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