C# Class Habanero.Test.TestUsingDatabase

Inheritance: Habanero.Test.ArchitectureTest
Mostrar archivo Open project: Chillisoft/habanero Class Usage Examples

Protected Properties

Property Type Description
_objectsToDelete List

Public Methods

Method Description
CreateDatabaseConnection ( string vendor ) : IDatabaseConnection
DeleteObjects ( ) : void
DeleteObjects ( List objectsToDelete ) : void
SetupDBConnection ( string vendor = "" ) : void
SetupDBDataAccessor ( string vendor = "" ) : void
SetupDBOracleConnection ( ) : void
SetupTemporaryFirebirdDatabase ( ) : string[]
WriteOutFirebirdEmbeddedLibrariesToCurrentDirectory ( ) : List

Protected Methods

Method Description
AddObjectToDelete ( BusinessObject bo ) : void
WaitForDB ( ) : void
WaitForGC ( ) : void

Private Methods

Method Description
CreateFirebirdDatabaseConnection ( ) : DatabaseConnectionFirebird
CreateFirebirdEmbeddedConnectionStringFor ( string databaseFile ) : string
CreateRequiredFirebirdSchemaOn ( string databaseFile ) : void
CreateTableForCountTestOn ( IDbConnection connection ) : void
CreateTemporaryFirebirdDatabase ( ) : string
EnsureDatabaseMigrated ( DatabaseConfig databaseConfig ) : void
ExecuteNonQueryOn ( IDbConnection connection, string sql ) : void
SetupDatabaseConnection ( string vendor ) : void
TestConnection ( IDatabaseConnection databaseConnection ) : void

Method Details

AddObjectToDelete() protected static method

protected static AddObjectToDelete ( BusinessObject bo ) : void
bo BusinessObject
return void

CreateDatabaseConnection() public static method

public static CreateDatabaseConnection ( string vendor ) : IDatabaseConnection
vendor string
return IDatabaseConnection

DeleteObjects() public static method

public static DeleteObjects ( ) : void
return void

DeleteObjects() public static method

public static DeleteObjects ( List objectsToDelete ) : void
objectsToDelete List
return void

SetupDBConnection() public method

public SetupDBConnection ( string vendor = "" ) : void
vendor string
return void

SetupDBDataAccessor() public static method

public static SetupDBDataAccessor ( string vendor = "" ) : void
vendor string
return void

SetupDBOracleConnection() public static method

public static SetupDBOracleConnection ( ) : void
return void

SetupTemporaryFirebirdDatabase() public method

public SetupTemporaryFirebirdDatabase ( ) : string[]
return string[]

WaitForDB() protected static method

protected static WaitForDB ( ) : void
return void

WaitForGC() protected static method

protected static WaitForGC ( ) : void
return void

WriteOutFirebirdEmbeddedLibrariesToCurrentDirectory() public static method

public static WriteOutFirebirdEmbeddedLibrariesToCurrentDirectory ( ) : List
return List

Property Details

_objectsToDelete protected_oe static_oe property

protected static List _objectsToDelete
return List