|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HostSystem
Host system under test.
This interface encapsulates the interaction between the server under test and the test framework. MPT can be used to test components without the need to serve the protocol though a socket by creating a suitable implementation of this interface.
ExternalHostSystem (a HostSystem
for servers
running independently)
,
Session (supports multiple connection to the host system)
Nested Class Summary | |
---|---|
static interface |
HostSystem.Continuation
|
Method Summary | |
---|---|
void |
addUser(java.lang.String user,
java.lang.String password)
Add a user for testing. |
void |
reset()
Resets host system to initial state. |
Methods inherited from interface org.apache.james.mpt.SessionFactory |
---|
newSession |
Method Detail |
---|
void reset() throws java.lang.Exception
java.lang.Exception
void addUser(java.lang.String user, java.lang.String password) throws java.lang.Exception
user
- user namepassword
- user password
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |