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

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

public class ReadOnlyResourceStateImplTest
extends junit.framework.TestCase

Unit tests for ReadOnlyResourceStateImpl.

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

Constructor Summary
ReadOnlyResourceStateImplTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testGetNodes()
          Test the Set getNodes method.
 void testGetSynchInterval()
          Test the void load method.
 void testLoad()
          Test the void load method.
 void testReadOnlyResourceStateImpl()
          Test the ReadOnlyResourceStateImpl constructor.
 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

ReadOnlyResourceStateImplTest

public ReadOnlyResourceStateImplTest()
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

testReadOnlyResourceStateImpl

public void testReadOnlyResourceStateImpl()

Test the ReadOnlyResourceStateImpl 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()
                  throws java.lang.Exception

Test the Set getNodes method.

Throws:
java.lang.Exception

testStore

public void testStore()
               throws java.lang.Exception

Test the void store method.

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


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