| org.archive.util.TmpDirTestCase org.archive.queue.QueueTestBase
All known Subclasses: org.archive.queue.MemQueueTest,
QueueTestBase | abstract public class QueueTestBase extends TmpDirTestCase (Code) | | JUnit test suite for Queue. It's an abstract class which is implemented by
each queue implementation
author: James Casey version: $Id: QueueTestBase.java 4645 2006-09-22 16:08:03Z paul_jack $ |
QueueTestBase | public QueueTestBase(String testName)(Code) | | Create a new PaddingStringBufferTest object
Parameters: testName - the name of the test |
makeQueue | abstract protected Queue<Object> makeQueue()(Code) | | The abstract subclass constructor. The subclass should create an
instance of the object it wishes to have tested
the Queue object to be tested |
tearDown | public void tearDown()(Code) | | |
testDequeue | public void testDequeue()(Code) | | test that dequeue works
|
testDequeueEmptyQueue | public void testDequeueEmptyQueue()(Code) | | check what happens we dequeue on empty
|
testQueue | public void testQueue()(Code) | | test that queue puts things on, and they stay there :)
|
|
|