|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ProtocolInteractor | |
---|---|
org.apache.james.mpt |
Uses of ProtocolInteractor in org.apache.james.mpt |
---|
Classes in org.apache.james.mpt that implement ProtocolInteractor | |
---|---|
class |
ProtocolSession
A protocol session which can be run against a reader and writer, which checks the server response against the expected values. |
Methods in org.apache.james.mpt that return ProtocolInteractor | |
---|---|
ProtocolInteractor |
ProtocolSessionBuilder.buildProtocolSession(java.lang.String fileName)
Builds a ProtocolSession by reading lines from the test file with the supplied name. |
ProtocolInteractor |
ProtocolSessionBuilder.buildProtocolSession(java.lang.String scriptName,
java.io.Reader reader)
Builds a ProtocolSession by reading lines from the reader. |
ProtocolInteractor |
Runner.getPostElements()
Gets protocol session run after test. |
ProtocolInteractor |
Runner.getPreElements()
Gets protocol session run before test. |
ProtocolInteractor |
Runner.getTestElements()
Gets protocol session run on test. |
Methods in org.apache.james.mpt with parameters of type ProtocolInteractor | |
---|---|
void |
ProtocolSessionBuilder.addProtocolLines(java.lang.String scriptName,
java.io.InputStream is,
ProtocolInteractor session)
Reads ProtocolElements from the supplied InputStream and adds them to the ProtocolSession. |
void |
ProtocolSessionBuilder.addProtocolLines(java.lang.String scriptName,
java.io.Reader reader,
ProtocolInteractor session)
Reads ProtocolElements from the supplied Reader and adds them to the ProtocolSession. |
void |
ProtocolSessionBuilder.addTestFile(java.lang.String fileName,
ProtocolInteractor session)
Adds all protocol elements from a test file to the ProtocolSession supplied. |
protected void |
AbstractSimpleScriptedTestProtocol.addTestFile(java.lang.String fileName,
ProtocolInteractor session)
Finds the protocol session file identified by the test name, and builds protocol elements from it. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |