qflib 0.98.1

de.qfs.lib.util
Class MRUCache.UnitTest

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

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

Test cases for the MRUCache class.


Constructor Summary
MRUCache.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 testListener()
          Test adding and removing an MRUCacheListener.
 void testMulti()
          Test the extended multi map functionality of the MRUCache.
 
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

MRUCache.UnitTest

public MRUCache.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.

testMulti

public void testMulti()
Test the extended multi map functionality of the MRUCache.

testListener

public void testListener()
Test adding and removing an MRUCacheListener.

qflib 0.98.1