org.apache.commons.id.uuid.state
Class InMemoryStateImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.id.uuid.state.InMemoryStateImplTest
All Implemented Interfaces:
junit.framework.Test

public class InMemoryStateImplTest
extends junit.framework.TestCase

Unit tests for InMemoryStateImpl.

Version:
$Revision: 480488 $ $Date: 2006-11-29 08:57:26 +0000 (Wed, 29 Nov 2006) $
Author:
Commons-Id team

Constructor Summary
InMemoryStateImplTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testGetNodes()
          Test the Set getNodes method.
 void testGetSynchInterval()
          Test the void load method.
 void testInMemoryStateImpl()
          Test the InMemoryStateImpl constructor.
 void testLoad()
          Test the void load method.
 void testStore()
          Test the void store method.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InMemoryStateImplTest

public InMemoryStateImplTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testInMemoryStateImpl

public void testInMemoryStateImpl()

Test the InMemoryStateImpl constructor.


testLoad

public void testLoad()
              throws java.lang.Exception

Test the void load method.

Throws:
java.lang.Exception - a test exception.

testGetSynchInterval

public void testGetSynchInterval()

Test the void load method.


testGetNodes

public void testGetNodes()

Test the Set getNodes method.


testStore

public void testStore()

Test the void store method.



Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.