TimedOutHashTableTest¶
-
public class
TimedOutHashTableTest
extends TestCase¶ The test case for
TimedOutHashTable
. Creation Date: 25/6/2007Author: Twinsen Tsang
Methods¶
testContain¶
-
public void
testContain
()¶ Test for existence of the putting object using method
contain
.
testContainValue¶
-
public void
testContainValue
()¶ Test for existence of the putting object using method
containValue
.
testMultiplePutWithMixed¶
-
public void
testMultiplePutWithMixed
()¶ Test for putting multiple object with some time out specified while some don’t. It then check whether some records are swept out after [sweeping_interval + timeout value].
testMultiplePutWithTimeout¶
-
public void
testMultiplePutWithTimeout
()¶ Test for putting multiple object with time out specified and see whether all records are swept out after [sweeping_interval + timeout value].