Beispiel #1
0
 public static void TestInit(TestContext testContext)
 {
     ControlFlow.ClearSettings();
     TestHelper.RecreateDatabase(testContext);
     ControlFlow.CurrentDbConnection = new SqlConnectionManager(new ConnectionString(testContext.Properties["connectionString"].ToString()));
     CreateLogTablesTask.CreateLog();
 }
Beispiel #2
0
 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();
 }
Beispiel #4
0
 public void Dispose()
 {
     ControlFlow.ClearSettings();
 }
 public void Dispose()
 {
     DropTableTask.Drop(LoggingConnection, ControlFlow.LogTable);
     ControlFlow.ClearSettings();
     DataFlow.ClearSettings();
 }
Beispiel #6
0
 public DifferentLoggingDBTests(LoggingDatabaseFixture dbFixture, OtherDBFixture odbFixture)
 {
     ControlFlow.ClearSettings();
     ControlFlow.CurrentDbConnection = NoLogConnection;
     CreateLogTablesTask.CreateLog(LoggingConnection);
 }