|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.commonapi.testing.CommonAPITest
rice.p2p.splitstream.testing.SplitStreamRegrTest
| Field Summary | |
protected java.util.Random |
generateIdRng
|
static java.lang.String |
INSTANCE
DESCRIBE THE FIELD |
protected java.util.Random |
rng
DESCRIBE THE FIELD |
protected SplitStreamImpl[] |
splitstreams
DESCRIBE THE FIELD |
protected rice.p2p.splitstream.testing.SplitStreamRegrTest.SplitStreamTestClient[] |
ssclients
|
| Fields inherited from class rice.p2p.commonapi.testing.CommonAPITest |
BOOTSTRAP_HOST, BOOTSTRAP_PORT, factory, FACTORY, FAILURE, idFactory, INSTANCE_NAME, nodes, NUM_NODES, PAD_SIZE, PORT, PROTOCOL, PROTOCOL_DIRECT, simulator, SIMULATOR, SIMULATOR_EUCLIDEAN, SIMULATOR_SPHERE, SUCCESS |
| Constructor Summary | |
SplitStreamRegrTest()
Constructor which sets up all local variables |
|
| Method Summary | |
protected boolean |
checkTree(int startindex,
int num)
|
static void |
main(java.lang.String[] args)
Usage: DistScribeRegrTest [-port p] [-bootstrap host[:port]] [-nodes n] [-protocol (rmi|wire)] [-help] |
protected void |
processNode(int num,
Node node)
Method which should process the given newly-created node |
protected void |
runTest()
Method which should run the test - this is called once all of the nodes have been created and are ready. |
protected void |
testBandwidthUsage()
|
protected void |
testBasic()
Tests routing a Past request to a particular node. |
protected void |
testFailure(int numnodes)
|
protected void |
testIndependence()
|
protected void |
testMaintenance(int num)
|
| Methods inherited from class rice.p2p.commonapi.testing.CommonAPITest |
assertEquals, assertTrue, createNode, getBootstrap, kill, parseArgs, pause, sectionDone, sectionStart, simulate, start, stepDone, stepDone, stepDone, stepException, stepStart |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String INSTANCE
protected SplitStreamImpl[] splitstreams
protected rice.p2p.splitstream.testing.SplitStreamRegrTest.SplitStreamTestClient[] ssclients
protected java.util.Random rng
protected java.util.Random generateIdRng
| Constructor Detail |
public SplitStreamRegrTest()
| Method Detail |
public static void main(java.lang.String[] args)
args - DESCRIBE THE PARAMETER
protected void processNode(int num,
Node node)
processNode in class CommonAPITestnode - The newly created nodenum - The number of this nodeprotected void runTest()
runTest in class CommonAPITestprotected void testBandwidthUsage()
protected void testIndependence()
protected void testMaintenance(int num)
protected void testBasic()
protected boolean checkTree(int startindex,
int num)
protected void testFailure(int numnodes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||