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

Datei anzeigen Open project: brunomlopes/dbdeploy.net

Protected Methods

Method Description
EnsureTableDoesNotExist ( string tableName ) : void

Ensures the table does not exist.

GetConnection ( ) : IDbConnection
InsertRowIntoTable ( int i ) : void

Private Methods

Method Description
ShouldNotThrowExceptionIfAllPreviousScriptsAreCompleted ( ) : void
TestCanRetrieveSchemaVersionFromDatabase ( ) : void
TestDoesNotRunSecondScriptIfFirstScriptFails ( ) : void
TestReturnsNoAppliedChangesWhenDatabaseTableDoesNotExist ( ) : void
TestShouldCreateChangeLogTableWhenToldToDoSo ( ) : void
TestShouldHandleCreatingChangeLogTableWithSchema ( ) : void
TestShouldReturnEmptySetWhenTableHasNoRows ( ) : void

Method Details

EnsureTableDoesNotExist() protected method

Ensures the table does not exist.
protected EnsureTableDoesNotExist ( string tableName ) : void
tableName string Name of the table.
return void

GetConnection() protected method

protected GetConnection ( ) : IDbConnection
return IDbConnection

InsertRowIntoTable() protected method

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