diff --git a/Adaptation/.vscode/tasks.json b/Adaptation/.vscode/tasks.json index b22dbdc..d9dcab6 100644 --- a/Adaptation/.vscode/tasks.json +++ b/Adaptation/.vscode/tasks.json @@ -76,12 +76,6 @@ ], "problemMatcher": "$msCompile" }, - { - "label": "File-Folder-Helper AOT s M .Kanbn Tasks", - "type": "shell", - "command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08DDUPSFS6420/06_SourceCode/MET08DDUPSFS6420/Adaptation -s T:/MET08DDUPSFS6420/06_SourceCode/MET08DDUPSFS6420/Adaptation/.kanbn/tasks", - "problemMatcher": [] - }, { "label": "Kanbn Console", "type": "npm", diff --git a/Adaptation/MET08DDUPSFS6420-Development.yml b/Adaptation/MET08DDUPSFS6420-Development.yml index f7b7f68..3704e63 100644 --- a/Adaptation/MET08DDUPSFS6420-Development.yml +++ b/Adaptation/MET08DDUPSFS6420-Development.yml @@ -26,7 +26,7 @@ steps: displayName: Configuration - script: | - set nugetSource=https://eaf-dev-reporting.mes.infineon.com/v3/index.json + set nugetSource=https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/index.json;D:/vsts-agent-win-x64-2.210.1-eaf/nuget echo %nugetSource% echo ##vso[task.setvariable variable=NugetSource;]%nugetSource% echo $(NugetSource) @@ -148,7 +148,7 @@ steps: displayName: "Core Publish" enabled: false - - script: '"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe" /target:Restore /detailedsummary /consoleloggerparameters:PerformanceSummary;ErrorsOnly; /property:Configuration=$(Configuration);TargetFrameworkVersion=v4.8 /p:RestoreSources=$(NugetSource)' + - script: '"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe" /target:Restore /detailedsummary /consoleloggerparameters:PerformanceSummary;ErrorsOnly; /property:Configuration=$(Configuration);TargetFrameworkVersion=v4.8 /p:RestoreSources="$(NugetSource)"' displayName: "MSBuild Restore" - script: '"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe" /target:Build /detailedsummary /consoleloggerparameters:PerformanceSummary;ErrorsOnly; /property:Configuration=$(Configuration);TargetFrameworkVersion=v4.8' @@ -167,11 +167,11 @@ steps: enabled: false - task: CopyFiles@2 - displayName: 'Copy Files to: \\mesfs.infineon.com\EC_EAFRepository' + displayName: 'Copy Files to: Local D EAF Deployment Storage' inputs: Contents: "*$(Build.Repository.Name)*" SourceFolder: 'bin\$(Configuration)' - TargetFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\Adaptation_$(Build.Repository.Name)' + TargetFolder: 'D:\EAF\EAF Deployment Storage\Adaptation_$(Build.Repository.Name)' OverWrite: true enabled: false diff --git a/Adaptation/MET08DDUPSFS6420.Tests.csproj b/Adaptation/MET08DDUPSFS6420.Tests.csproj index a9e3afe..bd5f5b9 100644 --- a/Adaptation/MET08DDUPSFS6420.Tests.csproj +++ b/Adaptation/MET08DDUPSFS6420.Tests.csproj @@ -45,10 +45,10 @@ NU1701 NU1701 - + - + @@ -57,15 +57,15 @@ - - + + NU1701 - - + + diff --git a/Adaptation/MET08DDUPSFS6420.yml b/Adaptation/MET08DDUPSFS6420.yml index 821146f..376ed16 100644 --- a/Adaptation/MET08DDUPSFS6420.yml +++ b/Adaptation/MET08DDUPSFS6420.yml @@ -26,7 +26,7 @@ steps: displayName: Configuration - script: | - set nugetSource=https://eaf-prod.mes.infineon.com/v3/index.json + set nugetSource=https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/index.json;D:/vsts-agent-win-x64-2.210.1-eaf/nuget echo %nugetSource% echo ##vso[task.setvariable variable=NugetSource;]%nugetSource% echo $(NugetSource) @@ -145,7 +145,7 @@ steps: displayName: "Core Publish" enabled: false - - script: '"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe" /target:Restore /detailedsummary /consoleloggerparameters:PerformanceSummary;ErrorsOnly; /property:Configuration=$(Configuration);TargetFrameworkVersion=v4.8 /p:RestoreSources=$(NugetSource)' + - script: '"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe" /target:Restore /detailedsummary /consoleloggerparameters:PerformanceSummary;ErrorsOnly; /property:Configuration=$(Configuration);TargetFrameworkVersion=v4.8 /p:RestoreSources="$(NugetSource)"' displayName: "MSBuild Restore" - script: '"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe" /target:Build /detailedsummary /consoleloggerparameters:PerformanceSummary;ErrorsOnly; /property:Configuration=$(Configuration);TargetFrameworkVersion=v4.8' @@ -163,11 +163,11 @@ steps: OverWrite: true - task: CopyFiles@2 - displayName: 'Copy Files to: \\mesfs.infineon.com\EC_EAFRepository' + displayName: 'Copy Files to: Local D EAF Deployment Storage' inputs: Contents: "*$(Build.Repository.Name)*" SourceFolder: 'bin\$(Configuration)' - TargetFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\Adaptation_$(Build.Repository.Name)' + TargetFolder: 'D:\EAF\EAF Deployment Storage\Adaptation_$(Build.Repository.Name)' OverWrite: true - script: | diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08DDUPSFS6420.cs index f4200f3..b6c05ce 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08DDUPSFS6420.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 MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__MoveMatchingFiles() { @@ -61,9 +59,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer() { @@ -74,9 +70,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__IQSSi() { @@ -87,9 +81,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsight() { @@ -100,9 +92,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() { @@ -113,9 +103,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__APC() { @@ -126,9 +114,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__SPaCe() { @@ -139,9 +125,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__Processed() { @@ -152,9 +136,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__Archive() { @@ -165,9 +147,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__Dummy() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR1.cs index 1a363b0..8358f70 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR1.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 TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__TENCOR1__pcl() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR2.cs index 475b1b5..6c3fc3a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR2.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 TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__TENCOR2__pcl() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR3.cs index 4fc3f11..e612ba6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR3.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 TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__TENCOR3__pcl() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/MET08DDUPSFS6420.cs new file mode 100644 index 0000000..58d5433 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/MET08DDUPSFS6420.cs @@ -0,0 +1,182 @@ +#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.Staging.v2_57_0; + +[TestClass] +public class MET08DDUPSFS6420 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MET08DDUPSFS6420 EAFLoggingUnitTesting { get; private set; } + + static MET08DDUPSFS6420() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public MET08DDUPSFS6420() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MET08DDUPSFS6420(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MET08DDUPSFS6420(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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__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 Staging__v2_57_0__MET08DDUPSFS6420__Dummy() + { + string check = "637400762709163000.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")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TENCOR1.cs new file mode 100644 index 0000000..f5473e6 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TENCOR1.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.Staging.v2_57_0; + +[TestClass] +public class TENCOR1 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static TENCOR1 EAFLoggingUnitTesting { get; private set; } + + static TENCOR1() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public TENCOR1() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public TENCOR1(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new TENCOR1(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 Staging__v2_57_0__TENCOR1__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/Staging/v2.57.0/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TENCOR2.cs new file mode 100644 index 0000000..7d7ebe3 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TENCOR2.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.Staging.v2_57_0; + +[TestClass] +public class TENCOR2 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static TENCOR2 EAFLoggingUnitTesting { get; private set; } + + static TENCOR2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public TENCOR2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public TENCOR2(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new TENCOR2(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 Staging__v2_57_0__TENCOR2__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/Staging/v2.57.0/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TENCOR3.cs new file mode 100644 index 0000000..952d5c8 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.57.0/TENCOR3.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.Staging.v2_57_0; + +[TestClass] +public class TENCOR3 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static TENCOR3 EAFLoggingUnitTesting { get; private set; } + + static TENCOR3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public TENCOR3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public TENCOR3(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new TENCOR3(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 Staging__v2_57_0__TENCOR3__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/Extract/Staging/v2.56.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08DDUPSFS6420.cs index 122a533..ba5df60 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08DDUPSFS6420.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -31,21 +31,15 @@ public class MET08DDUPSFS6420 catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__MoveMatchingFiles(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal() { @@ -60,21 +54,15 @@ public class MET08DDUPSFS6420 NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__IQSSi(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__OpenInsight(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql() { @@ -88,15 +76,11 @@ public class MET08DDUPSFS6420 NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments638519735942138814__HeaderId() { @@ -110,33 +94,23 @@ public class MET08DDUPSFS6420 NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__APC(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__SPaCe(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__Processed(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__Archive(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__Dummy(); diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR1.cs index 810a9a4..fa0cbc6 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR1.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -31,15 +31,11 @@ public class TENCOR1 catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__TENCOR1__pcl() => _TENCOR1.Staging__v2_56_0__TENCOR1__pcl(); -#if DEBUG [Ignore] -#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_56_0__TENCOR1__pcl637955518212649513__Normal() diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR2.cs index 93d0dc5..23bc971 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR2.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -31,15 +31,11 @@ public class TENCOR2 catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__TENCOR2__pcl() => _TENCOR2.Staging__v2_56_0__TENCOR2__pcl(); -#if DEBUG [Ignore] -#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_56_0__TENCOR2__pcl637955534973701250__Normal() diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR3.cs index cd01c9f..18c6198 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR3.cs @@ -1,4 +1,4 @@ -#if true +#if v2_56_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -31,15 +31,11 @@ public class TENCOR3 catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_56_0__TENCOR3__pcl() => _TENCOR3.Staging__v2_56_0__TENCOR3__pcl(); -#if DEBUG [Ignore] -#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_56_0__TENCOR3__pcl637955520360305921__Normal() diff --git a/Adaptation/_Tests/Extract/Staging/v2.57.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.57.0/MET08DDUPSFS6420.cs new file mode 100644 index 0000000..372ab81 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.57.0/MET08DDUPSFS6420.cs @@ -0,0 +1,144 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_57_0; + +[TestClass] +public class MET08DDUPSFS6420 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_57_0.MET08DDUPSFS6420 _MET08DDUPSFS6420; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_57_0.MET08DDUPSFS6420.ClassInitialize(testContext); + _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_57_0.MET08DDUPSFS6420.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); + string[] variables = _MET08DDUPSFS6420.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08DDUPSFS6420.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsight(); + string[] variables = _MET08DDUPSFS6420.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08DDUPSFS6420.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments638519735942138814__HeaderId() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); + string[] variables = _MET08DDUPSFS6420.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08DDUPSFS6420.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__APC(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__SPaCe(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_57_0__MET08DDUPSFS6420__Dummy(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR1.cs new file mode 100644 index 0000000..b415c62 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR1.cs @@ -0,0 +1,59 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_57_0; + +[TestClass] +public class TENCOR1 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_57_0.TENCOR1 _TENCOR1; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_57_0.TENCOR1.ClassInitialize(testContext); + _TENCOR1 = CreateSelfDescription.Staging.v2_57_0.TENCOR1.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__TENCOR1__pcl() => _TENCOR1.Staging__v2_57_0__TENCOR1__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + [ExpectedException(typeof(MissingMethodException))] + public void Staging__v2_57_0__TENCOR1__pcl637955518212649513__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _TENCOR1.Staging__v2_57_0__TENCOR1__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _TENCOR1.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _TENCOR1.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR2.cs new file mode 100644 index 0000000..f443886 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR2.cs @@ -0,0 +1,59 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_57_0; + +[TestClass] +public class TENCOR2 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_57_0.TENCOR2 _TENCOR2; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_57_0.TENCOR2.ClassInitialize(testContext); + _TENCOR2 = CreateSelfDescription.Staging.v2_57_0.TENCOR2.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__TENCOR2__pcl() => _TENCOR2.Staging__v2_57_0__TENCOR2__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + [ExpectedException(typeof(MissingMethodException))] + public void Staging__v2_57_0__TENCOR2__pcl637955534973701250__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _TENCOR2.Staging__v2_57_0__TENCOR2__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _TENCOR2.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _TENCOR2.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR3.cs new file mode 100644 index 0000000..ee530db --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.57.0/TENCOR3.cs @@ -0,0 +1,59 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_57_0; + +[TestClass] +public class TENCOR3 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_57_0.TENCOR3 _TENCOR3; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_57_0.TENCOR3.ClassInitialize(testContext); + _TENCOR3 = CreateSelfDescription.Staging.v2_57_0.TENCOR3.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_57_0__TENCOR3__pcl() => _TENCOR3.Staging__v2_57_0__TENCOR3__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + [ExpectedException(typeof(MissingMethodException))] + public void Staging__v2_57_0__TENCOR3__pcl637955520360305921__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _TENCOR3.Staging__v2_57_0__TENCOR3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _TENCOR3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _TENCOR3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Static/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Static/MET08DDUPSFS6420.cs index 57244ee..2539de8 100644 --- a/Adaptation/_Tests/Static/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Static/MET08DDUPSFS6420.cs @@ -64,7 +64,7 @@ public class MET08DDUPSFS6420 : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("MET08DDUPSFS6420", "v2.56.0"), + new("MET08DDUPSFS6420", "v2.57.0"), }; string staging = "http://mestsa07ec.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 6364419..bdb5710 100644 --- a/Adaptation/_Tests/Static/pcl.cs +++ b/Adaptation/_Tests/Static/pcl.cs @@ -210,9 +210,9 @@ public class PCL : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("TENCOR1", "v2.56.0"), - new("TENCOR2", "v2.56.0"), - new("TENCOR3", "v2.56.0"), + new("TENCOR1", "v2.57.0"), + new("TENCOR2", "v2.57.0"), + new("TENCOR3", "v2.57.0"), new("TENCOR1-EQPT", "v2.12.3"), new("TENCOR2-EQPT", "v2.12.3"), new("TENCOR3-EQPT", "v2.12.3"), diff --git a/MET08DDUPSFS6420.csproj b/MET08DDUPSFS6420.csproj index 5bf9735..ca78790 100644 --- a/MET08DDUPSFS6420.csproj +++ b/MET08DDUPSFS6420.csproj @@ -176,7 +176,7 @@ 7.2.4630.5 - 2.56.0 + 2.57.0 1.1.1 diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index ea0135a..a91a7d7 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.56.0.0")] -[assembly: AssemblyFileVersion("2.56.0.0")] +[assembly: AssemblyVersion("2.57.0.0")] +[assembly: AssemblyFileVersion("2.57.0.0")]