|
|||||||||||
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.SimpleTest
Test differents simulation cases, with joining, failing and leaving nodes.
Constructor Summary | |
SimpleTest(java.lang.String name)
|
Method Summary | |
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
test1000Join()
Builds a network with 1000 nodes, based with events file "test_join1000r.txt". |
void |
test1000NetworkJoin()
Builds a network with 1000 nodes, with the predefined node class at properties file, using network.joinNodes(1000). |
void |
testBuild100()
Test to build dynamically 100 nodes with the predefined node class at properties file. |
void |
testFail()
Joins 4 nodes and one fail, based with events file "test_fail.txt". |
void |
testFixFingers()
Tests if all finger tables contains correct values, based with events file "test_join.txt". |
void |
testJoin()
Join 4 nodes, with events at file "test_join.txt". |
void |
testLeave()
Joins 4 nodes, and one leave, based with events file "test_leave.txt". |
void |
testStabilize()
Tests the stabilization process of 4 nodes, based with events file "test_join.txt". |
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 SimpleTest(java.lang.String name) throws InitializationException
Method Detail |
protected void setUp()
public static junit.framework.Test suite()
public void testJoin() throws java.lang.Exception
java.lang.Exception
public void testLeave() throws java.lang.Exception
java.lang.Exception
public void testFail() throws java.lang.Exception
java.lang.Exception
public void testStabilize() throws java.lang.Exception
java.lang.Exception
public void testFixFingers() throws java.lang.Exception
java.lang.Exception
public void testBuild100() throws java.lang.Exception
java.lang.Exception
public void test1000NetworkJoin() throws java.lang.Exception
java.lang.Exception
public void test1000Join() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |