From 392d70f1aa1db00ba9449e28a1be893cf52504af Mon Sep 17 00:00:00 2001 From: "phares@iscn5cg20977xq" Date: Tue, 4 Nov 2025 17:39:28 -0700 Subject: [PATCH] Infineon.EAF.Runtime v2.61.1 --- .../Production/v2.60.0/DEP08CEPIEPSILON.cs | 13 +- .../Production/v2.61.1/DEP08CEPIEPSILON.cs | 141 ++++++++++++++++++ .../Production/v2.60.0/DEP08CEPIEPSILON.cs | 18 ++- .../Production/v2.61.1/DEP08CEPIEPSILON.cs | 104 +++++++++++++ Adaptation/_Tests/Shared/AdaptationTesting.cs | 5 + Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs | 2 +- DEP08CEPIEPSILON.csproj | 4 +- Properties/AssemblyInfo.cs | 4 +- 8 files changed, 284 insertions(+), 7 deletions(-) create mode 100644 Adaptation/_Tests/CreateSelfDescription/Production/v2.61.1/DEP08CEPIEPSILON.cs create mode 100644 Adaptation/_Tests/Extract/Production/v2.61.1/DEP08CEPIEPSILON.cs diff --git a/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/DEP08CEPIEPSILON.cs index 09194c0..60c7fab 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/DEP08CEPIEPSILON.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.60.0/DEP08CEPIEPSILON.cs @@ -1,4 +1,4 @@ -#if true +#if v2_60_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -148,5 +148,16 @@ public class DEP08CEPIEPSILON : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } + [Ignore] + [TestMethod] + public void Production__v2_60_0__DEP08CEPIEPSILON__Log() + { + string check = "*.log"; + 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.61.1/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/CreateSelfDescription/Production/v2.61.1/DEP08CEPIEPSILON.cs new file mode 100644 index 0000000..ea894d5 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Production/v2.61.1/DEP08CEPIEPSILON.cs @@ -0,0 +1,141 @@ +#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_61_1; + +[TestClass] +public class DEP08CEPIEPSILON : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static DEP08CEPIEPSILON EAFLoggingUnitTesting { get; private set; } + + static DEP08CEPIEPSILON() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + // static DEP08CEPIEPSILON() => DummyRoot = @"D:\ProgramData\EC_Characterization_Si\Dummy"; + + public DEP08CEPIEPSILON() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public DEP08CEPIEPSILON(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new DEP08CEPIEPSILON(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(); + } + + [Ignore] + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R2() + { + string check = "R2*_*.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")); + } + + [Ignore] + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R3() + { + string check = "R3*_*.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")); + } + + [Ignore] + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R4() + { + string check = "R4*_*.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")); + } + + [Ignore] + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R5() + { + string check = "R5*_*.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")); + } + + [Ignore] + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R6() + { + string check = "R6*_*.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")); + } + + [Ignore] + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R7() + { + string check = "R7*_*.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")); + } + + [Ignore] + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__InfinityQS() + { + 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")); + } + + [Ignore] + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__Log() + { + string check = "*.log"; + 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.60.0/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/Extract/Production/v2.60.0/DEP08CEPIEPSILON.cs index f4f6e8c..fe1e3ee 100644 --- a/Adaptation/_Tests/Extract/Production/v2.60.0/DEP08CEPIEPSILON.cs +++ b/Adaptation/_Tests/Extract/Production/v2.60.0/DEP08CEPIEPSILON.cs @@ -1,4 +1,4 @@ -#if true +#if v2_60_0 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -112,5 +112,21 @@ public class DEP08CEPIEPSILON NonThrowTryCatch(); } +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_60_0__DEP08CEPIEPSILON__Log638895639451629989__Index() + { + string check = "*.log"; + MethodBase methodBase = new StackFrame().GetMethod(); + _DEP08CEPIEPSILON.Production__v2_60_0__DEP08CEPIEPSILON__Log(); + string[] variables = _DEP08CEPIEPSILON.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _DEP08CEPIEPSILON.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/Extract/Production/v2.61.1/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/Extract/Production/v2.61.1/DEP08CEPIEPSILON.cs new file mode 100644 index 0000000..8f28739 --- /dev/null +++ b/Adaptation/_Tests/Extract/Production/v2.61.1/DEP08CEPIEPSILON.cs @@ -0,0 +1,104 @@ +#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_61_1; + +[TestClass] +public class DEP08CEPIEPSILON +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Production.v2_61_1.DEP08CEPIEPSILON _DEP08CEPIEPSILON; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Production.v2_61_1.DEP08CEPIEPSILON.ClassInitialize(testContext); + _DEP08CEPIEPSILON = CreateSelfDescription.Production.v2_61_1.DEP08CEPIEPSILON.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R2() => _DEP08CEPIEPSILON.Production__v2_61_1__DEP08CEPIEPSILON__R2(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R3() => _DEP08CEPIEPSILON.Production__v2_61_1__DEP08CEPIEPSILON__R3(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R4() => _DEP08CEPIEPSILON.Production__v2_61_1__DEP08CEPIEPSILON__R4(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R5() => _DEP08CEPIEPSILON.Production__v2_61_1__DEP08CEPIEPSILON__R5(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R6() => _DEP08CEPIEPSILON.Production__v2_61_1__DEP08CEPIEPSILON__R6(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__R7() => _DEP08CEPIEPSILON.Production__v2_61_1__DEP08CEPIEPSILON__R7(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Production__v2_61_1__DEP08CEPIEPSILON__InfinityQS638895639451629988__First() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _DEP08CEPIEPSILON.Production__v2_61_1__DEP08CEPIEPSILON__InfinityQS(); + string[] variables = _DEP08CEPIEPSILON.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _DEP08CEPIEPSILON.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_61_1__DEP08CEPIEPSILON__Log638895639451629989__Index() + { + string check = "*.log"; + MethodBase methodBase = new StackFrame().GetMethod(); + _DEP08CEPIEPSILON.Production__v2_61_1__DEP08CEPIEPSILON__Log(); + string[] variables = _DEP08CEPIEPSILON.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _DEP08CEPIEPSILON.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/Shared/AdaptationTesting.cs b/Adaptation/_Tests/Shared/AdaptationTesting.cs index 8c0bc93..e49ae57 100644 --- a/Adaptation/_Tests/Shared/AdaptationTesting.cs +++ b/Adaptation/_Tests/Shared/AdaptationTesting.cs @@ -193,7 +193,12 @@ public class AdaptationTesting : ISMTP segments = withActualCICN.Split(new string[] { ticks }, StringSplitOptions.None); dummyDirectory = Path.Combine(dummyRoot, cellInstanceName, ticks, string.Join(null, segments)); if (!Directory.Exists(dummyDirectory)) + { _ = Directory.CreateDirectory(dummyDirectory); + try + { Directory.SetLastWriteTime(Path.Combine(dummyRoot, cellInstanceName), DateTime.Now); } + catch { } + } } if (string.IsNullOrEmpty(ticks)) { diff --git a/Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs b/Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs index 0f164a0..0b8a7b2 100644 --- a/Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs +++ b/Adaptation/_Tests/Static/DEP08CEPIEPSILON.cs @@ -64,7 +64,7 @@ public class DEP08CEPIEPSILON : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("DEP08CEPIEPSILON", "v2.60.0"), + new("DEP08CEPIEPSILON", "v2.61.1"), }; string production = "http://messa08ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; diff --git a/DEP08CEPIEPSILON.csproj b/DEP08CEPIEPSILON.csproj index 0c28282..1340e92 100644 --- a/DEP08CEPIEPSILON.csproj +++ b/DEP08CEPIEPSILON.csproj @@ -167,13 +167,13 @@ - 2.60.0 + 2.61.1 5.2.7 - 8.0.5 + 8.0.3 4.3.0 diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 9f85c95..2170017 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.60.0.0")] -[assembly: AssemblyFileVersion("2.60.0.0")] +[assembly: AssemblyVersion("2.61.1.0")] +[assembly: AssemblyFileVersion("2.61.1.0")]