This commit is contained in:
Gary Gregory 2024-10-04 07:50:35 -04:00
parent 43e3abc02d
commit 23379c1ff9
8 changed files with 21 additions and 0 deletions

View File

@ -40,6 +40,9 @@ import org.junit.jupiter.api.Test;
/**
* Tests {@link BidiMap}.
*
* @param <K> the key type.
* @param <V> the value type.
*/
public abstract class AbstractBidiMapTest<K, V> extends AbstractIterableMapTest<K, V> {

View File

@ -20,6 +20,9 @@ import org.apache.commons.collections4.collection.AbstractCollectionTest;
/**
* JUnit tests.
*
* @param <K> the key type.
* @param <V> the value type.
*/
public class DualHashBidiMapTest<K, V> extends AbstractBidiMapTest<K, V> {

View File

@ -18,6 +18,9 @@ package org.apache.commons.collections4.bidimap;
/**
* JUnit tests.
*
* @param <K> the key type.
* @param <V> the value type.
*/
public class DualLinkedHashBidiMapTest<K, V> extends AbstractBidiMapTest<K, V> {

View File

@ -30,6 +30,9 @@ import org.junit.jupiter.api.Test;
/**
* JUnit tests.
*
* @param <K> the key type.
* @param <V> the value type.
*/
public class UnmodifiableBidiMapTest<K, V> extends AbstractBidiMapTest<K, V> {

View File

@ -59,6 +59,9 @@ import org.junit.jupiter.api.Test;
* To use, extend this class and implement the {@link #makeObject} method and if
* necessary override the {@link #makeFullMap()} method.
* </p>
*
* @param <K> the key type.
* @param <V> the value type.
*/
public abstract class AbstractMultiValuedMapTest<K, V> extends AbstractObjectTest {

View File

@ -21,6 +21,8 @@ import org.apache.commons.collections4.map.AbstractOrderedMapTest;
/**
* JUnit test of the OrderedMap interface of a PatriciaTrie.
*
* @param <V> the value type.
*/
public class PatriciaTrie2Test<V> extends AbstractOrderedMapTest<String, V> {

View File

@ -41,6 +41,8 @@ import org.junit.jupiter.api.Test;
/**
* JUnit tests for the PatriciaTrie.
*
* @param <V> the value type.
*/
public class PatriciaTrieTest<V> extends AbstractSortedMapTest<String, V> {

View File

@ -28,6 +28,8 @@ import org.junit.jupiter.api.Test;
/**
* Extension of {@link AbstractSortedMapTest} for exercising the
* {@link UnmodifiableTrie} implementation.
*
* @param <V> the value type.
*/
public class UnmodifiableTrieTest<V> extends AbstractSortedMapTest<String, V> {