| org.apache.commons.collections.set.AbstractTestSet org.apache.commons.collections.set.AbstractTestSortedSet
All known Subclasses: org.apache.commons.collections.set.TestUnmodifiableSortedSet, org.apache.commons.collections.set.TestTransformedSortedSet, org.apache.commons.collections.set.TestSynchronizedSortedSet, org.apache.commons.collections.set.TestTypedSortedSet, org.apache.commons.collections.set.TestPredicatedSortedSet,
AbstractTestSortedSet | abstract public class AbstractTestSortedSet extends AbstractTestSet (Code) | | Abstract test class for
SortedSet methods and contracts.
To use, subclass and override the
AbstractTestSortedSet.makeEmptySet() method. You may have to override other protected methods if your
set is not modifiable, or if your set restricts what kinds of
elements may be added; see
AbstractTestCollection for more details.
since: Commons Collections 3.0 version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $ author: Stephen Colebourne author: Dieter Wimberger |
AbstractTestSortedSet | public AbstractTestSortedSet(String name)(Code) | | JUnit constructor.
Parameters: name - name for test |
getConfirmedSortedSet | public SortedSet getConfirmedSortedSet()(Code) | | Return the
AbstractTestCollection.confirmed fixture, but cast as a
SortedSet.
|
getFullNonNullElements | public Object[] getFullNonNullElements()(Code) | | Override to return comparable objects.
|
getOtherNonNullElements | public Object[] getOtherNonNullElements()(Code) | | Override to return comparable objects.
|
isNullSupported | public boolean isNullSupported()(Code) | | Overridden because SortedSets don't allow null elements (normally).
false |
makeConfirmedCollection | public Collection makeConfirmedCollection()(Code) | | Returns an empty
TreeSet for use in modification testing.
a confirmed empty collection |
verify | public void verify()(Code) | | Verification extension, will check the order of elements,
the sets should already be verified equal.
|
|
|