public class TestsForSetsInJavaUtil
extends java.lang.Object
Set
implementations in the java.util
package.
Can be subclassed to specify tests that should be suppressed.Modifier and Type | Class and Description |
---|---|
private static class |
TestsForSetsInJavaUtil.NullFriendlyComparator<T> |
Constructor and Description |
---|
TestsForSetsInJavaUtil() |
Modifier and Type | Method and Description |
---|---|
junit.framework.Test |
allTests() |
(package private) static <T> java.util.Comparator<T> |
arbitraryNullFriendlyComparator() |
private static java.lang.String[] |
dedupe(java.lang.String[] elements) |
static junit.framework.Test |
suite() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForAbstractSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForCheckedNavigableSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForCheckedSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForCheckedSortedSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForConcurrentSkipListSetNatural() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForConcurrentSkipListSetWithComparator() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForCopyOnWriteArraySet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForEmptyNavigableSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForEmptySet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForEmptySortedSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForEnumSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForHashSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForLinkedHashSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForSingletonSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForSynchronizedNavigableSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForTreeSetNatural() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForTreeSetWithComparator() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForUnmodifiableNavigableSet() |
protected java.util.Collection<java.lang.reflect.Method> |
suppressForUnmodifiableSet() |
junit.framework.Test |
testsForAbstractSet() |
junit.framework.Test |
testsForBadlyCollidingHashSet() |
junit.framework.Test |
testsForCheckedNavigableSet() |
junit.framework.Test |
testsForCheckedSet() |
junit.framework.Test |
testsForCheckedSortedSet() |
junit.framework.Test |
testsForConcurrentSkipListSetNatural() |
junit.framework.Test |
testsForConcurrentSkipListSetWithComparator() |
junit.framework.Test |
testsForCopyOnWriteArraySet() |
junit.framework.Test |
testsForEmptyNavigableSet() |
junit.framework.Test |
testsForEmptySet() |
junit.framework.Test |
testsForEmptySortedSet() |
junit.framework.Test |
testsForEnumSet() |
junit.framework.Test |
testsForHashSet() |
junit.framework.Test |
testsForLinkedHashSet() |
junit.framework.Test |
testsForSingletonSet() |
junit.framework.Test |
testsForSynchronizedNavigableSet()
Tests regular NavigableSet behavior of synchronizedNavigableSet(treeSet); does not test the
fact that it's synchronized.
|
junit.framework.Test |
testsForTreeSetNatural() |
junit.framework.Test |
testsForTreeSetWithComparator() |
junit.framework.Test |
testsForUnmodifiableNavigableSet() |
junit.framework.Test |
testsForUnmodifiableSet() |
public static junit.framework.Test suite()
public junit.framework.Test allTests()
protected java.util.Collection<java.lang.reflect.Method> suppressForCheckedNavigableSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForEmptySet()
protected java.util.Collection<java.lang.reflect.Method> suppressForEmptyNavigableSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForEmptySortedSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForSingletonSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForHashSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForLinkedHashSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForEnumSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForSynchronizedNavigableSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForTreeSetNatural()
protected java.util.Collection<java.lang.reflect.Method> suppressForTreeSetWithComparator()
protected java.util.Collection<java.lang.reflect.Method> suppressForCopyOnWriteArraySet()
protected java.util.Collection<java.lang.reflect.Method> suppressForUnmodifiableSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForUnmodifiableNavigableSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForCheckedSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForCheckedSortedSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForAbstractSet()
protected java.util.Collection<java.lang.reflect.Method> suppressForConcurrentSkipListSetNatural()
protected java.util.Collection<java.lang.reflect.Method> suppressForConcurrentSkipListSetWithComparator()
public junit.framework.Test testsForCheckedNavigableSet()
public junit.framework.Test testsForEmptySet()
public junit.framework.Test testsForEmptyNavigableSet()
public junit.framework.Test testsForEmptySortedSet()
public junit.framework.Test testsForSingletonSet()
public junit.framework.Test testsForHashSet()
public junit.framework.Test testsForLinkedHashSet()
public junit.framework.Test testsForEnumSet()
public junit.framework.Test testsForSynchronizedNavigableSet()
public junit.framework.Test testsForTreeSetNatural()
public junit.framework.Test testsForTreeSetWithComparator()
public junit.framework.Test testsForCopyOnWriteArraySet()
public junit.framework.Test testsForUnmodifiableSet()
public junit.framework.Test testsForUnmodifiableNavigableSet()
public junit.framework.Test testsForCheckedSet()
public junit.framework.Test testsForCheckedSortedSet()
public junit.framework.Test testsForAbstractSet()
public junit.framework.Test testsForBadlyCollidingHashSet()
public junit.framework.Test testsForConcurrentSkipListSetNatural()
public junit.framework.Test testsForConcurrentSkipListSetWithComparator()
private static java.lang.String[] dedupe(java.lang.String[] elements)
static <T> java.util.Comparator<T> arbitraryNullFriendlyComparator()