Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W 

A

AbstractProtocolTestFramework - Class in org.apache.james.mpt.script
Abstract Protocol Test is the root of all of the scripted test cases.
AbstractProtocolTestFramework(HostSystem, String, String) - Constructor for class org.apache.james.mpt.script.AbstractProtocolTestFramework
 
AbstractSimpleScriptedTestProtocol - Class in org.apache.james.mpt.script
A Protocol test which reads the test protocol session from a file.
AbstractSimpleScriptedTestProtocol(HostSystem, String, String, String) - Constructor for class org.apache.james.mpt.script.AbstractSimpleScriptedTestProtocol
Sets up a SimpleFileProtocolTest which reads the protocol session from a file of name ".test".
add() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
addProtocolLines(String, InputStream, ProtocolInteractor) - Method in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
Reads ProtocolElements from the supplied InputStream and adds them to the ProtocolSession.
addProtocolLines(String, Reader, ProtocolInteractor) - Method in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
Reads ProtocolElements from the supplied Reader and adds them to the ProtocolSession.
addProtocolLinesFromStream(InputStream, ProtocolSession, String) - Method in class org.apache.james.mpt.protocol.FileProtocolSessionBuilder
Reads ProtocolElements from the supplied InputStream and adds them to the ProtocolSession.
address - Variable in class org.apache.james.mpt.session.ExternalSessionFactory
 
addTestFile(String, ProtocolSession) - Method in class org.apache.james.mpt.protocol.FileProtocolSessionBuilder
Adds all protocol elements from a test file to the ProtocolSession supplied.
addTestFile(String, ProtocolInteractor) - Method in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
Adds all protocol elements from a test file to the ProtocolSession supplied.
addTestFile(String, ProtocolSession) - Method in class org.apache.james.mpt.script.AbstractSimpleScriptedTestProtocol
Finds the protocol session file identified by the test name, and builds protocol elements from it.
addUser(String, String) - Method in interface org.apache.james.mpt.api.HostSystem
Add a user for testing.
addUser(String, String) - Method in interface org.apache.james.mpt.api.UserAdder
Adds a user.
addUser(String, String) - Method in class org.apache.james.mpt.host.ExternalHostSystem
 
addUser(String, String) - Method in class org.apache.james.mpt.user.ScriptedUserAdder
Adds a user using the script read from the given input.
addUser(String, String, Reader) - Method in class org.apache.james.mpt.user.ScriptedUserAdder
Adds a user using the script read from the given input.
afterTest() - Method in interface org.apache.james.mpt.api.HostSystem
 
afterTest() - Method in class org.apache.james.mpt.host.ExternalHostSystem
 
afterTests() - Method in interface org.apache.james.mpt.api.HostSystem
 
afterTests() - Method in class org.apache.james.mpt.host.ExternalHostSystem
 
all() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
all() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
ANOTHER_DOMAIN - Static variable in class org.apache.james.mpt.helper.CreateScript
 
ANOTHER_HEADER - Static variable in class org.apache.james.mpt.helper.CreateScript
 
ANOTHER_NAME - Static variable in class org.apache.james.mpt.helper.CreateScript
 
answered() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
answered() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
answered() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
append() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 

B

