org.apache.james.test.functional
Interface HostSystem


public interface HostSystem

Host system under test.


Nested Class Summary
static interface HostSystem.Continuation
           
static interface HostSystem.Session
           
 
Method Summary
 boolean addUser(java.lang.String user, java.lang.String password)
          Add a user for testing.
 HostSystem.Session newSession(HostSystem.Continuation continuation)
          Creates a new session for functional testing.
 void reset()
          Resets host system to initial state.
 

Method Detail

reset

void reset()
           throws java.lang.Exception
Resets host system to initial state.

Throws:
java.lang.Exception

addUser

boolean addUser(java.lang.String user,
                java.lang.String password)
                throws java.lang.Exception
Add a user for testing.

Parameters:
user - user name
password - user password
Throws:
java.lang.Exception

newSession

HostSystem.Session newSession(HostSystem.Continuation continuation)
                              throws java.lang.Exception
Creates a new session for functional testing.

Returns:
Session, not null
Throws:
java.lang.Exception


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