TestUserDbAdapter Class Reference

Inheritance diagram for TestUserDbAdapter:

SerctlAdapter

List of all members.


Detailed Description

Abstract class.

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

Definition at line 25 of file TestUserDbAdapter.py.


Public Member Functions

def addTestUserToDb
 Add a new user into a sip database.
def removeTestUserFromDb
 Do test user cleanup.
def initUsersAdapter
 Initialize the connection to database.
def removeUsersAdapter
 Remove the connection to database.

Member Function Documentation

def addTestUserToDb (   self,
  user 
)

Add a new user into a sip database.

Parameters:
user the data needed to create a new user (testenv.core.TestUser)

Reimplemented in SerctlAdapter.

Definition at line 33 of file TestUserDbAdapter.py.

def removeTestUserFromDb (   self,
  user 
)

Do test user cleanup.

Therefore all allocated ressources are freed.

Steps to be done:

  • Remove test user from database
  • Remove create files
  • Empty test users list

Reimplemented in SerctlAdapter.

Definition at line 47 of file TestUserDbAdapter.py.

def initUsersAdapter (   self  ) 

Initialize the connection to database.

Reimplemented in SerctlAdapter.

Definition at line 55 of file TestUserDbAdapter.py.

def removeUsersAdapter (   self  ) 

Remove the connection to database.

Reimplemented in SerctlAdapter.

Definition at line 63 of file TestUserDbAdapter.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