Package | Description |
---|---|
org.apache.james.mpt.protocol | |
org.apache.james.mpt.script |
Modifier and Type | Method and Description |
---|---|
ProtocolSession |
FileProtocolSessionBuilder.buildProtocolSession(String fileName)
Builds a ProtocolSession by reading lines from the test file with the
supplied name.
|
Modifier and Type | Method and Description |
---|---|
void |
FileProtocolSessionBuilder.addProtocolLinesFromStream(InputStream is,
ProtocolSession session,
String fileName)
Reads ProtocolElements from the supplied InputStream and adds them to the
ProtocolSession.
|
void |
FileProtocolSessionBuilder.addTestFile(String fileName,
ProtocolSession session)
Adds all protocol elements from a test file to the ProtocolSession
supplied.
|
Modifier and Type | Field and Description |
---|---|
protected ProtocolSession |
AbstractProtocolTestFramework.postElements
The Protocol session which is run after the testElements.
|
protected ProtocolSession |
AbstractProtocolTestFramework.preElements
The Protocol session which is run before the testElements
|
protected ProtocolSession |
AbstractProtocolTestFramework.testElements
The Protocol session which contains the tests elements
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSimpleScriptedTestProtocol.addTestFile(String fileName,
ProtocolSession session)
Finds the protocol session file identified by the test name, and builds
protocol elements from it.
|
Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.