public class TestBucketWriterThread extends Object
Constructor and Description |
---|
TestBucketWriterThread() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Set up variables and get BucketCache and WriterThread into state where tests can manually
control the running of WriterThread and BucketCache is empty.
|
void |
tearDown() |
void |
testCacheFullException()
Do Cache full exception
|
void |
testIOE()
Do IOE.
|
void |
testNonErrorCase()
Test non-error case just works.
|
void |
testTooBigEntry()
Pass through a too big entry and ensure it is cleared from queues and ramCache.
|
public void setUp() throws Exception
Exception
public void testNonErrorCase() throws IOException, InterruptedException
public void testTooBigEntry() throws InterruptedException
InterruptedException
public void testIOE() throws IOException, InterruptedException
IOException
InterruptedException
public void testCacheFullException() throws IOException, InterruptedException
IOException
InterruptedException