org.apache.ldap.clients.ldaptest
Class TestConfiguration

java.lang.Object
  extended by org.apache.ldap.clients.ldaptest.TestConfiguration

public class TestConfiguration
extends java.lang.Object

This is the configuration for the LdapTester App. This will contain the sessions, test cases, and test runs.


Constructor Summary
TestConfiguration()
           
 
Method Summary
 void addSession(int index, LdapTestSession session)
           
 void addSession(LdapTestSession session)
           
 void addTestCase(int index, LdapTestCase session)
           
 void addTestCase(LdapTestCase session)
           
 LdapTestSession getSession(int index)
           
 int getSessionCount()
           
 LdapTestCase getTestCase(int index)
           
 int getTestCaseCount()
           
 void readConfig(java.lang.String fileName)
           
 void removeSession(int index)
           
 void removeTestCase(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestConfiguration

public TestConfiguration()
Method Detail

readConfig

public void readConfig(java.lang.String fileName)

getSessionCount

public int getSessionCount()

getSession

public LdapTestSession getSession(int index)

addSession

public void addSession(LdapTestSession session)

addSession

public void addSession(int index,
                       LdapTestSession session)

removeSession

public void removeSession(int index)

getTestCaseCount

public int getTestCaseCount()

getTestCase

public LdapTestCase getTestCase(int index)

addTestCase

public void addTestCase(LdapTestCase session)

addTestCase

public void addTestCase(int index,
                        LdapTestCase session)

removeTestCase

public void removeTestCase(int index)