|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.collections.BulkTest
org.apache.commons.collections.AbstractTestObject
org.apache.commons.collections.map.AbstractTestMap
org.apache.commons.collections.map.AbstractTestIterableMap
org.apache.commons.collections.map.AbstractTestOrderedMap
public abstract class AbstractTestOrderedMap
Abstract test class for OrderedMap methods and contracts.
| Nested Class Summary | |
|---|---|
class |
AbstractTestOrderedMap.InnerTestOrderedMapIterator
|
| Nested classes/interfaces inherited from class org.apache.commons.collections.map.AbstractTestIterableMap |
|---|
AbstractTestIterableMap.InnerTestMapIterator |
| Nested classes/interfaces inherited from class org.apache.commons.collections.map.AbstractTestMap |
|---|
AbstractTestMap.TestMapEntrySet, AbstractTestMap.TestMapKeySet, AbstractTestMap.TestMapValues |
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.collections.map.AbstractTestMap |
|---|
confirmed, entrySet, keySet, map, values |
| Fields inherited from class org.apache.commons.collections.AbstractTestObject |
|---|
COLLECTIONS_MAJOR_VERSION |
| Constructor Summary | |
|---|---|
AbstractTestOrderedMap(java.lang.String testName)
JUnit constructor. |
|
| Method Summary | |
|---|---|
BulkTest |
bulkTestOrderedMapIterator()
|
java.lang.Object[] |
getSampleKeys()
The only confirmed collection we have that is ordered is the sorted one. |
java.util.Map |
makeConfirmedMap()
OrderedMap uses TreeMap as its known comparison. |
void |
testFirstKey()
|
void |
testLastKey()
|
void |
testNextKey()
|
void |
testPreviousKey()
|
| Methods inherited from class org.apache.commons.collections.map.AbstractTestIterableMap |
|---|
bulkTestMapIterator, testFailFastEntrySet, testFailFastKeySet, testFailFastValues |
| Methods inherited from class org.apache.commons.collections.BulkTest |
|---|
clone, ignoredTests, makeSuite, toString |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTestOrderedMap(java.lang.String testName)
testName - the test name| Method Detail |
|---|
public java.util.Map makeConfirmedMap()
makeConfirmedMap in class AbstractTestMappublic java.lang.Object[] getSampleKeys()
getSampleKeys in class AbstractTestMappublic void testFirstKey()
public void testLastKey()
public void testNextKey()
public void testPreviousKey()
public BulkTest bulkTestOrderedMapIterator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||