From 390090729b41c5ad1b67d3373e85ef2c388ba1e8 Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Mon, 19 Aug 2024 16:52:25 -0700 Subject: [PATCH] v2.57.0 --- Adaptation/.vscode/mklink.md | 2 +- .../Development/v2.56.0/ALIGNMENT-EQPT.cs | 4 +- .../Development/v2.56.0/ALIGNMENT.cs | 4 +- .../Development/v2.56.0/BACKLOG-EQPT.cs | 4 +- .../Development/v2.56.0/BACKLOG.cs | 4 +- .../Development/v2.56.0/MESAFIBACKLOG.cs | 8 +- .../Development/v2.57.0/ALIGNMENT-EQPT.cs | 65 +++++++++++ .../Development/v2.57.0/ALIGNMENT.cs | 65 +++++++++++ .../Development/v2.57.0/BACKLOG-EQPT.cs | 65 +++++++++++ .../Development/v2.57.0/BACKLOG.cs | 65 +++++++++++ .../Development/v2.57.0/MESAFIBACKLOG.cs | 91 +++++++++++++++ .../Development/v2.56.0/ALIGNMENT-EQPT.cs | 2 +- .../Extract/Development/v2.56.0/ALIGNMENT.cs | 6 +- .../Development/v2.56.0/BACKLOG-EQPT.cs | 2 +- .../Extract/Development/v2.56.0/BACKLOG.cs | 6 +- .../Development/v2.56.0/MESAFIBACKLOG.cs | 10 +- .../Development/v2.57.0/ALIGNMENT-EQPT.cs | 52 +++++++++ .../Extract/Development/v2.57.0/ALIGNMENT.cs | 64 +++++++++++ .../Development/v2.57.0/BACKLOG-EQPT.cs | 52 +++++++++ .../Extract/Development/v2.57.0/BACKLOG.cs | 64 +++++++++++ .../Development/v2.57.0/MESAFIBACKLOG.cs | 104 ++++++++++++++++++ Adaptation/_Tests/Static/ALIGNMENT.cs | 4 +- Adaptation/_Tests/Static/BACKLOG.cs | 4 +- Adaptation/_Tests/Static/MESAFIBACKLOG.cs | 2 +- MESAFIBACKLOG.csproj | 2 +- 25 files changed, 704 insertions(+), 47 deletions(-) create mode 100644 Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/ALIGNMENT-EQPT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/ALIGNMENT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/BACKLOG-EQPT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/BACKLOG.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/MESAFIBACKLOG.cs create mode 100644 Adaptation/_Tests/Extract/Development/v2.57.0/ALIGNMENT-EQPT.cs create mode 100644 Adaptation/_Tests/Extract/Development/v2.57.0/ALIGNMENT.cs create mode 100644 Adaptation/_Tests/Extract/Development/v2.57.0/BACKLOG-EQPT.cs create mode 100644 Adaptation/_Tests/Extract/Development/v2.57.0/BACKLOG.cs create mode 100644 Adaptation/_Tests/Extract/Development/v2.57.0/MESAFIBACKLOG.cs diff --git a/Adaptation/.vscode/mklink.md b/Adaptation/.vscode/mklink.md index 952c4d2..ac35d79 100644 --- a/Adaptation/.vscode/mklink.md +++ b/Adaptation/.vscode/mklink.md @@ -1,5 +1,5 @@ # mklink ```bash -mklink /J "T:\MET08AFMD3100\06_SourceCode\MET08AFMD3100\Adaptation\.kanbn" "D:\5-Other-Small\Kanban\MET08AFMD3100" +mklink /J "T:\MESAFIBACKLOG\06_SourceCode\MESAFIBACKLOG\Adaptation\.kanbn" "D:\5-Other-Small\Kanban\MESAFIBACKLOG" ``` diff --git a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/ALIGNMENT-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/ALIGNMENT-EQPT.cs index d08a2aa..66dcebc 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/ALIGNMENT-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/ALIGNMENT-EQPT.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -48,9 +48,7 @@ public class ALIGNMENT_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__ALIGNMENT_EQPT__DownloadExcelFile() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/ALIGNMENT.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/ALIGNMENT.cs index de6f87f..be0023a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/ALIGNMENT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/ALIGNMENT.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -48,9 +48,7 @@ public class ALIGNMENT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__ALIGNMENT__ConvertExcelToJson() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/BACKLOG-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/BACKLOG-EQPT.cs index 8b22fe1..abacfd3 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/BACKLOG-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/BACKLOG-EQPT.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -48,9 +48,7 @@ public class BACKLOG_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__BACKLOG_EQPT__DownloadExcelFile() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/BACKLOG.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/BACKLOG.cs index 3ff78b4..11bcc2b 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/BACKLOG.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/BACKLOG.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -48,9 +48,7 @@ public class BACKLOG : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__BACKLOG__ConvertExcelToJson() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/MESAFIBACKLOG.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/MESAFIBACKLOG.cs index 3ab298a..f1c65e8 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/MESAFIBACKLOG.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.56.0/MESAFIBACKLOG.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -48,9 +48,7 @@ public class MESAFIBACKLOG : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__MESAFIBACKLOG__CopyToPaths() { @@ -61,9 +59,7 @@ public class MESAFIBACKLOG : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__MESAFIBACKLOG__json() { @@ -74,9 +70,7 @@ public class MESAFIBACKLOG : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__MESAFIBACKLOG__Kanban() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/ALIGNMENT-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/ALIGNMENT-EQPT.cs new file mode 100644 index 0000000..02f6e9d --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/ALIGNMENT-EQPT.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.Development.v2_57_0; + +[TestClass] +public class ALIGNMENT_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static ALIGNMENT_EQPT EAFLoggingUnitTesting { get; private set; } + + static ALIGNMENT_EQPT() => DummyRoot = @"\\mestsa003.infineon.com\EC_Characterization_Si\Dummy"; + + public ALIGNMENT_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public ALIGNMENT_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new ALIGNMENT_EQPT(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 Development__v2_57_0__ALIGNMENT_EQPT__DownloadExcelFile() + { + string check = ".xlsx"; + 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/Development/v2.57.0/ALIGNMENT.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/ALIGNMENT.cs new file mode 100644 index 0000000..a869dc0 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/ALIGNMENT.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.Development.v2_57_0; + +[TestClass] +public class ALIGNMENT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static ALIGNMENT EAFLoggingUnitTesting { get; private set; } + + static ALIGNMENT() => DummyRoot = @"\\mestsa003.infineon.com\EC_Characterization_Si\Dummy"; + + public ALIGNMENT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public ALIGNMENT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new ALIGNMENT(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 Development__v2_57_0__ALIGNMENT__ConvertExcelToJson() + { + string check = "*.xlsx"; + 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/Development/v2.57.0/BACKLOG-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/BACKLOG-EQPT.cs new file mode 100644 index 0000000..4856e58 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/BACKLOG-EQPT.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.Development.v2_57_0; + +[TestClass] +public class BACKLOG_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static BACKLOG_EQPT EAFLoggingUnitTesting { get; private set; } + + static BACKLOG_EQPT() => DummyRoot = @"\\mestsa003.infineon.com\EC_Characterization_Si\Dummy"; + + public BACKLOG_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public BACKLOG_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new BACKLOG_EQPT(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 Development__v2_57_0__BACKLOG_EQPT__DownloadExcelFile() + { + string check = ".xlsx"; + 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/Development/v2.57.0/BACKLOG.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/BACKLOG.cs new file mode 100644 index 0000000..2dfb358 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/BACKLOG.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.Development.v2_57_0; + +[TestClass] +public class BACKLOG : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static BACKLOG EAFLoggingUnitTesting { get; private set; } + + static BACKLOG() => DummyRoot = @"\\mestsa003.infineon.com\EC_Characterization_Si\Dummy"; + + public BACKLOG() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public BACKLOG(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new BACKLOG(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 Development__v2_57_0__BACKLOG__ConvertExcelToJson() + { + string check = "*.xlsx"; + 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/Development/v2.57.0/MESAFIBACKLOG.cs b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/MESAFIBACKLOG.cs new file mode 100644 index 0000000..5514bbf --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Development/v2.57.0/MESAFIBACKLOG.cs @@ -0,0 +1,91 @@ +#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.Development.v2_57_0; + +[TestClass] +public class MESAFIBACKLOG : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MESAFIBACKLOG EAFLoggingUnitTesting { get; private set; } + + static MESAFIBACKLOG() => DummyRoot = @"\\mestsa003.infineon.com\EC_Characterization_Si\Dummy"; + + public MESAFIBACKLOG() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MESAFIBACKLOG(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MESAFIBACKLOG(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 Development__v2_57_0__MESAFIBACKLOG__CopyToPaths() + { + string check = "*.json"; + 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 Development__v2_57_0__MESAFIBACKLOG__json() + { + string check = "*.json"; + 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 Development__v2_57_0__MESAFIBACKLOG__Kanban() + { + string check = "*.json"; + 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/Development/v2.56.0/ALIGNMENT-EQPT.cs b/Adaptation/_Tests/Extract/Development/v2.56.0/ALIGNMENT-EQPT.cs index e003ca0..09c5cf8 100644 --- a/Adaptation/_Tests/Extract/Development/v2.56.0/ALIGNMENT-EQPT.cs +++ b/Adaptation/_Tests/Extract/Development/v2.56.0/ALIGNMENT-EQPT.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Diagnostics; diff --git a/Adaptation/_Tests/Extract/Development/v2.56.0/ALIGNMENT.cs b/Adaptation/_Tests/Extract/Development/v2.56.0/ALIGNMENT.cs index 24a9a5d..73ef81c 100644 --- a/Adaptation/_Tests/Extract/Development/v2.56.0/ALIGNMENT.cs +++ b/Adaptation/_Tests/Extract/Development/v2.56.0/ALIGNMENT.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -34,15 +34,11 @@ public class ALIGNMENT catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__ALIGNMENT__ConvertExcelToJson() => _ALIGNMENT.Development__v2_56_0__ALIGNMENT__ConvertExcelToJson(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__ALIGNMENT__ConvertExcelToJson638353030755467303__Normal() { diff --git a/Adaptation/_Tests/Extract/Development/v2.56.0/BACKLOG-EQPT.cs b/Adaptation/_Tests/Extract/Development/v2.56.0/BACKLOG-EQPT.cs index 60d8666..9a19506 100644 --- a/Adaptation/_Tests/Extract/Development/v2.56.0/BACKLOG-EQPT.cs +++ b/Adaptation/_Tests/Extract/Development/v2.56.0/BACKLOG-EQPT.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Diagnostics; diff --git a/Adaptation/_Tests/Extract/Development/v2.56.0/BACKLOG.cs b/Adaptation/_Tests/Extract/Development/v2.56.0/BACKLOG.cs index 88051ed..e9a15e8 100644 --- a/Adaptation/_Tests/Extract/Development/v2.56.0/BACKLOG.cs +++ b/Adaptation/_Tests/Extract/Development/v2.56.0/BACKLOG.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -34,15 +34,11 @@ public class BACKLOG catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__BACKLOG__ConvertExcelToJson() => _BACKLOG.Development__v2_56_0__BACKLOG__ConvertExcelToJson(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__BACKLOG__ConvertExcelToJson637961178824025822__Normal() { diff --git a/Adaptation/_Tests/Extract/Development/v2.56.0/MESAFIBACKLOG.cs b/Adaptation/_Tests/Extract/Development/v2.56.0/MESAFIBACKLOG.cs index 073af32..426493b 100644 --- a/Adaptation/_Tests/Extract/Development/v2.56.0/MESAFIBACKLOG.cs +++ b/Adaptation/_Tests/Extract/Development/v2.56.0/MESAFIBACKLOG.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -34,15 +34,11 @@ public class MESAFIBACKLOG catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__MESAFIBACKLOG__json() => _MESAFIBACKLOG.Development__v2_56_0__MESAFIBACKLOG__json(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__MESAFIBACKLOG__json637961251829737445__Normal() { @@ -60,9 +56,7 @@ public class MESAFIBACKLOG NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__MESAFIBACKLOG__CopyToPaths638323658386612550__Normal() { @@ -80,9 +74,7 @@ public class MESAFIBACKLOG NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Development__v2_56_0__MESAFIBACKLOG__Kanban638323658386612552__Normal() { diff --git a/Adaptation/_Tests/Extract/Development/v2.57.0/ALIGNMENT-EQPT.cs b/Adaptation/_Tests/Extract/Development/v2.57.0/ALIGNMENT-EQPT.cs new file mode 100644 index 0000000..ae02e25 --- /dev/null +++ b/Adaptation/_Tests/Extract/Development/v2.57.0/ALIGNMENT-EQPT.cs @@ -0,0 +1,52 @@ +#if true +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; +using System.Threading; + +namespace Adaptation._Tests.Extract.Development.v2_57_0; + +[TestClass] +public class ALIGNMENT_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Development.v2_57_0.ALIGNMENT_EQPT _ALIGNMENT_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Development.v2_57_0.ALIGNMENT_EQPT.ClassInitialize(testContext); + _ALIGNMENT_EQPT = CreateSelfDescription.Development.v2_57_0.ALIGNMENT_EQPT.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + + [Ignore] + [TestMethod] + public void Development__v2_57_0__ALIGNMENT_EQPT__DownloadExcelFile() => _ALIGNMENT_EQPT.Development__v2_57_0__ALIGNMENT_EQPT__DownloadExcelFile(); + + [Ignore] + [TestMethod] + public void Development__v2_57_0__ALIGNMENT_EQPT__DownloadExcelFile637961178824025822__Normal() + { + string check = ".xlsx"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _ALIGNMENT_EQPT.Development__v2_57_0__ALIGNMENT_EQPT__DownloadExcelFile(); + _ = _ALIGNMENT_EQPT.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + for (int i = 0; i < int.MinValue; i++) + Thread.Sleep(500); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Development/v2.57.0/ALIGNMENT.cs b/Adaptation/_Tests/Extract/Development/v2.57.0/ALIGNMENT.cs new file mode 100644 index 0000000..2760390 --- /dev/null +++ b/Adaptation/_Tests/Extract/Development/v2.57.0/ALIGNMENT.cs @@ -0,0 +1,64 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Reflection; +using System.Text.Json; + +namespace Adaptation._Tests.Extract.Development.v2_57_0; + +[TestClass] +public class ALIGNMENT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Development.v2_57_0.ALIGNMENT _ALIGNMENT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Development.v2_57_0.ALIGNMENT.ClassInitialize(testContext); + _ALIGNMENT = CreateSelfDescription.Development.v2_57_0.ALIGNMENT.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Development__v2_57_0__ALIGNMENT__ConvertExcelToJson() => _ALIGNMENT.Development__v2_57_0__ALIGNMENT__ConvertExcelToJson(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Development__v2_57_0__ALIGNMENT__ConvertExcelToJson638353030755467303__Normal() + { + string check = "*.xlsx"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _ALIGNMENT.Development__v2_57_0__ALIGNMENT__ConvertExcelToJson(); + Assert.IsFalse(string.IsNullOrEmpty(_ALIGNMENT.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _ALIGNMENT.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _ALIGNMENT.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Tuple> extractResult = fileRead.ReExtract(); + Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); + Assert.IsNotNull(extractResult.Item3); + Assert.IsNotNull(extractResult.Item4); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Development/v2.57.0/BACKLOG-EQPT.cs b/Adaptation/_Tests/Extract/Development/v2.57.0/BACKLOG-EQPT.cs new file mode 100644 index 0000000..2a414bb --- /dev/null +++ b/Adaptation/_Tests/Extract/Development/v2.57.0/BACKLOG-EQPT.cs @@ -0,0 +1,52 @@ +#if true +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; +using System.Threading; + +namespace Adaptation._Tests.Extract.Development.v2_57_0; + +[TestClass] +public class BACKLOG_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Development.v2_57_0.BACKLOG_EQPT _BACKLOG_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Development.v2_57_0.BACKLOG_EQPT.ClassInitialize(testContext); + _BACKLOG_EQPT = CreateSelfDescription.Development.v2_57_0.BACKLOG_EQPT.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + + [Ignore] + [TestMethod] + public void Development__v2_57_0__BACKLOG_EQPT__DownloadExcelFile() => _BACKLOG_EQPT.Development__v2_57_0__BACKLOG_EQPT__DownloadExcelFile(); + + [Ignore] + [TestMethod] + public void Development__v2_57_0__BACKLOG_EQPT__DownloadExcelFile637961178824025822__Normal() + { + string check = ".xlsx"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _BACKLOG_EQPT.Development__v2_57_0__BACKLOG_EQPT__DownloadExcelFile(); + _ = _BACKLOG_EQPT.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + for (int i = 0; i < int.MinValue; i++) + Thread.Sleep(500); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Development/v2.57.0/BACKLOG.cs b/Adaptation/_Tests/Extract/Development/v2.57.0/BACKLOG.cs new file mode 100644 index 0000000..b32397a --- /dev/null +++ b/Adaptation/_Tests/Extract/Development/v2.57.0/BACKLOG.cs @@ -0,0 +1,64 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Reflection; +using System.Text.Json; + +namespace Adaptation._Tests.Extract.Development.v2_57_0; + +[TestClass] +public class BACKLOG +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Development.v2_57_0.BACKLOG _BACKLOG; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Development.v2_57_0.BACKLOG.ClassInitialize(testContext); + _BACKLOG = CreateSelfDescription.Development.v2_57_0.BACKLOG.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Development__v2_57_0__BACKLOG__ConvertExcelToJson() => _BACKLOG.Development__v2_57_0__BACKLOG__ConvertExcelToJson(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Development__v2_57_0__BACKLOG__ConvertExcelToJson637961178824025822__Normal() + { + string check = "*.xlsx"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _BACKLOG.Development__v2_57_0__BACKLOG__ConvertExcelToJson(); + Assert.IsFalse(string.IsNullOrEmpty(_BACKLOG.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _BACKLOG.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BACKLOG.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Tuple> extractResult = fileRead.ReExtract(); + Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); + Assert.IsNotNull(extractResult.Item3); + Assert.IsNotNull(extractResult.Item4); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Development/v2.57.0/MESAFIBACKLOG.cs b/Adaptation/_Tests/Extract/Development/v2.57.0/MESAFIBACKLOG.cs new file mode 100644 index 0000000..840089c --- /dev/null +++ b/Adaptation/_Tests/Extract/Development/v2.57.0/MESAFIBACKLOG.cs @@ -0,0 +1,104 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Reflection; +using System.Text.Json; + +namespace Adaptation._Tests.Extract.Development.v2_57_0; + +[TestClass] +public class MESAFIBACKLOG +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Development.v2_57_0.MESAFIBACKLOG _MESAFIBACKLOG; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Development.v2_57_0.MESAFIBACKLOG.ClassInitialize(testContext); + _MESAFIBACKLOG = CreateSelfDescription.Development.v2_57_0.MESAFIBACKLOG.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Development__v2_57_0__MESAFIBACKLOG__json() => _MESAFIBACKLOG.Development__v2_57_0__MESAFIBACKLOG__json(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Development__v2_57_0__MESAFIBACKLOG__json637961251829737445__Normal() + { + string check = "*.json"; + bool validatePDSF = false; + _MESAFIBACKLOG.Development__v2_57_0__MESAFIBACKLOG__json(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_MESAFIBACKLOG.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _MESAFIBACKLOG.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MESAFIBACKLOG.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Tuple> extractResult = fileRead.ReExtract(); + Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); + Assert.IsNotNull(extractResult.Item3); + Assert.IsNotNull(extractResult.Item4); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Development__v2_57_0__MESAFIBACKLOG__CopyToPaths638323658386612550__Normal() + { + string check = "*.json"; + bool validatePDSF = false; + _MESAFIBACKLOG.Development__v2_57_0__MESAFIBACKLOG__CopyToPaths(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_MESAFIBACKLOG.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _MESAFIBACKLOG.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MESAFIBACKLOG.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Tuple> extractResult = fileRead.ReExtract(); + Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); + Assert.IsNotNull(extractResult.Item3); + Assert.IsNotNull(extractResult.Item4); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Development__v2_57_0__MESAFIBACKLOG__Kanban638323658386612552__Normal() + { + string check = "*.json"; + bool validatePDSF = false; + _MESAFIBACKLOG.Development__v2_57_0__MESAFIBACKLOG__Kanban(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_MESAFIBACKLOG.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _MESAFIBACKLOG.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MESAFIBACKLOG.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Tuple> extractResult = fileRead.ReExtract(); + Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); + Assert.IsNotNull(extractResult.Item3); + Assert.IsNotNull(extractResult.Item4); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Static/ALIGNMENT.cs b/Adaptation/_Tests/Static/ALIGNMENT.cs index 2be6c5c..8d9d64c 100644 --- a/Adaptation/_Tests/Static/ALIGNMENT.cs +++ b/Adaptation/_Tests/Static/ALIGNMENT.cs @@ -64,8 +64,8 @@ public class ALIGNMENT : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("ALIGNMENT", "v2.56.0"), - new("ALIGNMENT-EQPT", "v2.56.0"), + new("ALIGNMENT", "v2.57.0"), + new("ALIGNMENT-EQPT", "v2.57.0"), }; string development = "http://eaf-dev.mes.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; diff --git a/Adaptation/_Tests/Static/BACKLOG.cs b/Adaptation/_Tests/Static/BACKLOG.cs index 5e1e7ee..1a1cc36 100644 --- a/Adaptation/_Tests/Static/BACKLOG.cs +++ b/Adaptation/_Tests/Static/BACKLOG.cs @@ -64,8 +64,8 @@ public class BACKLOG : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("BACKLOG", "v2.56.0"), - new("BACKLOG-EQPT", "v2.56.0"), + new("BACKLOG", "v2.57.0"), + new("BACKLOG-EQPT", "v2.57.0"), }; string development = "http://eaf-dev.mes.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; diff --git a/Adaptation/_Tests/Static/MESAFIBACKLOG.cs b/Adaptation/_Tests/Static/MESAFIBACKLOG.cs index 5de3c50..399b559 100644 --- a/Adaptation/_Tests/Static/MESAFIBACKLOG.cs +++ b/Adaptation/_Tests/Static/MESAFIBACKLOG.cs @@ -64,7 +64,7 @@ public class MESAFIBACKLOG : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("MESAFIBACKLOG", "v2.56.0"), + new("MESAFIBACKLOG", "v2.57.0"), }; string development = "http://eaf-dev.mes.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; diff --git a/MESAFIBACKLOG.csproj b/MESAFIBACKLOG.csproj index 515becd..31df9bf 100644 --- a/MESAFIBACKLOG.csproj +++ b/MESAFIBACKLOG.csproj @@ -189,7 +189,7 @@ - 2.56.0 + 2.57.0 16.205.1