qflib 0.98.0

de.qfs.lib.log
Class LogQueue.UnitTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.qfs.lib.log.LogQueue.UnitTest
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
LogQueue

public static class LogQueue.UnitTest
extends junit.framework.TestCase

Test cases for the LogQueue class.


Constructor Summary
LogQueue.UnitTest(java.lang.String name)
          Create a new UnitTest.
 
Method Summary
protected  void setUp()
          Set up the test fixture.
static junit.framework.Test suite()
          Get the suite of tests.
 void testCubby()
          Test non-queueing.
 void testDrop()
          Test drop on overflow.
 void testFlush()
          Test automatic flushing.
 void testResize()
          Test reisze of the queue.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, runTest, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogQueue.UnitTest

public LogQueue.UnitTest(java.lang.String name)
Create a new UnitTest.
Parameters:
name - The name of the test.
Method Detail

setUp

protected void setUp()
Set up the test fixture.
Overrides:
setUp in class junit.framework.TestCase

suite

public static junit.framework.Test suite()
Get the suite of tests.
Returns:
The tests.

testFlush

public void testFlush()
Test automatic flushing.

testCubby

public void testCubby()
Test non-queueing.

testDrop

public void testDrop()
Test drop on overflow.

testResize

public void testResize()
Test reisze of the queue.

qflib 0.98.0