Clean up tests.
authorGary Gregory <garydgregory@gmail.com>
Fri, 4 Mar 2022 13:56:42 +0000 (08:56 -0500)
committerGary Gregory <garydgregory@gmail.com>
Fri, 4 Mar 2022 13:56:42 +0000 (08:56 -0500)
commit5588a9bdeebd5a8a3f4010eaab8a6a4484d6b71f
tree8277b50de0259c9a1267f37a0a3322115414f560
parent505722c303e78e4f6bdd36f55940cd4659d3219c
Clean up tests.

- Simple syntax for array creation.
- Use better Collection APIs.
- Make test fixture a static class.
- Use number cache when possible.
34 files changed:
src/test/java/org/apache/commons/collections4/ClosureUtilsTest.java
src/test/java/org/apache/commons/collections4/CollectionUtilsTest.java
src/test/java/org/apache/commons/collections4/FactoryUtilsTest.java
src/test/java/org/apache/commons/collections4/PredicateUtilsTest.java
src/test/java/org/apache/commons/collections4/TransformerUtilsTest.java
src/test/java/org/apache/commons/collections4/bag/TransformedBagTest.java
src/test/java/org/apache/commons/collections4/bag/TransformedSortedBagTest.java
src/test/java/org/apache/commons/collections4/bidimap/AbstractBidiMapTest.java
src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java
src/test/java/org/apache/commons/collections4/comparators/FixedOrderComparatorTest.java
src/test/java/org/apache/commons/collections4/functors/ComparatorPredicateTest.java
src/test/java/org/apache/commons/collections4/iterators/ArrayListIteratorTest.java
src/test/java/org/apache/commons/collections4/iterators/ObjectArrayListIteratorTest.java
src/test/java/org/apache/commons/collections4/keyvalue/MultiKeyTest.java
src/test/java/org/apache/commons/collections4/list/CursorableLinkedListTest.java
src/test/java/org/apache/commons/collections4/list/SetUniqueListTest.java
src/test/java/org/apache/commons/collections4/list/TransformedListTest.java
src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java
src/test/java/org/apache/commons/collections4/map/LazySortedMapTest.java
src/test/java/org/apache/commons/collections4/map/MultiKeyMapTest.java
src/test/java/org/apache/commons/collections4/map/PassiveExpiringMapTest.java
src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java
src/test/java/org/apache/commons/collections4/map/TransformedMapTest.java
src/test/java/org/apache/commons/collections4/map/TransformedSortedMapTest.java
src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java
src/test/java/org/apache/commons/collections4/multimap/TransformedMultiValuedMapTest.java
src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java
src/test/java/org/apache/commons/collections4/queue/TransformedQueueTest.java
src/test/java/org/apache/commons/collections4/sequence/SequencesComparatorTest.java
src/test/java/org/apache/commons/collections4/set/TransformedNavigableSetTest.java
src/test/java/org/apache/commons/collections4/set/TransformedSetTest.java
src/test/java/org/apache/commons/collections4/set/TransformedSortedSetTest.java
src/test/java/org/apache/commons/collections4/splitmap/TransformedSplitMapTest.java
src/test/java/org/apache/commons/collections4/trie/PatriciaTrieTest.java