From e9963515cdc2519a298b03284bc5ca45229ce414 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Mon, 25 Jan 2021 14:35:36 +0100 Subject: [PATCH 1/5] Write Exception to Event Log --- utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs | 58 ++++--- utPLSQL.Api/utPLSQL.Api/TestRunner.cs | 141 ++++++++++++------ 2 files changed, 134 insertions(+), 65 deletions(-) diff --git a/utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs b/utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs index 4267865..0490d2f 100644 --- a/utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs +++ b/utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Data; +using System.Diagnostics; using System.IO; using System.Threading.Tasks; using System.Xml.Serialization; @@ -15,14 +16,25 @@ public class RealTimeTestRunner : TestRunner<@event> { public override async Task RunTestsAsync(List paths, Action<@event> consumer) { - if (paths != null && paths.Count > 0) + try { - var realtimeReporterId = Guid.NewGuid().ToString().Replace("-", ""); + if (paths != null && paths.Count > 0) + { + var realtimeReporterId = Guid.NewGuid().ToString().Replace("-", ""); - var taskRun = Task.Run(() => UtRun(realtimeReporterId, paths)); - var taskConsume = Task.Run(() => ConsumeResult(realtimeReporterId, consumer)); + var taskRun = Task.Run(() => UtRun(realtimeReporterId, paths)); + var taskConsume = Task.Run(() => ConsumeResult(realtimeReporterId, consumer)); - await Task.WhenAll(taskRun, taskConsume); + await Task.WhenAll(taskRun, taskConsume); + } + } + catch (Exception e) + { + using (EventLog eventLog = new EventLog("Application")) + { + eventLog.Source = "Application"; + eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); + } } } @@ -33,21 +45,33 @@ public override async Task RunTestsAsync(string path, Action<@event> consumer) public override async Task RunTestsWithCoverageAsync(List paths, Action<@event> consumer, List coverageSchemas = null, List includeObjects = null, List excludeObjects = null) { - if (paths != null && paths.Count > 0) + try { - var realtimeReporterId = Guid.NewGuid().ToString().Replace("-", ""); - var coverageReporterId = Guid.NewGuid().ToString().Replace("-", ""); - - var taskRun = Task.Run(() => UtRunWithCoverage(realtimeReporterId, coverageReporterId, paths, coverageSchemas, includeObjects, excludeObjects)); - var taskConsume = Task.Run(() => ConsumeResult(realtimeReporterId, consumer)); - var taskCoverageReport = Task.Run(() => GetCoverageReport(coverageReporterId)); - - await Task.WhenAll(taskRun, taskConsume, taskCoverageReport); - - return taskCoverageReport.Result; + if (paths != null && paths.Count > 0) + { + var realtimeReporterId = Guid.NewGuid().ToString().Replace("-", ""); + var coverageReporterId = Guid.NewGuid().ToString().Replace("-", ""); + + var taskRun = Task.Run(() => UtRunWithCoverage(realtimeReporterId, coverageReporterId, paths, coverageSchemas, includeObjects, excludeObjects)); + var taskConsume = Task.Run(() => ConsumeResult(realtimeReporterId, consumer)); + var taskCoverageReport = Task.Run(() => GetCoverageReport(coverageReporterId)); + + await Task.WhenAll(taskRun, taskConsume, taskCoverageReport); + + return taskCoverageReport.Result; + } + else + { + return null; + } } - else + catch (Exception e) { + using (EventLog eventLog = new EventLog("Application")) + { + eventLog.Source = "Application"; + eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); + } return null; } } diff --git a/utPLSQL.Api/utPLSQL.Api/TestRunner.cs b/utPLSQL.Api/utPLSQL.Api/TestRunner.cs index 2dc8cc8..f90a2c1 100644 --- a/utPLSQL.Api/utPLSQL.Api/TestRunner.cs +++ b/utPLSQL.Api/utPLSQL.Api/TestRunner.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Data; +using System.Diagnostics; using System.Text; using System.Threading.Tasks; @@ -28,28 +29,39 @@ public abstract class TestRunner /// Connect as public void Connect(string username, string password, string database, string connectAs = null) { - string connectionString; - if (string.IsNullOrEmpty(connectAs)) + try { - connectionString = $"User Id={username};Password={password};Data Source={database}"; - } - else - { - connectionString = $"User Id={username};DBA Privilege={connectAs};Password={password};Data Source={database}"; - } + string connectionString; + if (string.IsNullOrEmpty(connectAs)) + { + connectionString = $"User Id={username};Password={password};Data Source={database}"; + } + else + { + connectionString = $"User Id={username};DBA Privilege={connectAs};Password={password};Data Source={database}"; + } - foreach (var command in runningCommands) - { - command.Cancel(); - } + foreach (var command in runningCommands) + { + command.Cancel(); + } - produceConnection = new OracleConnection(connectionString); - produceConnection.Open(); + produceConnection = new OracleConnection(connectionString); + produceConnection.Open(); - consumeConnection = new OracleConnection(connectionString); - consumeConnection.Open(); + consumeConnection = new OracleConnection(connectionString); + consumeConnection.Open(); + } + catch (Exception e) + { + using (EventLog eventLog = new EventLog("Application")) + { + eventLog.Source = "Application"; + eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); + } + } } - + /// /// Closes both connections /// @@ -62,11 +74,17 @@ public void Close() if (produceConnection != null) { - try { - produceConnection.Close(); + try + { + produceConnection.Close(); } - catch + catch (Exception e) { + using (EventLog eventLog = new EventLog("Application")) + { + eventLog.Source = "Application"; + eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); + } } } if (consumeConnection != null) @@ -75,8 +93,13 @@ public void Close() { consumeConnection.Close(); } - catch + catch (Exception e) { + using (EventLog eventLog = new EventLog("Application")) + { + eventLog.Source = "Application"; + eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); + } } } } @@ -87,20 +110,31 @@ public void Close() /// Version as string public string GetVersion() { - var cmd = new OracleCommand("select ut.version() from dual", produceConnection); - runningCommands.Add(cmd); + try + { + var cmd = new OracleCommand("select ut.version() from dual", produceConnection); + runningCommands.Add(cmd); - var reader = cmd.ExecuteReader(); - reader.Read(); + var reader = cmd.ExecuteReader(); + reader.Read(); - var version = reader.GetString(0); + var version = reader.GetString(0); - reader.Close(); + reader.Close(); - runningCommands.Remove(cmd); - cmd.Dispose(); + runningCommands.Remove(cmd); + cmd.Dispose(); - return version; + return version; + } + catch (Exception e) + { + using (EventLog eventLog = new EventLog("Application")) + { + eventLog.Source = "Application"; + eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); + } + } } /// @@ -141,38 +175,49 @@ public string GetVersion() protected string GetCoverageReport(string id) { - var sb = new StringBuilder(); + try + { + var sb = new StringBuilder(); - var proc = @"DECLARE + var proc = @"DECLARE l_reporter ut_coverage_html_reporter := ut_coverage_html_reporter(); BEGIN l_reporter.set_reporter_id(:id); :lines_cursor := l_reporter.get_lines_cursor(); END;"; - var cmd = new OracleCommand(proc, consumeConnection); - runningCommands.Add(cmd); + var cmd = new OracleCommand(proc, consumeConnection); + runningCommands.Add(cmd); - cmd.Parameters.Add("id", OracleDbType.Varchar2, ParameterDirection.Input).Value = id; - cmd.Parameters.Add("lines_cursor", OracleDbType.RefCursor, ParameterDirection.Output); + cmd.Parameters.Add("id", OracleDbType.Varchar2, ParameterDirection.Input).Value = id; + cmd.Parameters.Add("lines_cursor", OracleDbType.RefCursor, ParameterDirection.Output); - // https://stackoverflow.com/questions/2226769/bad-performance-with-oracledatareader - cmd.InitialLOBFetchSize = -1; + // https://stackoverflow.com/questions/2226769/bad-performance-with-oracledatareader + cmd.InitialLOBFetchSize = -1; - var reader = cmd.ExecuteReader(); + var reader = cmd.ExecuteReader(); - while (reader.Read()) - { - var line = reader.GetString(0); - sb.Append(line); - } + while (reader.Read()) + { + var line = reader.GetString(0); + sb.Append(line); + } - reader.Close(); + reader.Close(); - runningCommands.Remove(cmd); - cmd.Dispose(); + runningCommands.Remove(cmd); + cmd.Dispose(); - return sb.ToString(); + return sb.ToString(); + } + catch (Exception e) + { + using (EventLog eventLog = new EventLog("Application")) + { + eventLog.Source = "Application"; + eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); + } + } } protected string ConvertToUtVarchar2List(List elements) From a71be5acb7c9e595906922c33879a007153e3445 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Mon, 25 Jan 2021 14:38:23 +0100 Subject: [PATCH 2/5] New Version --- utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs | 4 ++-- utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs | 4 ++-- utPLSQL.Api/utPLSQL.Api/TestRunner.cs | 2 ++ utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs b/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs index e9ee17e..eeea47b 100644 --- a/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs +++ b/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.5.4.0")] -[assembly: AssemblyFileVersion("1.5.4.0")] +[assembly: AssemblyVersion("1.5.5.0")] +[assembly: AssemblyFileVersion("1.5.5.0")] diff --git a/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs b/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs index 0b1de9c..00e0a9f 100644 --- a/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs +++ b/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.5.4.0")] -[assembly: AssemblyFileVersion("1.5.4.0")] +[assembly: AssemblyVersion("1.5.5.0")] +[assembly: AssemblyFileVersion("1.5.5.0")] diff --git a/utPLSQL.Api/utPLSQL.Api/TestRunner.cs b/utPLSQL.Api/utPLSQL.Api/TestRunner.cs index f90a2c1..d0e3615 100644 --- a/utPLSQL.Api/utPLSQL.Api/TestRunner.cs +++ b/utPLSQL.Api/utPLSQL.Api/TestRunner.cs @@ -134,6 +134,7 @@ public string GetVersion() eventLog.Source = "Application"; eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); } + return null; } } @@ -217,6 +218,7 @@ protected string GetCoverageReport(string id) eventLog.Source = "Application"; eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); } + return null; } } diff --git a/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec b/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec index 8e3e340..c5b6994 100644 --- a/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec +++ b/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec @@ -2,7 +2,7 @@ utPLSQL.Api - 1.5.4 + 1.5.5 utPLSQL API Simon Martinelli false @@ -10,7 +10,7 @@ https://github.com/utPLSQL/utPLSQL-dotnet-api images/blue-icon-transparent.png .NET API for utPLSQL - Cancel running commands when closing + Log exceptions to event log Copyright © 2021 utPLSQL From 1d4b369a0093d98cc41b26d0a477720e20e4b986 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Mon, 25 Jan 2021 14:57:16 +0100 Subject: [PATCH 3/5] Removed catch all --- utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs | 58 ++++++------------- utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec | 4 +- 2 files changed, 19 insertions(+), 43 deletions(-) diff --git a/utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs b/utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs index 0490d2f..4267865 100644 --- a/utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs +++ b/utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Data; -using System.Diagnostics; using System.IO; using System.Threading.Tasks; using System.Xml.Serialization; @@ -16,25 +15,14 @@ public class RealTimeTestRunner : TestRunner<@event> { public override async Task RunTestsAsync(List paths, Action<@event> consumer) { - try + if (paths != null && paths.Count > 0) { - if (paths != null && paths.Count > 0) - { - var realtimeReporterId = Guid.NewGuid().ToString().Replace("-", ""); + var realtimeReporterId = Guid.NewGuid().ToString().Replace("-", ""); - var taskRun = Task.Run(() => UtRun(realtimeReporterId, paths)); - var taskConsume = Task.Run(() => ConsumeResult(realtimeReporterId, consumer)); + var taskRun = Task.Run(() => UtRun(realtimeReporterId, paths)); + var taskConsume = Task.Run(() => ConsumeResult(realtimeReporterId, consumer)); - await Task.WhenAll(taskRun, taskConsume); - } - } - catch (Exception e) - { - using (EventLog eventLog = new EventLog("Application")) - { - eventLog.Source = "Application"; - eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); - } + await Task.WhenAll(taskRun, taskConsume); } } @@ -45,33 +33,21 @@ public override async Task RunTestsAsync(string path, Action<@event> consumer) public override async Task RunTestsWithCoverageAsync(List paths, Action<@event> consumer, List coverageSchemas = null, List includeObjects = null, List excludeObjects = null) { - try + if (paths != null && paths.Count > 0) { - if (paths != null && paths.Count > 0) - { - var realtimeReporterId = Guid.NewGuid().ToString().Replace("-", ""); - var coverageReporterId = Guid.NewGuid().ToString().Replace("-", ""); - - var taskRun = Task.Run(() => UtRunWithCoverage(realtimeReporterId, coverageReporterId, paths, coverageSchemas, includeObjects, excludeObjects)); - var taskConsume = Task.Run(() => ConsumeResult(realtimeReporterId, consumer)); - var taskCoverageReport = Task.Run(() => GetCoverageReport(coverageReporterId)); - - await Task.WhenAll(taskRun, taskConsume, taskCoverageReport); - - return taskCoverageReport.Result; - } - else - { - return null; - } + var realtimeReporterId = Guid.NewGuid().ToString().Replace("-", ""); + var coverageReporterId = Guid.NewGuid().ToString().Replace("-", ""); + + var taskRun = Task.Run(() => UtRunWithCoverage(realtimeReporterId, coverageReporterId, paths, coverageSchemas, includeObjects, excludeObjects)); + var taskConsume = Task.Run(() => ConsumeResult(realtimeReporterId, consumer)); + var taskCoverageReport = Task.Run(() => GetCoverageReport(coverageReporterId)); + + await Task.WhenAll(taskRun, taskConsume, taskCoverageReport); + + return taskCoverageReport.Result; } - catch (Exception e) + else { - using (EventLog eventLog = new EventLog("Application")) - { - eventLog.Source = "Application"; - eventLog.WriteEntry($"{e.Message}\r\n{e.StackTrace}", EventLogEntryType.Error); - } return null; } } diff --git a/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec b/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec index c5b6994..0805495 100644 --- a/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec +++ b/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.nuspec @@ -2,7 +2,7 @@ utPLSQL.Api - 1.5.5 + 1.5.6 utPLSQL API Simon Martinelli false @@ -10,7 +10,7 @@ https://github.com/utPLSQL/utPLSQL-dotnet-api images/blue-icon-transparent.png .NET API for utPLSQL - Log exceptions to event log + Log exceptions removed Copyright © 2021 utPLSQL From 46ab2621634e713d2f26a582d5bcfa5097927bdc Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Mon, 25 Jan 2021 14:58:41 +0100 Subject: [PATCH 4/5] New version --- utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs | 4 ++-- utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs b/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs index eeea47b..3cacaac 100644 --- a/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs +++ b/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.5.5.0")] -[assembly: AssemblyFileVersion("1.5.5.0")] +[assembly: AssemblyVersion("1.5.6.0")] +[assembly: AssemblyFileVersion("1.5.6.0")] diff --git a/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs b/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs index 00e0a9f..c267bbe 100644 --- a/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs +++ b/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.5.5.0")] -[assembly: AssemblyFileVersion("1.5.5.0")] +[assembly: AssemblyVersion("1.5.6.0")] +[assembly: AssemblyFileVersion("1.5.6.0")] From 5a6ddce2030cb886ba2669686396377c35d5dc64 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Thu, 16 Dec 2021 17:24:38 +0100 Subject: [PATCH 5/5] Updated version to align with utPLSQL versioning schema. Changed tests to new test user. --- utPLSQL.Api/utPLSQL.Api.Test/App.config | 10 ++++------ .../Properties/AssemblyInfo.cs | 4 ++-- .../RealTimeTestRunnerTest.cs | 20 +++++++++---------- .../utPLSQL.Api.Test/utPLSQL.Api.Test.csproj | 10 ++-------- utPLSQL.Api/utPLSQL.Api/App.config | 2 +- .../utPLSQL.Api/Properties/AssemblyInfo.cs | 4 ++-- utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.csproj | 2 +- 7 files changed, 22 insertions(+), 30 deletions(-) diff --git a/utPLSQL.Api/utPLSQL.Api.Test/App.config b/utPLSQL.Api/utPLSQL.Api.Test/App.config index d4ec22d..7b54b1e 100644 --- a/utPLSQL.Api/utPLSQL.Api.Test/App.config +++ b/utPLSQL.Api/utPLSQL.Api.Test/App.config @@ -1,14 +1,12 @@ - + -
+
- + @@ -27,4 +25,4 @@ - \ No newline at end of file + diff --git a/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs b/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs index 3cacaac..251f4f9 100644 --- a/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs +++ b/utPLSQL.Api/utPLSQL.Api.Test/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.5.6.0")] -[assembly: AssemblyFileVersion("1.5.6.0")] +[assembly: AssemblyVersion("3.1.6")] +[assembly: AssemblyFileVersion("3.1.6")] diff --git a/utPLSQL.Api/utPLSQL.Api.Test/RealTimeTestRunnerTest.cs b/utPLSQL.Api/utPLSQL.Api.Test/RealTimeTestRunnerTest.cs index ad2e522..54a659a 100644 --- a/utPLSQL.Api/utPLSQL.Api.Test/RealTimeTestRunnerTest.cs +++ b/utPLSQL.Api/utPLSQL.Api.Test/RealTimeTestRunnerTest.cs @@ -10,9 +10,9 @@ namespace utPLSQL [TestClass] public class RealTimeTestRunnerTest { - const string username = "ut3_tester"; - const string password = "ut3"; - const string database = "xepdb1"; + const string username = "TESTS_OWNER"; + const string password = "pass"; + const string database = "XE"; [TestMethod] public async Task TestRunTests() @@ -22,7 +22,7 @@ public async Task TestRunTests() testRunner.Connect(username, password, database); var events = new List<@event>(); - await testRunner.RunTestsAsync("ut3_tester.test_ut_test", @event => + await testRunner.RunTestsAsync("TESTS_OWNER.TEST_PKG_TEST_ME", @event => { events.Add(@event); }); @@ -42,7 +42,7 @@ public async Task TestConnectAs() try { - await testRunner.RunTestsAsync("ut3_tester.test_ut_test", @event => { }); + await testRunner.RunTestsAsync("TESTS_OWNER.TEST_PKG_TEST_ME", @event => { }); Assert.Fail(); } @@ -63,8 +63,8 @@ public async Task TestRunTestsWithCoverage() var events = new List<@event>(); - string report = await testRunner.RunTestsWithCoverageAsync(path: "ut3_tester.test_ut_test", consumer: @event => { events.Add(@event); }, - coverageSchema: "ut3_develop", includeObjects: new List() { "ut_test" }); + string report = await testRunner.RunTestsWithCoverageAsync(path: "TESTS_OWNER.TEST_PKG_TEST_ME", consumer: @event => { events.Add(@event); }, + coverageSchema: "CODE_OWNER", includeObjects: new List() { "PKG_TEST_ME" }); Logger.LogMessage(report); Assert.AreEqual("pre-run", events[0].type); @@ -95,13 +95,13 @@ public async Task TestRunTestsTwoTimes() testRunner.Connect(username, password, database); var events1 = new List<@event>(); - Task task1 = testRunner.RunTestsAsync("ut3_tester.test_ut_test", @event => + Task task1 = testRunner.RunTestsAsync("TESTS_OWNER.TEST_PKG_TEST_ME", @event => { events1.Add(@event); }); var events2 = new List<@event>(); - Task task2 = testRunner.RunTestsAsync("ut3_tester.test_ut_test", @event => + Task task2 = testRunner.RunTestsAsync("TESTS_OWNER.TEST_PKG_TEST_ME", @event => { events2.Add(@event); }); @@ -120,7 +120,7 @@ public void TestGetVersion() var version = testRunner.GetVersion(); - Assert.AreEqual("v3.1.11.3469-develop", version); + Assert.AreEqual("v3.1.11.3559", version); testRunner.Close(); } diff --git a/utPLSQL.Api/utPLSQL.Api.Test/utPLSQL.Api.Test.csproj b/utPLSQL.Api/utPLSQL.Api.Test/utPLSQL.Api.Test.csproj index 8b28715..d2e4ba0 100644 --- a/utPLSQL.Api/utPLSQL.Api.Test/utPLSQL.Api.Test.csproj +++ b/utPLSQL.Api/utPLSQL.Api.Test/utPLSQL.Api.Test.csproj @@ -10,7 +10,7 @@ Properties utPLSQL.Api.Test utPLSQL.Api.Test - v4.7.2 + v4.8 512 {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 15.0 @@ -20,6 +20,7 @@ UnitTest + true @@ -68,12 +69,5 @@ - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - \ No newline at end of file diff --git a/utPLSQL.Api/utPLSQL.Api/App.config b/utPLSQL.Api/utPLSQL.Api/App.config index 292458b..7b54b1e 100644 --- a/utPLSQL.Api/utPLSQL.Api/App.config +++ b/utPLSQL.Api/utPLSQL.Api/App.config @@ -25,4 +25,4 @@ - + diff --git a/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs b/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs index c267bbe..1dee011 100644 --- a/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs +++ b/utPLSQL.Api/utPLSQL.Api/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.5.6.0")] -[assembly: AssemblyFileVersion("1.5.6.0")] +[assembly: AssemblyVersion("3.1.6")] +[assembly: AssemblyFileVersion("3.1.6")] diff --git a/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.csproj b/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.csproj index ec357f9..9ec956c 100644 --- a/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.csproj +++ b/utPLSQL.Api/utPLSQL.Api/utPLSQL.Api.csproj @@ -9,7 +9,7 @@ Properties utPLSQL.Api utPLSQL.Api - v4.5 + v4.8 512 true pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy