C# Class Net.Sf.Dbdeploy.Database.AbstractDatabaseSchemaVersionManagerTest

Datei anzeigen Open project: KnowtionDev/DbDeploy.Net

Protected Properties

Property Type Description
databaseSchemaVersion DatabaseSchemaVersionManager

Public Methods

Method Description
TestCanRetrieveDeltaFragmentFooterSql ( ) : void
TestCanRetrieveDeltaFragmentHeaderSql ( ) : void
TestCanRetrieveSchemaVersionFromDatabase ( ) : void
TestCanRetrieveUndoDeltaFragmentFooterSql ( ) : void
TestCanRetrieveUndoDeltaFragmentHeaderSql ( ) : void
TestCanSetChangeLogTableName ( ) : void
TestShouldReturnEmptySetWhenTableHasNoRows ( ) : void
TestThrowsWhenDatabaseTableDoesNotExist ( ) : void

Protected Methods

Method Description
CreateTable ( ) : void
EnsureTableDoesNotExist ( ) : void
ExecuteSql ( String sql ) : void
GetConnection ( ) : IDbConnection
InsertRowIntoTable ( int i ) : void

Private Methods

Method Description
SetUp ( ) : void

Method Details

CreateTable() protected abstract method

protected abstract CreateTable ( ) : void
return void

EnsureTableDoesNotExist() protected method

protected EnsureTableDoesNotExist ( ) : void
return void

ExecuteSql() protected method

protected ExecuteSql ( String sql ) : void
sql String
return void

GetConnection() protected abstract method

protected abstract GetConnection ( ) : IDbConnection
return IDbConnection

InsertRowIntoTable() protected abstract method

protected abstract InsertRowIntoTable ( int i ) : void
i int
return void

TestCanRetrieveDeltaFragmentFooterSql() public method

public TestCanRetrieveDeltaFragmentFooterSql ( ) : void
return void

TestCanRetrieveDeltaFragmentHeaderSql() public method

public TestCanRetrieveDeltaFragmentHeaderSql ( ) : void
return void

TestCanRetrieveSchemaVersionFromDatabase() public method

public TestCanRetrieveSchemaVersionFromDatabase ( ) : void
return void

TestCanRetrieveUndoDeltaFragmentFooterSql() public method

public TestCanRetrieveUndoDeltaFragmentFooterSql ( ) : void
return void

TestCanRetrieveUndoDeltaFragmentHeaderSql() public method

public TestCanRetrieveUndoDeltaFragmentHeaderSql ( ) : void
return void

TestCanSetChangeLogTableName() public method

public TestCanSetChangeLogTableName ( ) : void
return void

TestShouldReturnEmptySetWhenTableHasNoRows() public method

public TestShouldReturnEmptySetWhenTableHasNoRows ( ) : void
return void

TestThrowsWhenDatabaseTableDoesNotExist() public method

public TestThrowsWhenDatabaseTableDoesNotExist ( ) : void
return void

Property Details

databaseSchemaVersion protected_oe property

protected DatabaseSchemaVersionManager,Net.Sf.Dbdeploy.Database databaseSchemaVersion
return DatabaseSchemaVersionManager