Subversion Repository Public Repository

ConnectionOdbcSdk

Diff Revisions 19 vs 20 for /trunk/ConnectionServerOdbcIntegrationTests/IntegrationTests/ConnectionServerOdbcIntegrationTests.cs

Diff revisions: vs.
  @@ -23,7 +23,7 @@
23 23 public new static void MyClassInitialize(TestContext testContext)
24 24 {
25 25 BaseIntegrationTests.MyClassInitialize(testContext);
26 - Server.DatabaseFunctions.ErrorEvents += ServerOnErrorEvents;
26 + Server.DatabaseInterface.ErrorEvents += ServerOnErrorEvents;
27 27 }
28 28
29 29 private static void ServerOnErrorEvents(object sender, LogEventArgs logEventArgs)
  @@ -127,7 +127,7 @@
127 127 [TestMethod]
128 128 public void LoginLogoutTest()
129 129 {
130 - UnityConnectionServerOdbc oServer = new UnityConnectionServerOdbc(new UnityConnectionDatabaseFunctionsInformixAdoNet("Test"));
130 + UnityConnectionServerOdbc oServer = new UnityConnectionServerOdbc(new UnityConnectionDatabaseFunctions("Test"));
131 131 var res=oServer.LoginDatabaseBlocking(Server.DatabaseServerName,Server.DatabaseLoginName, Server.DatabaseLoginPassword);
132 132 Assert.IsTrue(res.Successful,"Failed to log in to second instance of server:"+res);
133 133
  @@ -169,7 +169,7 @@
169 169 public void FillDataTableBlocking_InvalidQuery()
170 170 {
171 171 DataTable oTable;
172 - var res = Server.DatabaseFunctions.FillDataTableBlocking("invalid query string", out oTable);
172 + var res = Server.DatabaseInterface.FillDataTableBlocking("invalid query string", out oTable);
173 173 Assert.IsFalse(res.Successful, "FillDataTableBlocking call should fail with invalid query");
174 174 }
175 175