Constructor and Description |
---|
Runner() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
toString()
Constructs a
String with all attributes
in name = value format. |
public Runner()
public void continueAfterFailure()
public ProtocolInteractor getPostElements()
public ProtocolInteractor getPreElements()
public ProtocolInteractor getTestElements()
public void runSessions(SessionFactory factory) throws 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.
Exception
Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.