|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
planet.test.IdTest
Make different tests to build Ids with 32, 64, 96, 128 and 160 bits. The Id's are generated randomly and circular manner. At last, the number of generated Ids are 100 and 1000.
Constructor Summary | |
IdTest(java.lang.String name)
|
Method Summary | |
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
test100_128_circular()
Make a test building Id's with 128 bits and network topology Circular. |
void |
test100_128_random()
Make a test building Id's with 128 bits and network topology Random. |
void |
test100_160_circular()
Make a test building Id's with 160 bits and network topology Circular. |
void |
test100_160_random()
Make a test building Id's with 160 bits and network topology Random. |
void |
test100_32_circular()
Make a test building Id's with 32 bits and network topology Circular. |
void |
test100_32_random()
Make a test building Id's with 32 bits and network topology Random. |
void |
test100_64_circular()
Make a test building Id's with 64 bits and network topology Circular. |
void |
test100_64_random()
Make a test building Id's with 64 bits and network topology Random. |
void |
test100_96_circular()
Make a test building Id's with 96 bits and network topology Circular. |
void |
test100_96_random()
Make a test building Id's with 96 bits and network topology Random. |
void |
test1000_128_circular()
Make a test building Id's with 128 bits and network topology Circular. |
void |
test1000_128_random()
Make a test building Id's with 128 bits and network topology Random. |
void |
test1000_160_circular()
Make a test building Id's with 160 bits and network topology Circular. |
void |
test1000_160_random()
Make a test building Id's with 160 bits and network topology Random. |
void |
test1000_32_circular()
Make a test building Id's with 32 bits and network topology Circular. |
void |
test1000_32_random()
Make a test building Id's with 32 bits and network topology Random. |
void |
test1000_64_circular()
Make a test building Id's with 64 bits and network topology Circular. |
void |
test1000_64_random()
Make a test building Id's with 64 bits and network topology Random. |
void |
test1000_96_circular()
Make a test building Id's with 96 bits and network topology Circular. |
void |
test1000_96_random()
Make a test building Id's with 96 bits and network topology Random. |
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, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, 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 |
public IdTest(java.lang.String name) throws InitializationException
Method Detail |
protected void setUp()
public static junit.framework.Test suite()
public void test100_32_random() throws java.lang.Exception
java.lang.Exception
public void test100_64_random() throws java.lang.Exception
java.lang.Exception
public void test100_96_random() throws java.lang.Exception
java.lang.Exception
public void test100_128_random() throws java.lang.Exception
java.lang.Exception
public void test100_160_random() throws java.lang.Exception
java.lang.Exception
public void test100_32_circular() throws java.lang.Exception
java.lang.Exception
public void test100_64_circular() throws java.lang.Exception
java.lang.Exception
public void test100_96_circular() throws java.lang.Exception
java.lang.Exception
public void test100_128_circular() throws java.lang.Exception
java.lang.Exception
public void test100_160_circular() throws java.lang.Exception
java.lang.Exception
public void test1000_32_random() throws java.lang.Exception
java.lang.Exception
public void test1000_64_random() throws java.lang.Exception
java.lang.Exception
public void test1000_96_random() throws java.lang.Exception
java.lang.Exception
public void test1000_128_random() throws java.lang.Exception
java.lang.Exception
public void test1000_160_random() throws java.lang.Exception
java.lang.Exception
public void test1000_32_circular() throws java.lang.Exception
java.lang.Exception
public void test1000_64_circular() throws java.lang.Exception
java.lang.Exception
public void test1000_96_circular() throws java.lang.Exception
java.lang.Exception
public void test1000_128_circular() throws java.lang.Exception
java.lang.Exception
public void test1000_160_circular() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |