diff --git a/.gitignore b/.gitignore index e85055c..5bede07 100644 --- a/.gitignore +++ b/.gitignore @@ -337,5 +337,8 @@ ASALocalRun/ !**/.vscode/launch.json !**/.vscode/settings.json !**/.vscode/tasks.json +!**/.vscode/mklink.md *.lnk + +.kanbn/**/* diff --git a/.vscode/mklink.md b/.vscode/mklink.md new file mode 100644 index 0000000..6f269d2 --- /dev/null +++ b/.vscode/mklink.md @@ -0,0 +1,11 @@ +--- +type: "note" +created: "2023-10-20T03:52:57.401Z" +updated: "2023-10-20T03:53:49.161Z" +--- + +# mklink + +```bash +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08RESISRP2100\06_SourceCode\MET08RESISRP2100\.kanbn" "D:\Documents\Kanban\MET08RESISRP2100" +``` diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..71cf24f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,55 @@ +{ + "files.eol": "\n", + "[markdown]": { + "editor.wordWrap": "off" + }, + "cSpell.words": [ + "PDSF", + "Syncthing" + ], + "files.exclude": { + "**/node_modules": true + }, + "files.watcherExclude": { + "**/node_modules": true + }, + "foam.files.ignore": [ + ".foam/**/*", + ".stfolder/**/*", + "**/_layouts/**/*", + "**/_site/**/*", + "**/.vscode/**/*", + "**/node_modules/**/*" + ], + "kanbn.showBurndownButton": false, + "kanbn.showSprintButton": false, + "foam.links.hover.enable": false, + "foam.placeholders.exclude": [ + ".kanbn/Archive/**/*" + ], + "foam.orphans.exclude": [ + ".journal/**/*" + ], + "foam.graph.style": { + "background": "#202020", + "node": { + "wired": "green", + "wireless": "orange", + "person": "white", + "topic": "#bc2a3c", + "kanbn": "#ff7b00", + "basic-note": "#773b93", + "daily-note": "#ff9d00", + "note": "#f2cb1d", + "placeholder": "#ff9d00", + "tag": "#0494c1", + "bug": "#bc2a3c", + "epic": "#ff7b00", + "feature": "#773b93", + "issue": "#ff9d00", + "task": "#f2cb1d", + "test-case": "#ff9d00", + "user-story": "#0494c1" + } + } +} \ No newline at end of file diff --git a/Adaptation/.kanbn/board.css b/Adaptation/.kanbn/board.css deleted file mode 100644 index 8bc14b6..0000000 --- a/Adaptation/.kanbn/board.css +++ /dev/null @@ -1,7 +0,0 @@ -.kanbn-task-data-workload { - display: none; -} -.kanbn-task-data-relation { - display: block; - color: #198038; -} diff --git a/Adaptation/.kanbn/index.md b/Adaptation/.kanbn/index.md deleted file mode 100644 index e48a036..0000000 --- a/Adaptation/.kanbn/index.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -type: "kanbn" -created: 2023-07-07T15:37:56.040Z -updated: 2023-07-18T19:52:59.668Z -startedColumns: - - 'In Progress' -completedColumns: - - Done -dateFormat: mm/dd -taskTemplate: '^+^_${overdue ? ''^R'' : ''''}${name}^: ${relations ? (''\n^-^/^g'' + relations.reduce((accumulator, currentValue) => accumulator.task + currentValue.task + '' '', '''')) : ''''}' ---- - -# MET08RESISRP2100 - -## Backlog - -## Todo - -## In Progress - -## Done diff --git a/Adaptation/FileHandlers/OpenInsight/FileRead.cs b/Adaptation/FileHandlers/OpenInsight/FileRead.cs index 8c40024..0f1e0a4 100644 --- a/Adaptation/FileHandlers/OpenInsight/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsight/FileRead.cs @@ -35,7 +35,7 @@ public class FileRead : Shared.FileRead, IFileRead if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); _OpenInsightApiIFXDirectory = @"\\messdv002.na.infineon.com\Candela\Archive\API"; - _OpenInsightApiECDirectory = @"\\messv02ecc1.ec.local\EC_Metrology_Si\Archive\API"; + _OpenInsightApiECDirectory = @"\\mesfs.infineon.com\EC_Metrology_Si\Archive\API"; _IqsConnectionString = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "IQS.ConnectionString"); _OpenInsightFilePattern = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.FilePattern"); } diff --git a/Adaptation/FileHandlers/OpenInsight/FromIQS.cs b/Adaptation/FileHandlers/OpenInsight/FromIQS.cs index 7191c31..4bbaf01 100644 --- a/Adaptation/FileHandlers/OpenInsight/FromIQS.cs +++ b/Adaptation/FileHandlers/OpenInsight/FromIQS.cs @@ -58,7 +58,7 @@ public class FromIQS .AppendLine(" on se.f_lot = pl.f_lot ") .AppendLine(" join [spcepiworld].[dbo].[part_dat] pd ") .AppendLine(" on se.f_part = pd.f_part ") - .AppendLine(" join [spcepiworld].[dbo].[test_dat] td ") + .AppendLine(" join [spcepiworld].[dbo].[test_dat] td ") .AppendLine(" on se.f_test = td.f_test ") .AppendLine(" where se.f_flag = 0 "); if (subGroupId is not null) diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs index 958d272..5cef991 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs @@ -31,7 +31,7 @@ public class FileRead : Shared.FileRead, IFileRead throw new Exception(cellInstanceConnectionName); if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); - _OpenInsightMetrologyViewerFileShare = @"\\messv02ecc1.ec.local\EC_Metrology_Si\MetrologyAttachments\SRPRunHeader_"; + _OpenInsightMetrologyViewerFileShare = @"\\mesfs.infineon.com\EC_Metrology_Si\MetrologyAttachments\SRPRunHeader_"; _OpenInsightMetrologyViewerAPI = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerAPI"); } diff --git a/Adaptation/MET08RESISRP2100-Development.yml b/Adaptation/MET08RESISRP2100-Development.yml index 4dd02b6..07db7ea 100644 --- a/Adaptation/MET08RESISRP2100-Development.yml +++ b/Adaptation/MET08RESISRP2100-Development.yml @@ -7,7 +7,7 @@ trigger: - "Adaptation/*" pool: - name: Mesa-Windows-Service + name: eaf demands: MET08RESISRP2100-Development steps: diff --git a/Adaptation/MET08RESISRP2100.yml b/Adaptation/MET08RESISRP2100.yml index 4438e99..568f1cd 100644 --- a/Adaptation/MET08RESISRP2100.yml +++ b/Adaptation/MET08RESISRP2100.yml @@ -7,7 +7,7 @@ trigger: - "Adaptation/*" pool: - name: Mesa-Windows-Service + name: eaf demands: MET08RESISRP2100 steps: diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESISRP2100.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESISRP2100.cs index 98701e7..378b128 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESISRP2100.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESISRP2100.cs @@ -18,7 +18,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESISRP2100 EAFLoggingUnitTesting { get; private set; } - static MET08RESISRP2100() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESISRP2100() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESISRP2100() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/SRP-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/SRP-EQPT.cs index c891dca..956b8b9 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/SRP-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/SRP-EQPT.cs @@ -18,7 +18,7 @@ public class SRP_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static SRP_EQPT EAFLoggingUnitTesting { get; private set; } - static SRP_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static SRP_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public SRP_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/SRP.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/SRP.cs index c58de7d..467cc55 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/SRP.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/SRP.cs @@ -18,7 +18,7 @@ public class SRP : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static SRP EAFLoggingUnitTesting { get; private set; } - static SRP() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static SRP() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public SRP() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESISRP2100.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESISRP2100.cs index 56c540e..260408b 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESISRP2100.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESISRP2100.cs @@ -18,7 +18,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESISRP2100 EAFLoggingUnitTesting { get; private set; } - static MET08RESISRP2100() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESISRP2100() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESISRP2100() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,9 +47,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__MoveMatchingFiles() { @@ -60,9 +58,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsightMetrologyViewer() { @@ -73,9 +69,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__IQSSi() { @@ -86,9 +80,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsight() { @@ -99,9 +91,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsightMetrologyViewerAttachments() { @@ -112,9 +102,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__APC() { @@ -125,9 +113,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__SPaCe() { @@ -138,9 +124,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__Processed() { @@ -151,9 +135,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__Archive() { @@ -164,9 +146,7 @@ public class MET08RESISRP2100 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__Dummy() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/SRP-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/SRP-EQPT.cs index 7219c7d..febbaf6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/SRP-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/SRP-EQPT.cs @@ -18,7 +18,7 @@ public class SRP_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static SRP_EQPT EAFLoggingUnitTesting { get; private set; } - static SRP_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static SRP_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public SRP_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,9 +47,7 @@ public class SRP_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__SRP_EQPT__csv() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/SRP.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/SRP.cs index 20f804a..30e11ef 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/SRP.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/SRP.cs @@ -18,7 +18,7 @@ public class SRP : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static SRP EAFLoggingUnitTesting { get; private set; } - static SRP() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static SRP() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public SRP() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,9 +47,7 @@ public class SRP : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__SRP__json() { diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESISRP2100.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESISRP2100.cs new file mode 100644 index 0000000..7107c3b --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESISRP2100.cs @@ -0,0 +1,180 @@ +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_49_3; + +[TestClass] +public class MET08RESISRP2100 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MET08RESISRP2100 EAFLoggingUnitTesting { get; private set; } + + static MET08RESISRP2100() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public MET08RESISRP2100() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MET08RESISRP2100(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MET08RESISRP2100(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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__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_49_3__MET08RESISRP2100__Dummy() + { + string check = "638191594841489860.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")); + } + +} \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/SRP-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/SRP-EQPT.cs new file mode 100644 index 0000000..3e676e1 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/SRP-EQPT.cs @@ -0,0 +1,63 @@ +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_49_3; + +[TestClass] +public class SRP_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static SRP_EQPT EAFLoggingUnitTesting { get; private set; } + + static SRP_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public SRP_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public SRP_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new SRP_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 Staging__v2_49_3__SRP_EQPT__csv() + { + string check = "*.csv"; + 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")); + } + +} \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/SRP.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/SRP.cs new file mode 100644 index 0000000..dfc12d3 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/SRP.cs @@ -0,0 +1,63 @@ +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_49_3; + +[TestClass] +public class SRP : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static SRP EAFLoggingUnitTesting { get; private set; } + + static SRP() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public SRP() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public SRP(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new SRP(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_49_3__SRP__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")); + } + +} \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESISRP2100.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESISRP2100.cs index be8189b..88446a0 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESISRP2100.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESISRP2100.cs @@ -30,21 +30,15 @@ public class MET08RESISRP2100 catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__MoveMatchingFiles() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__MoveMatchingFiles(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsightMetrologyViewer() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__OpenInsightMetrologyViewer(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsightMetrologyViewer638191594841489860__First() { @@ -58,15 +52,11 @@ public class MET08RESISRP2100 NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__IQSSi() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__IQSSi(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__IQSSi638191594841489860__First() { @@ -80,15 +70,11 @@ public class MET08RESISRP2100 NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsight() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__OpenInsight(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsight638191594841489860__First() { @@ -102,15 +88,11 @@ public class MET08RESISRP2100 NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsightMetrologyViewerAttachments() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__OpenInsightMetrologyViewerAttachments(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__OpenInsightMetrologyViewerAttachments638191594841489860__First() { @@ -124,33 +106,23 @@ public class MET08RESISRP2100 NonThrowTryCatch(); } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__APC() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__APC(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__SPaCe() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__SPaCe(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__Processed() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__Processed(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__Archive() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__Archive(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__MET08RESISRP2100__Dummy() => _MET08RESISRP2100.Staging__v2_49_2__MET08RESISRP2100__Dummy(); diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/SRP-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/SRP-EQPT.cs index 7009aed..a7d3bbc 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/SRP-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/SRP-EQPT.cs @@ -30,15 +30,11 @@ public class SRP_EQPT catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__SRP_EQPT__csv() => _SRP_EQPT.Staging__v2_49_2__SRP_EQPT__csv(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__SRP_EQPT__csv638185594063339969__First() { diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/SRP.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/SRP.cs index 05b4b89..fcac00c 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/SRP.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/SRP.cs @@ -30,15 +30,11 @@ public class SRP catch (Exception) { } } -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__SRP__json() => _SRP.Staging__v2_49_2__SRP__json(); -#if DEBUG [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__SRP__json638185594063339969__First() { diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESISRP2100.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESISRP2100.cs new file mode 100644 index 0000000..b708405 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESISRP2100.cs @@ -0,0 +1,157 @@ +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_49_3; + +[TestClass] +public class MET08RESISRP2100 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.MET08RESISRP2100 _MET08RESISRP2100; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.MET08RESISRP2100.ClassInitialize(testContext); + _MET08RESISRP2100 = CreateSelfDescription.Staging.v2_49_3.MET08RESISRP2100.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__MoveMatchingFiles() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__OpenInsightMetrologyViewer() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__OpenInsightMetrologyViewer(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__OpenInsightMetrologyViewer638191594841489860__First() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__OpenInsightMetrologyViewer(); + string[] variables = _MET08RESISRP2100.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESISRP2100.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_49_3__MET08RESISRP2100__IQSSi() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__IQSSi638191594841489860__First() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__IQSSi(); + string[] variables = _MET08RESISRP2100.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESISRP2100.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_49_3__MET08RESISRP2100__OpenInsight() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__OpenInsight(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__OpenInsight638191594841489860__First() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__OpenInsight(); + string[] variables = _MET08RESISRP2100.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESISRP2100.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_49_3__MET08RESISRP2100__OpenInsightMetrologyViewerAttachments() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__OpenInsightMetrologyViewerAttachments(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__OpenInsightMetrologyViewerAttachments638191594841489860__First() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__OpenInsightMetrologyViewerAttachments(); + string[] variables = _MET08RESISRP2100.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESISRP2100.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_49_3__MET08RESISRP2100__APC() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__APC(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__SPaCe() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__SPaCe(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__Processed() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__Archive() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESISRP2100__Dummy() => _MET08RESISRP2100.Staging__v2_49_3__MET08RESISRP2100__Dummy(); + +} \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/SRP-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/SRP-EQPT.cs new file mode 100644 index 0000000..6220e7b --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/SRP-EQPT.cs @@ -0,0 +1,56 @@ +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_49_3; + +[TestClass] +public class SRP_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.SRP_EQPT _SRP_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.SRP_EQPT.ClassInitialize(testContext); + _SRP_EQPT = CreateSelfDescription.Staging.v2_49_3.SRP_EQPT.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__SRP_EQPT__csv() => _SRP_EQPT.Staging__v2_49_3__SRP_EQPT__csv(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__SRP_EQPT__csv638185594063339969__First() + { + string check = "*.csv"; + bool validatePDSF = false; + _SRP_EQPT.Staging__v2_49_3__SRP_EQPT__csv(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _SRP_EQPT.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _SRP_EQPT.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/SRP.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/SRP.cs new file mode 100644 index 0000000..0085af2 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/SRP.cs @@ -0,0 +1,56 @@ +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_49_3; + +[TestClass] +public class SRP +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.SRP _SRP; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.SRP.ClassInitialize(testContext); + _SRP = CreateSelfDescription.Staging.v2_49_3.SRP.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__SRP__json() => _SRP.Staging__v2_49_3__SRP__json(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__SRP__json638185594063339969__First() + { + string check = "*.json"; + bool validatePDSF = false; + _SRP.Staging__v2_49_3__SRP__json(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _SRP.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _SRP.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} \ No newline at end of file diff --git a/Adaptation/_Tests/Shared/AdaptationTesting.cs b/Adaptation/_Tests/Shared/AdaptationTesting.cs index e55beee..0771b8b 100644 --- a/Adaptation/_Tests/Shared/AdaptationTesting.cs +++ b/Adaptation/_Tests/Shared/AdaptationTesting.cs @@ -487,7 +487,7 @@ public class AdaptationTesting : ISMTP else if (i == 1) _ = stringBuilder. AppendLine(). - Append("static ").Append(cellInstanceNameWithoutHyphen).AppendLine("() => DummyRoot = @\"\\\\messv02ecc1.ec.local\\EC_Characterization_Si\\Dummy\";"). + Append("static ").Append(cellInstanceNameWithoutHyphen).AppendLine("() => DummyRoot = @\"\\\\mesfs.infineon.com\\EC_Characterization_Si\\Dummy\";"). AppendLine(). Append("public ").Append(cellInstanceNameWithoutHyphen).AppendLine("() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)"). AppendLine("{"). diff --git a/Adaptation/_Tests/Static/MET08RESISRP2100.cs b/Adaptation/_Tests/Static/MET08RESISRP2100.cs index 932c636..2e61350 100644 --- a/Adaptation/_Tests/Static/MET08RESISRP2100.cs +++ b/Adaptation/_Tests/Static/MET08RESISRP2100.cs @@ -66,7 +66,7 @@ public class MET08RESISRP2100 : LoggingUnitTesting, IDisposable { new("MET08RESISRP2100", "v2.49.2"), }; - string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2"; + string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); foreach ((string cellInstanceName, string cellInstanceVersionName) in collection) diff --git a/Adaptation/_Tests/Static/json.cs b/Adaptation/_Tests/Static/json.cs index 6590317..1e6323f 100644 --- a/Adaptation/_Tests/Static/json.cs +++ b/Adaptation/_Tests/Static/json.cs @@ -207,7 +207,7 @@ public class JSON : LoggingUnitTesting, IDisposable { new("SRP", "v2.49.2"), }; - string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2"; + string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); foreach ((string cellInstanceName, string cellInstanceVersionName) in collection) diff --git a/Adaptation/appsettings.Development.json b/Adaptation/appsettings.Development.json index f7e0b36..8630239 100644 --- a/Adaptation/appsettings.Development.json +++ b/Adaptation/appsettings.Development.json @@ -45,7 +45,7 @@ "Password": "tVyC7uPHtScZR8NLInSaxQ==" }, { - "Use": true, + "Use": false, "Letter": "i", "Share": "\\\\messdv002.na.infineon.com\\Candela", "User": "INFINEON\\MESGaNEAF", @@ -115,14 +115,14 @@ "Password": "rzXkXdHKetDfsukhZKW0yA==" }, { - "Use": true, + "Use": false, "Letter": "s", "Share": "\\\\messv02ecc1.ec.local\\EC_EAFRepository", "User": "EC\\ECMESEAF", "Password": "CUGygiPwahy4U3j+6KqqoMZ08STyVDR1rKm6MwPpt00=" }, { - "Use": true, + "Use": false, "Letter": "t", "Share": "\\\\messv02ecc1.ec.local\\EC_EDA", "User": "EC\\ECEDASvc", diff --git a/Adaptation/appsettings.json b/Adaptation/appsettings.json index d15d437..842b156 100644 --- a/Adaptation/appsettings.json +++ b/Adaptation/appsettings.json @@ -45,7 +45,7 @@ "Password": "tVyC7uPHtScZR8NLInSaxQ==" }, { - "Use": true, + "Use": false, "Letter": "i", "Share": "\\\\messdv002.na.infineon.com\\Candela", "User": "INFINEON\\MESGaNEAF", @@ -115,14 +115,14 @@ "Password": "rzXkXdHKetDfsukhZKW0yA==" }, { - "Use": true, + "Use": false, "Letter": "s", "Share": "\\\\messv02ecc1.ec.local\\EC_EAFRepository", "User": "EC\\ECMESEAF", "Password": "CUGygiPwahy4U3j+6KqqoMZ08STyVDR1rKm6MwPpt00=" }, { - "Use": true, + "Use": false, "Letter": "t", "Share": "\\\\messv02ecc1.ec.local\\EC_EDA", "User": "EC\\ECEDASvc", diff --git a/MET08RESISRP2100.csproj b/MET08RESISRP2100.csproj index 4e9547d..ba6a2ff 100644 --- a/MET08RESISRP2100.csproj +++ b/MET08RESISRP2100.csproj @@ -198,7 +198,7 @@ - 2.49.3 + 2.52.0 6.0.3