示例#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();
 }
示例#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();
 }
示例#4
0
 public void Dispose()
 {
     ControlFlow.ClearSettings();
 }
 public void Dispose()
 {
     DropTableTask.Drop(LoggingConnection, ControlFlow.LogTable);
     ControlFlow.ClearSettings();
     DataFlow.ClearSettings();
 }
示例#6
0
 public DifferentLoggingDBTests(LoggingDatabaseFixture dbFixture, OtherDBFixture odbFixture)
 {
     ControlFlow.ClearSettings();
     ControlFlow.CurrentDbConnection = NoLogConnection;
     CreateLogTablesTask.CreateLog(LoggingConnection);
 }