|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.mpt.Runner
public class Runner
Runs protocol scripts.
Constructor Summary | |
---|---|
Runner()
|
Method Summary | |
---|---|
void |
continueAfterFailure()
|
ProtocolInteractor |
getPostElements()
Gets protocol session run after test. |
ProtocolInteractor |
getPreElements()
Gets protocol session run before test. |
ProtocolInteractor |
getTestElements()
Gets protocol session run on test. |
void |
runSessions(SessionFactory factory)
Runs the pre,test and post protocol sessions against a local copy of the server. |
java.lang.String |
toString()
Constructs a String with all attributes
in name = value format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Runner()
Method Detail |
---|
public void continueAfterFailure()
public ProtocolInteractor getPostElements()
public ProtocolInteractor getPreElements()
public ProtocolInteractor getTestElements()
public void runSessions(SessionFactory factory) throws java.lang.Exception
Runs the pre,test and post protocol sessions against a local copy of the server. This does not require that James be running, and is useful for rapid development and debugging.
Instead of sending requests to a socket connected to a running instance
of James, this method uses the HostSystem
to simplify
testing. One mock instance is required per protocol session/connection.
java.lang.Exception
public java.lang.String toString()
String
with all attributes
in name = value format.
toString
in class java.lang.Object
String
representation
of this object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |