|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.id.uuid.state.StateHelperTest
public class StateHelperTest
Unit tests for StateHelper.
| Constructor Summary | |
|---|---|
StateHelperTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testDecodeMACAddress()
Test the decodeMACAddress method. |
void |
testEncodeMACAddress()
Test the encodeMACAddress method. |
void |
testGetClockImpl()
Test getClockImpl method |
void |
testGetStateImpl()
Test getStateImpl method |
void |
testNewClockSequence()
Test newClockSequence method |
void |
testRandomNodeIdentifier()
Test the randomNodeIdentifier 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 |
|---|
public StateHelperTest()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testRandomNodeIdentifier()
Test the randomNodeIdentifier method.
public void testNewClockSequence()
public void testGetClockImpl()
public void testGetStateImpl()
public void testDecodeMACAddress()
public void testEncodeMACAddress()
throws java.lang.Exception
Test the encodeMACAddress method.
java.lang.Exception - a test Exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||