|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.past.testing.DistPASTRegrTest
Nested Class Summary | |
protected class |
DistPASTRegrTest.TestCommand
Deprecated. Common superclass for test commands. |
protected class |
DistPASTRegrTest.TestFailedException
Deprecated. Exception indicating that a regression test failed. |
protected class |
DistPASTRegrTest.TestPASTFunctions
Deprecated. Commands for running the PAST functions test. |
Constructor Summary | |
DistPASTRegrTest()
Deprecated. |
Method Summary | |
protected void |
assertEquals(java.lang.String name,
java.lang.String description,
java.lang.Object expected,
java.lang.Object actual)
Deprecated. Thows an exception if expected is not equal to actual. |
protected void |
assertTrue(java.lang.String name,
java.lang.String intention,
boolean test)
Deprecated. Throws an exception if the test condition is not met. |
protected void |
createNodes()
Deprecated. Creates the nodes used for testing. |
protected rice.p2p.commonapi.NodeHandle |
getBootstrap()
Deprecated. Gets a handle to a bootstrap node. |
protected void |
initialize()
Deprecated. Sets up the environment for regression tests. |
protected void |
initiateMaintenance()
Deprecated. Initiates replica maintenance on all nodes |
static void |
main(java.lang.String[] args)
Deprecated. Usage: DistPASTTest [-port p] [-bootstrap host[:port]] [-nodes n] [-protocol (rmi|wire)] [-help] |
protected rice.past.PASTService |
makePASTNode()
Deprecated. Creates a pastryNode with a PASTService running on it. |
void |
pause(int ms)
Deprecated. |
void |
runTests()
Deprecated. Initializes and runs all regression tests. |
protected void |
testRouteRequest()
Deprecated. Tests routing a PAST request to a particular node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DistPASTRegrTest()
Method Detail |
protected rice.p2p.commonapi.NodeHandle getBootstrap()
public void pause(int ms)
protected rice.past.PASTService makePASTNode()
protected void createNodes()
protected void initialize()
protected void initiateMaintenance()
protected void assertTrue(java.lang.String name, java.lang.String intention, boolean test) throws DistPASTRegrTest.TestFailedException
DistPASTRegrTest.TestFailedException
protected void assertEquals(java.lang.String name, java.lang.String description, java.lang.Object expected, java.lang.Object actual) throws DistPASTRegrTest.TestFailedException
DistPASTRegrTest.TestFailedException
protected void testRouteRequest() throws DistPASTRegrTest.TestFailedException
DistPASTRegrTest.TestFailedException
public void runTests()
public static void main(java.lang.String[] args)
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |