Keel 2.1RC2

org.apache.commons.collections
Class TestFastTreeMap

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.collections.BulkTest
              extended byorg.apache.commons.collections.TestObject
                  extended byorg.apache.commons.collections.TestMap
                      extended byorg.apache.commons.collections.TestTreeMap
                          extended byorg.apache.commons.collections.TestFastTreeMap
All Implemented Interfaces:
java.lang.Cloneable, junit.framework.Test
Direct Known Subclasses:
TestFastTreeMap1

public class TestFastTreeMap
extends TestTreeMap

Version:
$Id: TestFastTreeMap.java,v 1.9 2002/10/12 22:36:22 scolebourne Exp $
Author:

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.TestTreeMap
map
 
Fields inherited from class org.apache.commons.collections.TestMap
confirmed, entrySet, keySet, 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
TestFastTreeMap(java.lang.String testName)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.util.Map makeConfirmedEmptyMap()
           
 java.util.Map makeEmptyMap()
          Return a new, empty Map to be used for testing.
 void setUp()
           
static junit.framework.Test suite()
           
 boolean useNullKey()
          The comparator for the fast tree map does not support null keys.
 boolean useNullValue()
          There is a bug in JDK1.2.2 TreeMap; the keySet will incorrectly return false when a null value is removed
 
Methods inherited from class org.apache.commons.collections.TestTreeMap
testNewMap, testSearch
 
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, testMapPut, testMapPutAll, testMapRemove, testMapSize, testMapToString, testSampleMappings, useDuplicateValues, verify, verifyEntrySet, verifyKeySet, verifyMap, verifyValues
 
Methods inherited from class org.apache.commons.collections.TestObject
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, getCompatibilityVersion, readExternalFormFromBytes, readExternalFormFromDisk, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDisk
 
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
 
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

TestFastTreeMap

public TestFastTreeMap(java.lang.String testName)
Method Detail

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)

makeEmptyMap

public java.util.Map makeEmptyMap()
Description copied from class: TestMap
Return a new, empty Map to be used for testing.

Specified by:
makeEmptyMap in class TestMap

makeConfirmedEmptyMap

public java.util.Map makeConfirmedEmptyMap()

useNullKey

public boolean useNullKey()
The comparator for the fast tree map does not support null keys.

Overrides:
useNullKey in class TestTreeMap

useNullValue

public boolean useNullValue()
There is a bug in JDK1.2.2 TreeMap; the keySet will incorrectly return false when a null value is removed

Overrides:
useNullValue in class TestMap

setUp

public void setUp()
Overrides:
setUp in class TestTreeMap

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.