OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
OpenSim.Data.Tests.EstateTests< TConn, TEstateStore > Class Template Reference
Inheritance diagram for OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >:
Collaboration graph
[legend]

Public Member Functions

void T010_EstateSettingsSimpleStorage_MinimumParameterSet ()
 
void T011_EstateSettingsSimpleStorage_MaximumParameterSet ()
 
void T012_EstateSettingsSimpleStorage_AccurateParameterSet ()
 
void T012_EstateSettingsRandomStorage ()
 
void T020_EstateSettingsManagerList ()
 
void T021_EstateSettingsUserList ()
 
void T022_EstateSettingsGroupList ()
 
void T022_EstateSettingsBanList ()
 
- Public Member Functions inherited from OpenSim.Data.Tests.BasicDataServiceTest< TConn, TService >
 BasicDataServiceTest ()
 
 BasicDataServiceTest (string conn)
 
void Init ()
 
void Cleanup ()
 

Public Attributes

IEstateDataStore db
 

Static Public Attributes

static UUID REGION_ID = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed7")
 
static UUID USER_ID_1 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed1")
 
static UUID USER_ID_2 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed2")
 
static UUID MANAGER_ID_1 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed3")
 
static UUID MANAGER_ID_2 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed4")
 
static UUID GROUP_ID_1 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed5")
 
static UUID GROUP_ID_2 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed6")
 

Protected Member Functions

override void InitService (object service)
 To be overridden in derived classes. Do whatever init with the m_service, like setting the conn string to it. You'd probably want to to cast the 'service' to a more specific type and store it in a member var. This framework takes care of disposing it, if it's disposable. More...
 
- Protected Member Functions inherited from OpenSim.Data.Tests.BasicDataServiceTest< TConn, TService >
virtual DbConnection Connect ()
 
virtual void ExecuteSql (string sql)
 
delegate bool ProcessRow (IDataReader reader)
 
virtual int ExecQuery (string sql, bool bSingleRow, ProcessRow action)
 
virtual void DropTables (params string[] tables)
 Drop tables (listed as parameters). There is no "DROP IF EXISTS" syntax common for all databases, so we just DROP and ignore an exception. More...
 
virtual void ResetMigrations (params string[] stores)
 Clear tables listed as parameters (without dropping them). More...
 
virtual void ClearTables (params string[] tables)
 Clear tables listed as parameters (without dropping them). More...
 

Additional Inherited Members

- Protected Attributes inherited from OpenSim.Data.Tests.BasicDataServiceTest< TConn, TService >
string m_connStr
 
ILog m_log
 

Detailed Description

Type Constraints
TConn :DbConnection 
TConn :new() 
TEstateStore :class 
TEstateStore :IEstateDataStore 
TEstateStore :new() 

Definition at line 59 of file EstateTests.cs.

Member Function Documentation

override void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.InitService ( object  service)
inlineprotectedvirtual

To be overridden in derived classes. Do whatever init with the m_service, like setting the conn string to it. You'd probably want to to cast the 'service' to a more specific type and store it in a member var. This framework takes care of disposing it, if it's disposable.

Parameters
serviceThe service being tested

Reimplemented from OpenSim.Data.Tests.BasicDataServiceTest< TConn, TService >.

Definition at line 76 of file EstateTests.cs.

void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.T010_EstateSettingsSimpleStorage_MinimumParameterSet ( )
inline

Definition at line 100 of file EstateTests.cs.

void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.T011_EstateSettingsSimpleStorage_MaximumParameterSet ( )
inline

Definition at line 133 of file EstateTests.cs.

Here is the call graph for this function:

void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.T012_EstateSettingsRandomStorage ( )
inline

Definition at line 199 of file EstateTests.cs.

void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.T012_EstateSettingsSimpleStorage_AccurateParameterSet ( )
inline

Definition at line 166 of file EstateTests.cs.

Here is the call graph for this function:

void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.T020_EstateSettingsManagerList ( )
inline

Definition at line 220 of file EstateTests.cs.

void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.T021_EstateSettingsUserList ( )
inline

Definition at line 241 of file EstateTests.cs.

void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.T022_EstateSettingsBanList ( )
inline

Definition at line 283 of file EstateTests.cs.

void OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.T022_EstateSettingsGroupList ( )
inline

Definition at line 262 of file EstateTests.cs.

Member Data Documentation

IEstateDataStore OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.db

Definition at line 63 of file EstateTests.cs.

UUID OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.GROUP_ID_1 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed5")
static

Definition at line 73 of file EstateTests.cs.

UUID OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.GROUP_ID_2 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed6")
static

Definition at line 74 of file EstateTests.cs.

UUID OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.MANAGER_ID_1 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed3")
static

Definition at line 70 of file EstateTests.cs.

UUID OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.MANAGER_ID_2 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed4")
static

Definition at line 71 of file EstateTests.cs.

UUID OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.REGION_ID = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed7")
static

Definition at line 65 of file EstateTests.cs.

UUID OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.USER_ID_1 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed1")
static

Definition at line 67 of file EstateTests.cs.

UUID OpenSim.Data.Tests.EstateTests< TConn, TEstateStore >.USER_ID_2 = new UUID("250d214e-1c7e-4f9b-a488-87c5e53feed2")
static

Definition at line 68 of file EstateTests.cs.


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