bcc(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
bcc(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
before(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
before(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
beforeTest() - Method in interface org.apache.james.mpt.api.HostSystem
 
beforeTest() - Method in class org.apache.james.mpt.host.ExternalHostSystem
 
beforeTests() - Method in interface org.apache.james.mpt.api.HostSystem
 
beforeTests() - Method in class org.apache.james.mpt.host.ExternalHostSystem
 
body(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
body(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
bodyPartialFetch(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
bodyPeekCompleteMessage() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
bodyPeekHeaders(String[]) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
bodyPeekNotHeaders(String[]) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
bodyStructureComplex(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
bodyStructureEmbedded(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
bodyStructureMultipart(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
bodyStructureSimple(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
buildBody(boolean, String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
buildHeaderFields(String[], boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
buildProtocolSession(String) - Method in class org.apache.james.mpt.protocol.FileProtocolSessionBuilder
Builds a ProtocolSession by reading lines from the test file with the supplied name.
buildProtocolSession(String) - Method in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
Builds a ProtocolSession by reading lines from the test file with the supplied name.
buildProtocolSession(String, Reader) - Method in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
Builds a ProtocolSession by reading lines from the reader.
ByteBufferInputStream - Class in org.apache.james.mpt.helper
 
ByteBufferInputStream() - Constructor for class org.apache.james.mpt.helper.ByteBufferInputStream
 
ByteBufferOutputStream - Class in org.apache.james.mpt.helper
 
ByteBufferOutputStream(Continuation) - Constructor for class org.apache.james.mpt.helper.ByteBufferOutputStream
 

C

cc(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
cc(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
CL(String) - Method in interface org.apache.james.mpt.api.ProtocolInteractor
adds a new Client request line to the test elements
CL(int, String) - Method in interface org.apache.james.mpt.api.ProtocolInteractor
adds a new Client request line to the test elements
CL(String) - Method in class org.apache.james.mpt.protocol.ProtocolSession
adds a new Client request line to the test elements
CL(int, String) - Method in class org.apache.james.mpt.protocol.ProtocolSession
adds a new Client request line to the test elements
clear() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
Client(ReadableByteChannel, WritableByteChannel) - Constructor for class org.apache.james.mpt.helper.ScriptBuilder.Client
 
CLIENT_TAG - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
close() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Client
 
close() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
CLOSE_UNORDERED_BLOCK_TAG - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
closeParen() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
closeParen() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
command(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
command() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
command() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
command() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
COMMENT_TAG - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
COMMON_LETTER - Static variable in class org.apache.james.mpt.helper.CreateScript
 
COMMON_WORD - Static variable in class org.apache.james.mpt.helper.CreateScript
 
CONT(int) - Method in interface org.apache.james.mpt.api.ProtocolInteractor
Adds a continuation.
CONT(int) - Method in class org.apache.james.mpt.protocol.ProtocolSession
Adds a continuation.
Continuation - Interface in org.apache.james.mpt.api
 
continueAfterFailure() - Method in class org.apache.james.mpt.Runner
 
create() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
createMailbox(MailboxPath) - Method in interface org.apache.james.mpt.api.ImapHostSystem
 
createMailbox(MailboxPath) - Method in class org.apache.james.mpt.host.ExternalHostSystem
 
CreateScript - Class in org.apache.james.mpt.helper
 
CreateScript() - Constructor for class org.apache.james.mpt.helper.CreateScript
 

D

debug(char) - Method in interface org.apache.james.mpt.api.Monitor
 
debug(String) - Method in interface org.apache.james.mpt.api.Monitor
 
debug(String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(Marker, String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(Marker, String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(Marker, String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(Marker, String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(Marker, String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
debug(char) - Method in class org.apache.james.mpt.monitor.NullMonitor
 
debug(String) - Method in class org.apache.james.mpt.monitor.NullMonitor
 
debug(char) - Method in class org.apache.james.mpt.monitor.SystemLoggingMonitor
 
debug(String) - Method in class org.apache.james.mpt.monitor.SystemLoggingMonitor
 
DEBUG - Static variable in class org.apache.james.mpt.protocol.FileProtocolSessionBuilder
 
delete() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
deleted() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
deleted() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
deleted() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
doContinue() - Method in interface org.apache.james.mpt.api.Continuation
 
doContinue() - Method in class org.apache.james.mpt.protocol.ProtocolSession
 
DOMAIN - Static variable in class org.apache.james.mpt.helper.CreateScript
 
draft() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
draft() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
draft() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 

E

ERR - Static variable in class org.apache.james.mpt.protocol.FileProtocolSessionBuilder
 
error(String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(Marker, String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(Marker, String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(Marker, String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(Marker, String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
error(Marker, String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
expunge(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
expunge() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
ExternalHostSystem - Class in org.apache.james.mpt.host
Connects to a host system serving on an open port.
ExternalHostSystem(ImapFeatures, String, int, Monitor, String, UserAdder) - Constructor for class org.apache.james.mpt.host.ExternalHostSystem
Constructs a host system suitable for connection to an open port.
ExternalHostSystem(ImapFeatures, Monitor, String, UserAdder) - Constructor for class org.apache.james.mpt.host.ExternalHostSystem
 
ExternalSession - Class in org.apache.james.mpt.session
 
ExternalSession(SocketChannel, Monitor, String) - Constructor for class org.apache.james.mpt.session.ExternalSession
 
ExternalSession(SocketChannel, Monitor, String, boolean) - Constructor for class org.apache.james.mpt.session.ExternalSession
 
ExternalSessionFactory - Class in org.apache.james.mpt.session
Session factory creates session which connection to a server port.
ExternalSessionFactory(Monitor, String) - Constructor for class org.apache.james.mpt.session.ExternalSessionFactory
 
ExternalSessionFactory(String, int, Monitor, String) - Constructor for class org.apache.james.mpt.session.ExternalSessionFactory
 
ExternalSessionFactory(InetSocketAddress, Monitor, String) - Constructor for class org.apache.james.mpt.session.ExternalSessionFactory
 

F

fetch() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
Fetch() - Constructor for class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
fetchAllMessages() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
fetchBody() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
fetchData() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
fetchFlags() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
fetchSection(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
FileProtocolSessionBuilder - Class in org.apache.james.mpt.protocol
A builder which generates a ProtocolSession from a test file.
FileProtocolSessionBuilder() - Constructor for class org.apache.james.mpt.protocol.FileProtocolSessionBuilder
 
flagDeleted() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
flagDeleted(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
flagged() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
flagged() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
flagged() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
flags() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
Flags() - Constructor for class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
from(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
from(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
from(String) - Static method in enum org.apache.james.mpt.protocol.ProtocolSession.TimerCommand
 

G

getAddress() - Method in class org.apache.james.mpt.session.ExternalSessionFactory
 
getBasedir() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
getBody() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
getFetch() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
getFile() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
getMailbox() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
getMessageNumber() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
getName() - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
getPassword() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
getPostElements() - Method in class org.apache.james.mpt.Runner
Gets protocol session run after test.
getPreElements() - Method in class org.apache.james.mpt.Runner
Gets protocol session run before test.
getSearch() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
getSessionCount() - Method in class org.apache.james.mpt.protocol.ProtocolSession
Returns the number of sessions required to run this ProtocolSession.
getTestElements() - Method in class org.apache.james.mpt.Runner
Gets protocol session run on test.
getUser() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 

H

HEADER - Static variable in class org.apache.james.mpt.helper.CreateScript
 
header(String, String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
header(String, String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
headerPartialFetch(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
HostSystem - Interface in org.apache.james.mpt.api
Host system under test.

I

IMAP_SHABANG - Static variable in class org.apache.james.mpt.session.ExternalSessionFactory
 
ImapFeatures - Class in org.apache.james.mpt.api
 
ImapFeatures.Feature - Enum in org.apache.james.mpt.api
 
ImapHostSystem - Interface in org.apache.james.mpt.api
 
info(String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(Marker, String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(Marker, String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(Marker, String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(Marker, String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
info(Marker, String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
INFO - Static variable in class org.apache.james.mpt.protocol.FileProtocolSessionBuilder
 
InvalidServerResponseException - Exception in org.apache.james.mpt.exception
An exception which is thrown when the actual response from a server is different from that expected.
InvalidServerResponseException(String) - Constructor for exception org.apache.james.mpt.exception.InvalidServerResponseException
 
InvalidServerResponseException(String) - Constructor for exception org.apache.james.mpt.protocol.ProtocolSession.InvalidServerResponseException
 
isBodyFetch() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isBodyStructureFetch() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isContinueAfterFailure() - Method in class org.apache.james.mpt.protocol.ProtocolSession
 
isDebugEnabled() - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isDebugEnabled(Marker) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isErrorEnabled() - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isErrorEnabled(Marker) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isFlagsFetch() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isInfoEnabled() - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isInfoEnabled(Marker) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isInternalDate() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isPeek() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
isRfc() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isRfc822Size() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isRfcHeaders() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isRfcText() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isTraceEnabled() - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isTraceEnabled(Marker) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isUid() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
isUidSearch() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
isUidSearch() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
isVerbose() - Method in class org.apache.james.mpt.monitor.SystemLoggingMonitor
 
isWarnEnabled() - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
isWarnEnabled(Marker) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 

K

keyword(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
keyword(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 

L

larger(long) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
larger(long) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
lineEnd() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Client
 
lineStart() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Client
 
list() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
LOG(int, ProtocolSession.LolLevel, String) - Method in class org.apache.james.mpt.protocol.ProtocolSession
 
LOG - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
login() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
logout() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 

M

main(String[]) - Static method in class org.apache.james.mpt.helper.CreateScript
 
mimePartialFetch(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
Monitor - Interface in org.apache.james.mpt.api
Monitors the conduct of a process.
monitor - Variable in class org.apache.james.mpt.session.ExternalSessionFactory
 
msn(long) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
msn(int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
msn(int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
msnAndDown(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
msnAndDown(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
msnAndUp(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
msnAndUp(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
multipartAlternative(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
multipartAlternativePeek(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
multipartMixed(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
multipartMixedMessages(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
multipartMixedMessagesPeek(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
multipartMixedPeek(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 

N

NAME - Static variable in class org.apache.james.mpt.helper.CreateScript
 
NEW() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
NEW() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
newSession(Continuation) - Method in interface org.apache.james.mpt.api.HostSystem
Creates a new session for functional testing.
newSession(Continuation) - Method in interface org.apache.james.mpt.api.SessionFactory
Creates a new session for functional testing.
newSession(Continuation) - Method in class org.apache.james.mpt.session.ExternalSessionFactory
 
nextLine(String) - Method in class org.apache.james.mpt.helper.ByteBufferInputStream
 
nextLine() - Method in class org.apache.james.mpt.helper.ByteBufferOutputStream
 
not() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
not() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
note(String) - Method in interface org.apache.james.mpt.api.Monitor
 
note(String) - Method in class org.apache.james.mpt.monitor.NullMonitor
 
note(String) - Method in class org.apache.james.mpt.monitor.SystemLoggingMonitor
 
notHeaderFetches(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
NullMonitor - Class in org.apache.james.mpt.monitor
Discards all monitored messages.
NullMonitor() - Constructor for class org.apache.james.mpt.monitor.NullMonitor
 

O

of(ImapFeatures.Feature...) - Static method in class org.apache.james.mpt.api.ImapFeatures
 
old() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
old() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
on(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
on(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
open(String, int) - Static method in class org.apache.james.mpt.helper.ScriptBuilder
 
OPEN_UNORDERED_BLOCK_TAG - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
openParen() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
openParen() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
or() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
or() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
org.apache.james.mpt - package org.apache.james.mpt
 
org.apache.james.mpt.api - package org.apache.james.mpt.api
 
org.apache.james.mpt.exception - package org.apache.james.mpt.exception
 
org.apache.james.mpt.helper - package org.apache.james.mpt.helper
 
org.apache.james.mpt.host - package org.apache.james.mpt.host
 
org.apache.james.mpt.log - package org.apache.james.mpt.log
 
org.apache.james.mpt.monitor - package org.apache.james.mpt.monitor
 
org.apache.james.mpt.protocol - package org.apache.james.mpt.protocol
 
org.apache.james.mpt.script - package org.apache.james.mpt.script
 
org.apache.james.mpt.session - package org.apache.james.mpt.session
 
org.apache.james.mpt.user - package org.apache.james.mpt.user
 
outBufferNext(byte) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Client
 

P

partial(long, long) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
postElements - Variable in class org.apache.james.mpt.script.AbstractProtocolTestFramework
The Protocol session which is run after the testElements.
preElements - Variable in class org.apache.james.mpt.script.AbstractProtocolTestFramework
The Protocol session which is run before the testElements
ProtocolInteractor - Interface in org.apache.james.mpt.api
Scripts a protocol interaction.
ProtocolSession - Class in org.apache.james.mpt.protocol
A protocol session which can be run against a reader and writer, which checks the server response against the expected values.
ProtocolSession() - Constructor for class org.apache.james.mpt.protocol.ProtocolSession
 
ProtocolSession.InvalidServerResponseException - Exception in org.apache.james.mpt.protocol
An exception which is thrown when the actual response from a server is different from that expected.
ProtocolSession.TimerCommand - Enum in org.apache.james.mpt.protocol
 
ProtocolSessionBuilder - Class in org.apache.james.mpt.protocol
A builder which generates scripts from textual input.
ProtocolSessionBuilder() - Constructor for class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 

Q

quit() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 

R

range(long, long) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
rangeFrom(long) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
rangeTill(long) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
RE - Static variable in class org.apache.james.mpt.helper.CreateScript
 
read() - Method in class org.apache.james.mpt.helper.ByteBufferInputStream
 
readLine() - Method in interface org.apache.james.mpt.api.Session
Reads a line from the session input, blocking until a new line is available.
readLine() - Method in class org.apache.james.mpt.session.ExternalSession
 
readResponse() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Client
 
recent(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
recent() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
recent() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
REINIT(int) - Method in class org.apache.james.mpt.protocol.ProtocolSession
 
REINIT - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
rename(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
rename(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
rename(String, String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
renameHierarchy(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
renameSelected(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
resetFetch() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
restart() - Method in interface org.apache.james.mpt.api.Session
Reopens the session to reinitialize the server state
restart() - Method in class org.apache.james.mpt.session.ExternalSession
 
rfcFetch(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
Runner - Class in org.apache.james.mpt
Runs protocol scripts.
Runner() - Constructor for class org.apache.james.mpt.Runner
 
runner - Variable in class org.apache.james.mpt.script.AbstractProtocolTestFramework
 
runSessions(Session[]) - Method in class org.apache.james.mpt.protocol.ProtocolSession
Executes the ProtocolSession in real time against the readers and writers supplied, writing client requests and reading server responses in the order that they appear in the test elements.
runSessions(SessionFactory) - Method in class org.apache.james.mpt.Runner
Runs the pre,test and post protocol sessions against a local copy of the server.
runSessions() - Method in class org.apache.james.mpt.script.AbstractProtocolTestFramework
Runs the pre,test and post protocol sessions against a local copy of the Server.

S

ScriptBuilder - Class in org.apache.james.mpt.helper
 
ScriptBuilder(ScriptBuilder.Client) - Constructor for class org.apache.james.mpt.helper.ScriptBuilder
 
ScriptBuilder.Client - Class in org.apache.james.mpt.helper
 
ScriptBuilder.Fetch - Class in org.apache.james.mpt.helper
 
ScriptBuilder.Flags - Class in org.apache.james.mpt.helper
 
ScriptBuilder.Search - Class in org.apache.james.mpt.helper
 
ScriptedUserAdder - Class in org.apache.james.mpt.user
Adds a user by executing a script at a port.
ScriptedUserAdder(String, int) - Constructor for class org.apache.james.mpt.user.ScriptedUserAdder
Constructs an adder without a script.
ScriptedUserAdder(String, int, String) - Constructor for class org.apache.james.mpt.user.ScriptedUserAdder
 
ScriptedUserAdder(String, int, Monitor) - Constructor for class org.apache.james.mpt.user.ScriptedUserAdder
Note that ScriptedUserAdder.addUser(String, String) will not be available
ScriptedUserAdder(String, int, String, Monitor) - Constructor for class org.apache.james.mpt.user.ScriptedUserAdder
 
scriptTest(String, Locale) - Method in class org.apache.james.mpt.script.AbstractSimpleScriptedTestProtocol
Reads test elements from the protocol session file and adds them to the testElements ProtocolSession.
search() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
Search() - Constructor for class org.apache.james.mpt.helper.ScriptBuilder.Search
 
searchAtoms(ScriptBuilder, boolean) - Static method in class org.apache.james.mpt.helper.CreateScript
 
searchCombinations(ScriptBuilder, boolean) - Static method in class org.apache.james.mpt.helper.CreateScript
 
seen() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
seen() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
seen() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
select() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
sentbefore(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
sentbefore(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
senton(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
senton(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
sentsince(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
sentsince(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
SERVER_CONTINUATION_TAG - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
SERVER_TAG - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
Session - Interface in org.apache.james.mpt.api
A connection to the host.
SESSION_TAG - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
SessionFactory - Interface in org.apache.james.mpt.api
Builds sessions for protocol testing.
setBasedir(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setBody(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setBodyFetch(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setBodyStructureFetch(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setContinueAfterFailure(boolean) - Method in class org.apache.james.mpt.protocol.ProtocolSession
 
setFetch(ScriptBuilder.Fetch) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setFile(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setFlagsFetch(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setInternalDate(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setMailbox(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setMessageNumber(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setPassword(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setPeek(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setQuotaLimits(long, long) - Method in interface org.apache.james.mpt.api.ImapHostSystem
 
setQuotaLimits(long, long) - Method in class org.apache.james.mpt.host.ExternalHostSystem
 
setRfc(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setRfc822Size(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setRfcHeaders(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setRfcText(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setUid(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Fetch
 
setUidSearch(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
setUidSearch(boolean) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setUp() - Method in class org.apache.james.mpt.script.AbstractProtocolTestFramework
 
setUser(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
setVariable(String, String) - Method in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
Sets a substitution varaible.
setVerbose(boolean) - Method in class org.apache.james.mpt.monitor.SystemLoggingMonitor
 
shabang - Variable in class org.apache.james.mpt.session.ExternalSessionFactory
 
silent() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
simpleCombinedFetches(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
since(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
since(int, int, int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
SL(String, String) - Method in interface org.apache.james.mpt.api.ProtocolInteractor
adds a new Server Response line to the test elements, with the specified location.
SL(int, String, String, String) - Method in interface org.apache.james.mpt.api.ProtocolInteractor
adds a new Server Response line to the test elements, with the specified location.
SL(String, String) - Method in class org.apache.james.mpt.protocol.ProtocolSession
adds a new Server Response line to the test elements, with the specified location.
SL(int, String, String, String) - Method in class org.apache.james.mpt.protocol.ProtocolSession
adds a new Server Response line to the test elements, with the specified location.
smaller(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
smaller(int) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
start() - Method in interface org.apache.james.mpt.api.Session
Opens the session.
start() - Method in class org.apache.james.mpt.session.ExternalSession
 
stop() - Method in interface org.apache.james.mpt.api.Session
Closes the session.
stop() - Method in class org.apache.james.mpt.session.ExternalSession
 
store(ScriptBuilder.Flags) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
SUB(List<String>, String) - Method in interface org.apache.james.mpt.api.ProtocolInteractor
adds a new Server Unordered Block to the test elements.
SUB(int, List<String>, String, String) - Method in interface org.apache.james.mpt.api.ProtocolInteractor
adds a new Server Unordered Block to the test elements.
SUB(List<String>, String) - Method in class org.apache.james.mpt.protocol.ProtocolSession
adds a new Server Unordered Block to the test elements.
SUB(int, List<String>, String, String) - Method in class org.apache.james.mpt.protocol.ProtocolSession
adds a new Server Unordered Block to the test elements.
subject(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
subject(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
subtract() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Flags
 
supportedFeatures() - Method in class org.apache.james.mpt.api.ImapFeatures
 
supports(ImapFeatures.Feature...) - Method in class org.apache.james.mpt.api.ImapFeatures
 
supports(ImapFeatures.Feature...) - Method in interface org.apache.james.mpt.api.ImapHostSystem
 
supports(ImapFeatures.Feature...) - Method in class org.apache.james.mpt.host.ExternalHostSystem
 
SystemLoggingMonitor - Class in org.apache.james.mpt.monitor
Feeds monitored information to System.out.
SystemLoggingMonitor() - Constructor for class org.apache.james.mpt.monitor.SystemLoggingMonitor
 
SystemLoggingMonitor(boolean) - Constructor for class org.apache.james.mpt.monitor.SystemLoggingMonitor
 

T

tearDown() - Method in class org.apache.james.mpt.script.AbstractProtocolTestFramework
 
tearDown() - Method in class org.apache.james.mpt.script.AbstractSimpleScriptedTestProtocol
 
testElements - Variable in class org.apache.james.mpt.protocol.ProtocolSession
 
testElements - Variable in class org.apache.james.mpt.script.AbstractProtocolTestFramework
The Protocol session which contains the tests elements
text(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
text(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
textPartialFetch(ScriptBuilder) - Static method in class org.apache.james.mpt.helper.CreateScript
 
TIMER(ProtocolSession.TimerCommand, String) - Method in class org.apache.james.mpt.protocol.ProtocolSession
 
TIMER - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
to(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
to(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
toString() - Method in class org.apache.james.mpt.protocol.ProtocolSession
Constructs a String with all attributes in name = value format.
toString() - Method in class org.apache.james.mpt.Runner
Constructs a String with all attributes in name = value format.
toString() - Method in class org.apache.james.mpt.session.ExternalSession
Constructs a String with all attributes in name = value format.
toString() - Method in class org.apache.james.mpt.session.ExternalSessionFactory
Constructs a String with all attributes in name = value format.
toString() - Method in class org.apache.james.mpt.user.ScriptedUserAdder
Constructs a String with all attributes in name = value format.
trace(String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(Marker, String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(Marker, String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(Marker, String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(Marker, String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
trace(Marker, String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 

U

uid() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
uid() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
unanswered() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
unanswered() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
UNCOMMON_PHRASE - Static variable in class org.apache.james.mpt.helper.CreateScript
 
UNCOMMON_WORD - Static variable in class org.apache.james.mpt.helper.CreateScript
 
undeleted() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
undeleted() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
undraft() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
undraft() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
unflagged() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
unflagged() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
unkeyword(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
unkeyword(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
unseen() - Method in class org.apache.james.mpt.helper.ScriptBuilder.Search
 
unseen() - Method in class org.apache.james.mpt.helper.ScriptBuilder
 
UserAdder - Interface in org.apache.james.mpt.api
Adds users on demand.

V

valueOf(String) - Static method in enum org.apache.james.mpt.api.ImapFeatures.Feature
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.james.mpt.protocol.ProtocolSession.TimerCommand
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.james.mpt.api.ImapFeatures.Feature
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.james.mpt.protocol.ProtocolSession.TimerCommand
Returns an array containing the constants of this enum type, in the order they are declared.
VerboseConsoleLog - Class in org.apache.james.mpt.log
 
VerboseConsoleLog() - Constructor for class org.apache.james.mpt.log.VerboseConsoleLog
 

W

WAIT(int, long) - Method in class org.apache.james.mpt.protocol.ProtocolSession
adds a Wait condition
WAIT - Static variable in class org.apache.james.mpt.protocol.ProtocolSessionBuilder
 
warn(String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(Marker, String) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(Marker, String, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(Marker, String, Object, Object) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(Marker, String, Object[]) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
warn(Marker, String, Throwable) - Method in class org.apache.james.mpt.log.VerboseConsoleLog
 
WARN - Static variable in class org.apache.james.mpt.protocol.FileProtocolSessionBuilder
 
write(String) - Method in class org.apache.james.mpt.helper.ByteBufferOutputStream
 
write(int) - Method in class org.apache.james.mpt.helper.ByteBufferOutputStream
 
write(InputStream) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Client
 
write(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Client
 
writeLine(String) - Method in interface org.apache.james.mpt.api.Session
Writes a line to the session output.
writeLine(String) - Method in class org.apache.james.mpt.helper.ScriptBuilder.Client
 
writeLine(String) - Method in class org.apache.james.mpt.session.ExternalSession
 
A B C D E F G H I K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.