net.walend.collection.test
Class SoftHashMapTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.walend.toolkit.junit.TestCase
                    |
                    +--net.walend.collection.test.AbstractMapTest
                          |
                          +--net.walend.collection.test.AbstractMutableMapTest
                                |
                                +--net.walend.collection.test.SoftHashMapTest
All Implemented Interfaces:
junit.framework.Test

public class SoftHashMapTest
extends AbstractMutableMapTest

Since:
20010827
Author:
David Walend

Nested Class Summary
private  class SoftHashMapTest.LameKey
           
private  class SoftHashMapTest.LameValue
           
 
Field Summary
private  TestCollectionFactory tcf
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SoftHashMapTest(java.lang.String testName)
           
 
Method Summary
protected  Map getEmptyTestMap()
           
protected  MutableMap getMutableTestMap()
           
protected  TestCollectionFactory getTestCollectionFactory()
           
protected  Map getTestMap()
           
static junit.framework.Test suite()
           
 void testMemoryUnderLoad()
          This test takes a minute and a half under jdk 1.4beta1, so is normally commented out.
 
Methods inherited from class net.walend.collection.test.AbstractMutableMapTest
testClear, testConstructors, testImmutable, testKeyIteratorRemove, testPut, testPutAll, testRemove, testValueIteratorRemove
 
Methods inherited from class net.walend.collection.test.AbstractMapTest
testContainsAll, testContainsKey, testContainsValue, testCopyConstructor, testGet, testGetIdentitor, testGetIdentitor, testGetJavaMap, testGetKeys, testGetPrincipleInterface, testGetValues, testImmutable, testIsEmpty, testKeyIterator, testQueriesOnEmpty, testQueriesOnTestMap, testSameContentsAs, testSameStateAs, testSize, testValueIterator
 
Methods inherited from class net.walend.toolkit.junit.TestCase
fail
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tcf

private TestCollectionFactory tcf
Constructor Detail

SoftHashMapTest

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

getEmptyTestMap

protected Map getEmptyTestMap()
Specified by:
getEmptyTestMap in class AbstractMapTest

getTestMap

protected Map getTestMap()
Specified by:
getTestMap in class AbstractMapTest

getMutableTestMap

protected MutableMap getMutableTestMap()
Specified by:
getMutableTestMap in class AbstractMutableMapTest

getTestCollectionFactory

protected TestCollectionFactory getTestCollectionFactory()
Specified by:
getTestCollectionFactory in class AbstractMapTest

testMemoryUnderLoad

public void testMemoryUnderLoad()
This test takes a minute and a half under jdk 1.4beta1, so is normally commented out.


suite

public static junit.framework.Test suite()


Copyright (c) 2000, 2001, David Walend