public void SetUp() { Factory = new Db2DbFactory(); Connection = Factory.CreateConnection(IntegrationTestOptions.Db2.ConnectionString); Quoter = new Db2Quoter(); Processor = new Db2Processor(Connection, new Db2Generator(), new TextWriterAnnouncer(System.Console.Out), new ProcessorOptions(), Factory); Connection.Open(); }
public void SetUp() { if (!IntegrationTestOptions.Db2.IsEnabled) { Assert.Ignore(); } Factory = new Db2DbFactory(); Connection = Factory.CreateConnection(IntegrationTestOptions.Db2.ConnectionString); Quoter = new Db2Quoter(); Processor = new Db2Processor(Connection, new Db2Generator(Quoter), new TextWriterAnnouncer(TestContext.Out), new ProcessorOptions(), Factory); Connection.Open(); }