From 5b3ea9d5273aacee9493411e4a1d52fc431f269d Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Tue, 3 Jun 2025 12:20:01 -0700 Subject: [PATCH] Infineon.EAF.Runtime v2.60.0 --- .../Shared/ProcessDataStandardFormat.cs | 1 + .../Production/v2.59.0/HGCV1.cs | 2 +- .../Production/v2.59.0/HGCV2.cs | 2 +- .../Production/v2.59.0/HGCV3.cs | 2 +- .../Production/v2.59.0/MET08RESIHGCV.cs | 2 +- .../Production/v2.60.0/HGCV1.cs | 65 ++++++ .../Production/v2.60.0/HGCV2.cs | 65 ++++++ .../Production/v2.60.0/HGCV3.cs | 65 ++++++ .../Production/v2.60.0/MET08RESIHGCV.cs | 195 +++++++++++++++++ .../Extract/Production/v2.59.0/HGCV1.cs | 2 +- .../Extract/Production/v2.59.0/HGCV2.cs | 2 +- .../Extract/Production/v2.59.0/HGCV3.cs | 2 +- .../Production/v2.59.0/MET08RESIHGCV.cs | 2 +- .../Extract/Production/v2.60.0/HGCV1.cs | 59 ++++++ .../Extract/Production/v2.60.0/HGCV2.cs | 59 ++++++ .../Extract/Production/v2.60.0/HGCV3.cs | 111 ++++++++++ .../Production/v2.60.0/MET08RESIHGCV.cs | 200 ++++++++++++++++++ Adaptation/_Tests/Static/MET08RESIHGCV.cs | 2 +- Adaptation/_Tests/Static/pcl.cs | 6 +- MET08RESIHGCV.csproj | 4 +- Properties/AssemblyInfo.cs | 4 +- 21 files changed, 836 insertions(+), 16 deletions(-) create mode 100644 Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV1.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV2.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV3.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/MET08RESIHGCV.cs create mode 100644 Adaptation/_Tests/Extract/Production/v2.60.0/HGCV1.cs create mode 100644 Adaptation/_Tests/Extract/Production/v2.60.0/HGCV2.cs create mode 100644 Adaptation/_Tests/Extract/Production/v2.60.0/HGCV3.cs create mode 100644 Adaptation/_Tests/Extract/Production/v2.60.0/MET08RESIHGCV.cs diff --git a/Adaptation/Shared/ProcessDataStandardFormat.cs b/Adaptation/Shared/ProcessDataStandardFormat.cs index 113ba5f..a86241d 100644 --- a/Adaptation/Shared/ProcessDataStandardFormat.cs +++ b/Adaptation/Shared/ProcessDataStandardFormat.cs @@ -462,6 +462,7 @@ internal class ProcessDataStandardFormat results.Add(string.Empty); List hyphens = new(); results.AddRange(processDataStandardFormat.InputPDSF.Header.Select(l => l.Replace('\t', '|'))); + results.Add(string.Empty); results.Add($"|{string.Join("|", processDataStandardFormat.InputPDSF.Columns)}|"); for (int i = 0; i < processDataStandardFormat.InputPDSF.Columns.Count; i++) hyphens.Add('-'); diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV1.cs index d329b08..f45a6a9 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV1.cs @@ -1,4 +1,4 @@ -#if true +#if v2_59_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV2.cs index b5fbf67..62b6388 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV2.cs @@ -1,4 +1,4 @@ -#if true +#if v2_59_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV3.cs index 2f17ee7..a468a37 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/HGCV3.cs @@ -1,4 +1,4 @@ -#if true +#if v2_59_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/MET08RESIHGCV.cs index 5af4c99..2bd309c 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.59.0/MET08RESIHGCV.cs @@ -1,4 +1,4 @@ -#if true +#if v2_59_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV1.cs new file mode 100644 index 0000000..6e43ecd --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV1.cs @@ -0,0 +1,65 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Production.v2_60_0; + +[TestClass] +public class HGCV1 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static HGCV1 EAFLoggingUnitTesting { get; private set; } + + static HGCV1() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public HGCV1() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public HGCV1(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new HGCV1(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV1__pcl() + { + string check = "*.pcl"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV2.cs new file mode 100644 index 0000000..1e0b51d --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV2.cs @@ -0,0 +1,65 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Production.v2_60_0; + +[TestClass] +public class HGCV2 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static HGCV2 EAFLoggingUnitTesting { get; private set; } + + static HGCV2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public HGCV2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public HGCV2(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new HGCV2(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV2__pcl() + { + string check = "*.pcl"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV3.cs new file mode 100644 index 0000000..d1d2c65 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/HGCV3.cs @@ -0,0 +1,65 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Production.v2_60_0; + +[TestClass] +public class HGCV3 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static HGCV3 EAFLoggingUnitTesting { get; private set; } + + static HGCV3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public HGCV3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public HGCV3(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new HGCV3(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV3__pcl() + { + string check = "*.pcl"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/MET08RESIHGCV.cs new file mode 100644 index 0000000..b71bc61 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/MET08RESIHGCV.cs @@ -0,0 +1,195 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Production.v2_60_0; + +[TestClass] +public class MET08RESIHGCV : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MET08RESIHGCV EAFLoggingUnitTesting { get; private set; } + + static MET08RESIHGCV() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public MET08RESIHGCV() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MET08RESIHGCV(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MET08RESIHGCV(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__MoveMatchingFiles() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewer() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__IQSSi() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsight() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__APC() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__SPaCe() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__Processed() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__Archive() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__Dummy() + { + string check = "638417860100000000.zip"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__InterceptIQS() + { + string check = "HgCV_Unload_Res_9Points*.txt"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV1.cs b/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV1.cs index 6208fb2..7513e28 100644 --- a/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV1.cs +++ b/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV1.cs @@ -1,4 +1,4 @@ -#if true +#if v2_59_0 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; diff --git a/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV2.cs b/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV2.cs index 6fdb085..e9842c2 100644 --- a/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV2.cs +++ b/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV2.cs @@ -1,4 +1,4 @@ -#if true +#if v2_59_0 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; diff --git a/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV3.cs b/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV3.cs index bb7e447..0479905 100644 --- a/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Production/v2.59.0/HGCV3.cs @@ -1,4 +1,4 @@ -#if true +#if v2_59_0 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; diff --git a/Adaptation/_Tests/Extract/Production/v2.59.0/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Production/v2.59.0/MET08RESIHGCV.cs index 64dd988..9be785b 100644 --- a/Adaptation/_Tests/Extract/Production/v2.59.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Production/v2.59.0/MET08RESIHGCV.cs @@ -1,4 +1,4 @@ -#if true +#if v2_59_0 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; diff --git a/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV1.cs b/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV1.cs new file mode 100644 index 0000000..5cfee1a --- /dev/null +++ b/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV1.cs @@ -0,0 +1,59 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Production.v2_60_0; + +[TestClass] +public class HGCV1 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Production.v2_60_0.HGCV1 _HGCV1; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Production.v2_60_0.HGCV1.ClassInitialize(testContext); + _HGCV1 = CreateSelfDescription.Production.v2_60_0.HGCV1.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV1__pcl() => _HGCV1.Production__v2_60_0__HGCV1__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV1__pcl637955429602879992__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV1.Production__v2_60_0__HGCV1__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV1.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV1.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV2.cs b/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV2.cs new file mode 100644 index 0000000..597f84f --- /dev/null +++ b/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV2.cs @@ -0,0 +1,59 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Production.v2_60_0; + +[TestClass] +public class HGCV2 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Production.v2_60_0.HGCV2 _HGCV2; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Production.v2_60_0.HGCV2.ClassInitialize(testContext); + _HGCV2 = CreateSelfDescription.Production.v2_60_0.HGCV2.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV2__pcl() => _HGCV2.Production__v2_60_0__HGCV2__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV2__pcl637955471606299897__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV2.Production__v2_60_0__HGCV2__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV2.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV2.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV3.cs b/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV3.cs new file mode 100644 index 0000000..df3d6d4 --- /dev/null +++ b/Adaptation/_Tests/Extract/Production/v2.60.0/HGCV3.cs @@ -0,0 +1,111 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Production.v2_60_0; + +[TestClass] +public class HGCV3 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Production.v2_60_0.HGCV3 _HGCV3; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Production.v2_60_0.HGCV3.ClassInitialize(testContext); + _HGCV3 = CreateSelfDescription.Production.v2_60_0.HGCV3.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV3__pcl() => _HGCV3.Production__v2_60_0__HGCV3__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + [ExpectedException(typeof(AssertFailedException))] + public void Production__v2_60_0__HGCV3__pcl637812984345592512__MinFileLength() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV3.Production__v2_60_0__HGCV3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV3__pcl637816384579205568__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV3.Production__v2_60_0__HGCV3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV3__pcl637955459372840332__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV3.Production__v2_60_0__HGCV3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__HGCV3__pcl638416903464189143__PopulateCalculated() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV3.Production__v2_60_0__HGCV3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Production/v2.60.0/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Production/v2.60.0/MET08RESIHGCV.cs new file mode 100644 index 0000000..d76b763 --- /dev/null +++ b/Adaptation/_Tests/Extract/Production/v2.60.0/MET08RESIHGCV.cs @@ -0,0 +1,200 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Production.v2_60_0; + +[TestClass] +public class MET08RESIHGCV +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Production.v2_60_0.MET08RESIHGCV _MET08RESIHGCV; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Production.v2_60_0.MET08RESIHGCV.ClassInitialize(testContext); + _MET08RESIHGCV = CreateSelfDescription.Production.v2_60_0.MET08RESIHGCV.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__MoveMatchingFiles(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewer(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewer(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__OpenInsight(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__OpenInsight(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__OpenInsight(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments638116020180910181__Viewer() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__APC(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__SPaCe(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__Dummy(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__InterceptIQS() => _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__InterceptIQS(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__MET08RESIHGCV__InterceptIQS638507610398652181__First() + { + string check = "HgCV_Unload_Res_9Points*.txt"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Production__v2_60_0__MET08RESIHGCV__InterceptIQS(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Static/MET08RESIHGCV.cs b/Adaptation/_Tests/Static/MET08RESIHGCV.cs index 6a6a5c9..e0fb87a 100644 --- a/Adaptation/_Tests/Static/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Static/MET08RESIHGCV.cs @@ -64,7 +64,7 @@ public class MET08RESIHGCV : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("MET08RESIHGCV", "v2.59.0"), + new("MET08RESIHGCV", "v2.60.0"), }; string production = "http://messa08ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; diff --git a/Adaptation/_Tests/Static/pcl.cs b/Adaptation/_Tests/Static/pcl.cs index 45ed761..bbfaadf 100644 --- a/Adaptation/_Tests/Static/pcl.cs +++ b/Adaptation/_Tests/Static/pcl.cs @@ -203,9 +203,9 @@ public class PCL : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("HGCV1", "v2.59.0"), - new("HGCV2", "v2.59.0"), - new("HGCV3", "v2.59.0"), + new("HGCV1", "v2.60.0"), + new("HGCV2", "v2.60.0"), + new("HGCV3", "v2.60.0"), new("HGCV1-EQPT", "v2.12.3"), new("HGCV2-EQPT", "v2.12.3"), new("HGCV3-EQPT", "v2.12.3"), diff --git a/MET08RESIHGCV.csproj b/MET08RESIHGCV.csproj index 0d561fd..e60144e 100644 --- a/MET08RESIHGCV.csproj +++ b/MET08RESIHGCV.csproj @@ -182,13 +182,13 @@ 7.2.4630.5 - 2.59.0 + 2.60.0 1.1.1 - 8.0.3 + 8.0.5 diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 4e71657..55a4c3f 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.59.0.0")] -[assembly: AssemblyFileVersion("2.59.0.0")] +[assembly: AssemblyVersion("2.60.0.0")] +[assembly: AssemblyFileVersion("2.60.0.0")]