Commit Graph

1052 Commits

Author SHA1 Message Date
Stephen Colebourne 5acf38c49a Document the existence of the new DualHashBidiMap/DualTreeBidiMap classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131308 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 18:45:48 +00:00
Stephen Colebourne 869d20576b Add DualTreeBidiMap implementation and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131307 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:26:25 +00:00
Stephen Colebourne 27a00be12e Add a lot of tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131306 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:25:45 +00:00
Stephen Colebourne 2029f95ea2 Ensure that values returned are in same order as keys
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131305 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:25:24 +00:00
Stephen Colebourne 27a4c25922 Allow subclasses to change the confirmed map
Ensure views pickup correct serialization methods


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131304 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:24:32 +00:00
Stephen Colebourne 165f6f675a Improve error messages in verify
Fix bug when TreeMap EntrySet used


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131303 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:23:10 +00:00
Stephen Colebourne c0968cfcee Fix problem where views were being incorrectly created
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131302 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 23:49:18 +00:00
Gary D. Gregory 2e53e15a14 Unnecessary semicolons.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131301 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 23:21:39 +00:00
Stephen Colebourne eda112cfac Add MapIterator to BidiMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131300 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 00:06:25 +00:00
Gary D. Gregory fd398f99d8 Integrate TestEnumerationUtils into test suite.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131299 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 18:56:12 +00:00
Gary D. Gregory d7b20360c5 New class EnumerationUtils.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131298 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 18:48:10 +00:00
Gary D. Gregory a49995ec8f Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131297 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 02:44:51 +00:00
Matthew Hawthorne 7465a2eedb Adding correct link to commons navigation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131296 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 23:51:27 +00:00
Rodney Waldhoff 94d7692231 fix and re-enable build-validate-testframework
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131295 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 23:08:21 +00:00
Rodney Waldhoff e288d25eda temporarily disable build-validate-testframework to allow "ant dist" to complete
(see note on dev list)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131294 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 16:17:26 +00:00
Rodney Waldhoff 1c03fba7d3 build testframework jar on dist
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131293 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 16:13:03 +00:00
Stephen Colebourne 7b2c75144d Handle testing data of size 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131292 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 22:58:28 +00:00
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
Stephen Colebourne 7defd9bed6 Update javadoc reference to fix a broken link
reported by Harish Krishnaswamy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131290 13f79535-47bb-0310-9956-ffa450edef68
2003-10-16 20:52:03 +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 dac6d48cb0 Change ant to not report deprecated methods in test classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131281 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:13:36 +00:00
Stephen Colebourne 99005c4da0 Add Eric Johnson as a contributor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131280 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:12:41 +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 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