TestSetupManager Class Reference

List of all members.


Detailed Description

Class to manage the configuration.

This class is supposed to provide an interface

Author:
Enrico Hartung <enrico@iptel.org>
License:
GPL

Definition at line 40 of file TestSetupManager.py.


Public Member Functions

def __init__
 Constructor.
def addService
 Add a new service.
def deleteService
 Delete the service.
def configure
 Configure the setup.
def removeConfiguration
 Remove the configuration.

Static Private Attributes

 __dbAdapter = None

Member Function Documentation

def __init__ (   self,
  dbAdapter = "",
  args = None 
)

Constructor.

Load the database adapter that is given by name.

Parameters:
dbAdapter the name of the database adapter that should be used (string)
args arguments to initialize db adapter (dict)

Definition at line 53 of file TestSetupManager.py.

def addService (   self,
  service 
)

Add a new service.

The function is called after configure in order to init setupAdapter

Parameters:
service contains the description of the service (testenv.core.TestService)

Definition at line 97 of file TestSetupManager.py.

def deleteService (   self,
  service 
)

Delete the service.

The function is called after configure in order to init setupAdapter

Parameters:
service contains the description of the service (testenv.core.TestService)

Definition at line 109 of file TestSetupManager.py.

def configure (   self,
  setup 
)

Configure the setup.

Parameters:
setup contains the attributes of the configuration (testenv.core.TestSetup)

Definition at line 121 of file TestSetupManager.py.

def removeConfiguration (   self,
  setup 
)

Remove the configuration.

Parameters:
setup contains the attributes of the configuration (testenv.core.TestSetup)

Definition at line 137 of file TestSetupManager.py.


Member Data Documentation

__dbAdapter = None [static, private]

Definition at line 41 of file TestSetupManager.py.


The documentation for this class was generated from the following file:

Generated on Mon Aug 11 17:28:33 2008 for TestEnv by  doxygen 1.5.5