public static void TestInit(TestContext testContext) { ControlFlow.ClearSettings(); TestHelper.RecreateDatabase(testContext); ControlFlow.CurrentDbConnection = new SqlConnectionManager(new ConnectionString(testContext.Properties["connectionString"].ToString())); CreateLogTablesTask.CreateLog(); }
public void Dispose() { RemoveLogTablesTask.Remove(Connection); ControlFlow.ClearSettings(); DataFlow.ClearSettings(); }
public void Dispose() { DropTableTask.Drop(SqlConnection, ControlFlow.LogTable); DropTableTask.Drop(SqlConnection, ControlFlow.LoadProcessTable); ControlFlow.ClearSettings(); }
public void Dispose() { ControlFlow.ClearSettings(); }
public void Dispose() { DropTableTask.Drop(LoggingConnection, ControlFlow.LogTable); ControlFlow.ClearSettings(); DataFlow.ClearSettings(); }
public DifferentLoggingDBTests(LoggingDatabaseFixture dbFixture, OtherDBFixture odbFixture) { ControlFlow.ClearSettings(); ControlFlow.CurrentDbConnection = NoLogConnection; CreateLogTablesTask.CreateLog(LoggingConnection); }