public void TestGetVersion() { var testRunner = new RealTimeTestRunner(); testRunner.Connect(username, password, database); var version = testRunner.GetVersion(); Assert.AreEqual("v3.1.11.3559", version); testRunner.Close(); }
// [TestMethod] Disabled public void TestGetVersionWhenNotInstalled() { var testRunner = new RealTimeTestRunner(); testRunner.Connect(username, password, database); try { var version = testRunner.GetVersion(); Assert.Fail(); } catch (OracleException e) { Assert.AreEqual("ORA-00904: \"UT\".\"VERSION\": ungültige ID", e.Message); testRunner.Close(); } }