|
Keel 2.1RC2 | ||||||||||
| 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.TestObject
org.apache.commons.collections.TestMap
org.apache.commons.collections.TestDoubleOrderedMap
Class TestDoubleOrderedMap Test cases for DoubleOrderedMap. This class cannot implement TestMap.SupportsPut, because it is a special Map that does not support duplicate keys, duplicate values, or null values.
| Nested Class Summary |
| Nested classes inherited from class org.apache.commons.collections.TestMap |
TestMap.TestMapEntrySet, TestMap.TestMapKeySet, TestMap.TestMapValues |
| Field Summary |
| Fields inherited from class org.apache.commons.collections.TestMap |
confirmed, entrySet, keySet, map, values |
| Fields inherited from class org.apache.commons.collections.TestObject |
COLLECTIONS_MAJOR_VERSION |
| Fields inherited from class org.apache.commons.collections.BulkTest |
verboseName |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
TestDoubleOrderedMap(java.lang.String name)constructor |
|
| Method Summary | |
static void |
main(java.lang.String[] unusedArgs)Method main |
java.util.Map |
makeEmptyMap()Return a new, empty Map to be used for testing. |
private LocalTestNode[] |
makeLocalNodes() |
java.util.Map |
makeMap() |
static junit.framework.Test |
suite()create a suite of the tests in this class |
void |
testClear()test clear() method |
void |
testConstructors()test constructors |
void |
testContainsKey()test containsKey() method |
void |
testContainsValue()test containsValue() method |
void |
testEntrySet()test entrySet() method |
private void |
testEntrySet(java.util.Map m) |
void |
testEntrySetByValue()test entrySetByValue() method |
private void |
testEntrySetByValue(DoubleOrderedMap m) |
void |
testEquals()Method testEquals |
void |
testGet()test get() method |
void |
testGetKeyForValue()test getKeyForValue() method |
void |
testHashCode()test hashCode() method |
void |
testIsEmpty()test IsEmpty() method |
void |
testKeySet()test keySet() method |
private void |
testKeySet(java.util.Map m) |
void |
testKeySetByValue()test keySetByValue() method |
private void |
testKeySetByValue(DoubleOrderedMap m) |
void |
testMapPut()Override the Map.put() test because it tries put with the same key which is invalid in the modified double ordered map contract. |
void |
testPut()test put() method |
void |
testPutAll()Method testPutAll |
void |
testRemove()test remove() method |
void |
testRemoveValue()test removeValue() method |
void |
testSize()test size() method |
void |
testValues()test values() method |
private void |
testValues(java.util.Map m) |
void |
testValuesByValue()test valuesByValue() method |
private void |
testValuesByValue(DoubleOrderedMap m) |
boolean |
useDuplicateValues()Double ordered map does not support duplicate values |
boolean |
useNullKey()The default comparator in double ordered map does not allow null keys. |
boolean |
useNullValue()The default comparator in double ordered map does not allow null keys, and values are keys in this map. |
| Methods inherited from class org.apache.commons.collections.TestMap |
addSampleMappings, bulkTestMapEntrySet, bulkTestMapKeySet, bulkTestMapValues, getNewSampleValues, getOtherKeys, getOtherValues, getSampleKeys, getSampleValues, isAddRemoveModifiable, isChangeable, makeFullMap, makeObject, resetEmpty, resetFull, tearDown, testEmptyMapCompatibility, testFullMapCompatibility, testMakeMap, testMapClear, testMapContainsKey, testMapContainsValue, testMapEquals, testMapGet, testMapHashCode, testMapIsEmpty, testMapPutAll, testMapRemove, testMapSize, testMapToString, testSampleMappings, verify, verifyEntrySet, verifyKeySet, verifyMap, verifyValues |
| Methods inherited from class org.apache.commons.collections.BulkTest |
clone, ignoredSimpleTests, makeSuite, toString |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TestDoubleOrderedMap(java.lang.String name)
name -| Method Detail |
public static junit.framework.Test suite()
public boolean useNullKey()
useNullKey in class TestMappublic boolean useNullValue()
useNullValue in class TestMappublic boolean useDuplicateValues()
useDuplicateValues in class TestMappublic java.util.Map makeEmptyMap()
TestMapMap to be used for testing.
makeEmptyMap in class TestMappublic java.util.Map makeMap()
public void testSize()
public void testIsEmpty()
public void testContainsKey()
public void testContainsValue()
public void testGet()
public void testPut()
public void testRemove()
public void testPutAll()
public void testClear()
public void testKeySet()
public void testValues()
public void testEntrySet()
public void testEquals()
public void testHashCode()
public void testConstructors()
public void testGetKeyForValue()
public void testRemoveValue()
public void testEntrySetByValue()
public void testKeySetByValue()
public void testValuesByValue()
private void testKeySet(java.util.Map m)
private void testKeySetByValue(DoubleOrderedMap m)
private void testValues(java.util.Map m)
private void testValuesByValue(DoubleOrderedMap m)
private void testEntrySet(java.util.Map m)
private void testEntrySetByValue(DoubleOrderedMap m)
private LocalTestNode[] makeLocalNodes()
public static void main(java.lang.String[] unusedArgs)
unusedArgs -public void testMapPut()
testMapPut in class TestMap
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||