public void SetUp() { FbDatabase.CreateDatabase(IntegrationTestOptions.Firebird.ConnectionString); _connection = new FbConnection(IntegrationTestOptions.Firebird.ConnectionString); _processor = MakeProcessor(); _connection.Open(); _processor.BeginTransaction(); }
public void SetUp() { FbDatabase.CreateDatabase(IntegrationTestOptions.Firebird.ConnectionString); _connection = new FbConnection(IntegrationTestOptions.Firebird.ConnectionString); _processor = MakeProcessor(); _connection.Open(); _processor.BeginTransaction(); }
public void SetUp() { FbDatabase.CreateDatabase(IntegrationTestOptions.Firebird.ConnectionString); Connection = new FbConnection(IntegrationTestOptions.Firebird.ConnectionString); var options = FirebirdOptions.AutoCommitBehaviour(); Processor = new FirebirdProcessor(Connection, new FirebirdGenerator(options), new TextWriterAnnouncer(System.Console.Out), new ProcessorOptions(), new FirebirdDbFactory(), options); Connection.Open(); Processor.BeginTransaction(); }
public void SetUp() { FbDatabase.CreateDatabase(IntegrationTestOptions.Firebird.ConnectionString); Connection = new FbConnection(IntegrationTestOptions.Firebird.ConnectionString); var options = FirebirdOptions.AutoCommitBehaviour(); Processor = new FirebirdProcessor(Connection, new FirebirdGenerator(options), new TextWriterAnnouncer(System.Console.Out), new ProcessorOptions(), new FirebirdDbFactory(), options); Connection.Open(); Processor.BeginTransaction(); }
public void SetUp() { if (!IntegrationTestOptions.Firebird.IsEnabled) { Assert.Ignore(); } _temporaryDatabase = new TemporaryDatabase( IntegrationTestOptions.Firebird, _prober); _connection = new FbConnection(_temporaryDatabase.ConnectionString); _processor = MakeProcessor(); _connection.Open(); _processor.BeginTransaction(); }
public void SetUp() { if (System.IO.File.Exists("fbtest.fdb")) { FbConnection.ClearAllPools(); FbConnection.DropDatabase(IntegrationTestOptions.Firebird.ConnectionString); } FbConnection.CreateDatabase(IntegrationTestOptions.Firebird.ConnectionString); _connection = new FbConnection(IntegrationTestOptions.Firebird.ConnectionString); _processor = MakeProcessor(); _connection.Open(); _processor.BeginTransaction(); }
public void SetUp() { if (System.IO.File.Exists("fbtest.fdb")) { FbConnection.ClearAllPools(); FbConnection.DropDatabase(IntegrationTestOptions.Firebird.ConnectionString); } FbConnection.CreateDatabase(IntegrationTestOptions.Firebird.ConnectionString); _connection = new FbConnection(IntegrationTestOptions.Firebird.ConnectionString); _processor = MakeProcessor(); _connection.Open(); _processor.BeginTransaction(); }
public void SetUp() { if (!IntegrationTestOptions.Firebird.IsEnabled) { Assert.Ignore(); } _temporaryDatabase = new TemporaryDatabase( IntegrationTestOptions.Firebird, _prober); Connection = new FbConnection(_temporaryDatabase.ConnectionString); var options = FirebirdOptions.AutoCommitBehaviour(); Processor = new FirebirdProcessor(Connection, new FirebirdGenerator(options), new TextWriterAnnouncer(TestContext.Out), new ProcessorOptions(), new FirebirdDbFactory(), options); Connection.Open(); Processor.BeginTransaction(); }