diff --git a/.gitignore b/.gitignore index 5bede07..56d8c06 100644 --- a/.gitignore +++ b/.gitignore @@ -341,4 +341,5 @@ ASALocalRun/ *.lnk -.kanbn/**/* +.kanbn +Adaptation/.kanbn diff --git a/.vscode/mklink.md b/.vscode/mklink.md deleted file mode 100644 index 60392df..0000000 --- a/.vscode/mklink.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -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\MET08DDUPSFS6420\06_SourceCode\MET08DDUPSFS6420\.kanbn" "D:\Documents\Kanban\MET08DDUPSFS6420" -``` diff --git a/Adaptation/.editorconfig b/Adaptation/.editorconfig index bd60911..69ecc38 100644 --- a/Adaptation/.editorconfig +++ b/Adaptation/.editorconfig @@ -100,6 +100,7 @@ dotnet_diagnostic.CA1846.severity = none # CA1846: Prefer AsSpan over Substring dotnet_diagnostic.CA1847.severity = none # CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters dotnet_diagnostic.CA1854.severity = warning # CA1854: Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup dotnet_diagnostic.CA1860.severity = error # CA1860: Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance +dotnet_diagnostic.CA1861.severity = none # CA1861: Prefer 'static readonly' fields over constant array arguments dotnet_diagnostic.CA1862.severity = none # CA1862: Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' dotnet_diagnostic.CA1864.severity = none # CA1864: To avoid double lookup, call 'TryAdd' instead of calling 'Add' with a 'ContainsKey' guard dotnet_diagnostic.CA1866.severity = none # CA1866: Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char diff --git a/Adaptation/.vscode/mklink.md b/Adaptation/.vscode/mklink.md new file mode 100644 index 0000000..aff7c94 --- /dev/null +++ b/Adaptation/.vscode/mklink.md @@ -0,0 +1,5 @@ +# mklink + +```bash +mklink /J "T:\MET08DDUPSP1TBI\06_SourceCode\MET08DDUPSP1TBI\Adaptation\.kanbn" "D:\5-Other-Small\Kanban\MET08DDUPSP1TBI" +``` diff --git a/Adaptation/.vscode/tasks.json b/Adaptation/.vscode/tasks.json index fcfe194..b22dbdc 100644 --- a/Adaptation/.vscode/tasks.json +++ b/Adaptation/.vscode/tasks.json @@ -12,6 +12,28 @@ ], "problemMatcher": "$msCompile" }, + { + "label": "Test-Debug", + "command": "dotnet", + "type": "process", + "args": [ + "test", + "-c", + "Debug" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "Test-Release", + "command": "dotnet", + "type": "process", + "args": [ + "test", + "-c", + "Release" + ], + "problemMatcher": "$msCompile" + }, { "label": "Format", "command": "dotnet", @@ -46,7 +68,7 @@ "args": [ "/target:Build", "/restore:True", - "/p:RestoreSources=https://api.nuget.org/v3/index.json%3Bhttps://packagemanagement.eu.infineon.com:4430/api/v2/%3Bhttps://tfs.intra.infineon.com/tfs/ManufacturingIT/_packaging/eaf/nuget/v3/index.json%3Bhttps://localhost/v3/index.json", + "/p:RestoreSources=https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/%3Bhttps://packagemanagement.eu.infineon.com:4430/api/v2/%3Bhttps://tfs.intra.infineon.com/tfs/ManufacturingIT/_packaging/eaf/nuget/v3/index.json%3Bhttps://tfs.intra.infineon.com/tfs/FactoryIntegration/_packaging/EAF%40Local/nuget/v3/index.json%3Bhttps://api.nuget.org/v3/index.json", "/detailedsummary", "/consoleloggerparameters:PerformanceSummary;ErrorsOnly;", "/property:Configuration=Debug;TargetFrameworkVersion=v4.8", @@ -57,7 +79,7 @@ { "label": "File-Folder-Helper AOT s M .Kanbn Tasks", "type": "shell", - "command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net7.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", + "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": [] }, { diff --git a/Adaptation/FileHandlers/OpenInsight/FileRead.cs b/Adaptation/FileHandlers/OpenInsight/FileRead.cs index 50103f9..2682163 100644 --- a/Adaptation/FileHandlers/OpenInsight/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsight/FileRead.cs @@ -29,8 +29,8 @@ public class FileRead : Shared.FileRead, IFileRead { _LastIndex = -1; _MinFileLength = 10; - _NullData = string.Empty; _Logistics = new(this); + _NullData = string.Empty; if (_FileParameter is null) throw new Exception(cellInstanceConnectionName); if (_ModelObjectParameterDefinitions is null) @@ -261,8 +261,8 @@ public class FileRead : Shared.FileRead, IFileRead string lines = GetLines(_Logistics, descriptions); if (!string.IsNullOrEmpty(lines)) { - long? subGroupId; _LastIndex += 1; + long? subGroupId; if (_LastIndex >= _IQSCopyCollection.Count) _LastIndex = 0; long breakAfter = dateTime.AddSeconds(_BreakAfterSeconds).Ticks; @@ -276,6 +276,12 @@ public class FileRead : Shared.FileRead, IFileRead collection.Add(new(new ScopeInfo(tests[0], _OpenInsightFilePattern), lines)); else collection.Add(new(new ScopeInfo(tests[0], $"{subGroupId.Value} {_OpenInsightFilePattern}"), lines)); + if (_StaticRuns.TryGetValue(_Logistics.Sequence, out List values)) + { + if (values.Count != 1) + throw new Exception($"{nameof(_StaticRuns)} {values.Count} != 1 {_Logistics.Sequence}!"); + values[0] = $"{values[0]}|{subGroupId}"; + } string weekOfYear = _Calendar.GetWeekOfYear(_Logistics.DateTimeFromSequence, CalendarWeekRule.FirstDay, DayOfWeek.Sunday).ToString("00"); FromIQS.Save(_OpenInsightApiECDirectory, _Logistics, reportFullPath, logistics, descriptions.First(), lines, subGroupId, weekOfYear); try diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs index b42b419..3ed16ec 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs @@ -31,8 +31,8 @@ public class FileRead : Shared.FileRead, IFileRead throw new Exception(cellInstanceConnectionName); if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); - _OpenInsightMetrologyViewerFileShare = @"\\mesfs.infineon.com\EC_Metrology_Si\MetrologyAttachments\TencorRunHeader_"; _OpenInsightMetrologyViewerAPI = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerAPI"); + _OpenInsightMetrologyViewerFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerFileShare"); } void IFileRead.Move(Tuple> extractResults, Exception exception) @@ -112,16 +112,15 @@ public class FileRead : Shared.FileRead, IFileRead private void SendData(string reportFullPath, DateTime dateTime, List descriptions) { + string checkDirectory; + WSRequest wsRequest = new(this, _Logistics, descriptions); int weekOfYear = _Calendar.GetWeekOfYear(dateTime, CalendarWeekRule.FirstDay, DayOfWeek.Sunday); - string directory = Path.Combine(_OpenInsightMetrologyViewerFileShare, dateTime.Year.ToString(), $"WW{weekOfYear:00}", _Logistics.Sequence.ToString()); - if (!Directory.Exists(directory)) - _ = Directory.CreateDirectory(directory); - string fullPath = Path.Combine(directory, Path.GetFileName(reportFullPath)); - if (File.Exists(fullPath)) - File.Delete(fullPath); - File.Copy(reportFullPath, fullPath); - WSRequest wsRequest = new(this, _Logistics, descriptions, fullPath); - (string json, WS.Results wsResults) = WS.SendData(_OpenInsightMetrologyViewerAPI, wsRequest); + string directory = Path.Combine(_OpenInsightMetrologyViewerFileShare, dateTime.Year.ToString(), $"WW{weekOfYear:00}"); + checkDirectory = Path.Combine(directory, _Logistics.Sequence.ToString()); + if (!Directory.Exists(checkDirectory)) + _ = Directory.CreateDirectory(checkDirectory); + File.Copy(reportFullPath, Path.Combine(checkDirectory, Path.GetFileName(reportFullPath)), overwrite: true); + (string jsonResults, WS.Results wsResults) = WS.SendData(_OpenInsightMetrologyViewerAPI, _Logistics.Sequence, directory, wsRequest); if (!wsResults.Success) throw new Exception(wsResults.ToString()); _Log.Debug(wsResults.HeaderID); @@ -129,8 +128,12 @@ public class FileRead : Shared.FileRead, IFileRead { if (!_StaticRuns.ContainsKey(_Logistics.Sequence)) _StaticRuns.Add(_Logistics.Sequence, new()); - _StaticRuns[_Logistics.Sequence].Add(json); + _StaticRuns[_Logistics.Sequence].Add(jsonResults); } + checkDirectory = Path.Combine(directory, $"-{wsResults.HeaderID}"); + if (!Directory.Exists(checkDirectory)) + _ = Directory.CreateDirectory(checkDirectory); + File.Copy(reportFullPath, Path.Combine(checkDirectory, Path.GetFileName(reportFullPath)), overwrite: true); } private Tuple> GetExtractResult(string reportFullPath, DateTime dateTime) diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs index b6cc95c..9d465e8 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs @@ -67,7 +67,6 @@ public class WSRequest #pragma warning disable IDE1006 public int i { get; set; } public List Details { get; protected set; } - public string ProcessDataStandardFormat { get; set; } [Obsolete("For json")] public WSRequest() { } @@ -75,7 +74,6 @@ public class WSRequest internal WSRequest(IFileRead fileRead, Logistics logistics, List descriptions, string processDataStandardFormat = null) #pragma warning restore IDE0060 { - ProcessDataStandardFormat = processDataStandardFormat; i = -1; Id = -1; Zone = null; @@ -287,23 +285,30 @@ public class WSRequest pdDocument.close(); } -#pragma warning disable IDE0060 - internal static void PostOpenInsightMetrologyViewerAttachments(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, DateTime dateTime, string json, List descriptions, string matchDirectory) -#pragma warning restore IDE0060 + internal static long GetHeaderId(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, DateTime dateTime, int weekOfYear, string json, List descriptions) { - string checkFileName; + long result; if (string.IsNullOrEmpty(json)) { - WSRequest wsRequest = new(fileRead, logistics, descriptions, string.Empty); - (json, WS.Results wsResults) = WS.SendData(openInsightMetrologyViewerAPI, wsRequest); + WSRequest wsRequest = new(fileRead, logistics, descriptions); + string directory = Path.Combine(openInsightMetrologyViewerAPI, dateTime.Year.ToString(), $"WW{weekOfYear:00}"); + (json, WS.Results wsResults) = WS.SendData(openInsightMetrologyViewerAPI, logistics.Sequence, directory, wsRequest); if (!wsResults.Success) throw new Exception(wsResults.ToString()); } WS.Results metrologyWSRequest = JsonSerializer.Deserialize(json, new JsonSerializerOptions { PropertyNameCaseInsensitive = true }); - long wsResultsHeaderID = metrologyWSRequest.HeaderID; + result = metrologyWSRequest.HeaderID; + return result; + } + +#pragma warning disable IDE0060 + internal static void PostOpenInsightMetrologyViewerAttachments(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, List descriptions, string matchDirectory, string subGroupId, long headerId, string headerIdDirectory) +#pragma warning restore IDE0060 + { + string checkFileName; string[] pclFiles = Directory.GetFiles(matchDirectory, "*.pcl", SearchOption.TopDirectoryOnly); if (pclFiles.Length != 1) - throw new Exception($"Invalid source file count for <{wsResultsHeaderID}>!{Environment.NewLine}{json}"); + throw new Exception($"Invalid source file count for <{headerId}>!"); string sourceFileNameNoExt = Path.GetFileNameWithoutExtension(pclFiles[0]); List dataAttachments = new(); List headerAttachments = new(); @@ -313,23 +318,23 @@ public class WSRequest else { UpdateDataPDF(descriptions, checkFileName); - headerAttachments.Add(new WS.Attachment(descriptions[0].HeaderUniqueId, "Data.pdf", checkFileName)); + headerAttachments.Add(new WS.Attachment(subGroupId, headerId, headerIdDirectory, descriptions[0].HeaderUniqueId, "Data.pdf", checkFileName)); } foreach (pcl.Description description in descriptions) { checkFileName = Path.Combine(matchDirectory, $"{sourceFileNameNoExt}_{description.Slot.Replace('*', 's')}_image.pdf"); if (File.Exists(checkFileName)) - dataAttachments.Add(new WS.Attachment(description.UniqueId, "Image.pdf", checkFileName)); + dataAttachments.Add(new WS.Attachment(subGroupId, headerId, headerIdDirectory, description.UniqueId, "Image.pdf", checkFileName)); else { checkFileName = Path.Combine(matchDirectory, $"{sourceFileNameNoExt}_{description.Slot.Replace('*', 's')}_data.pdf"); if (File.Exists(checkFileName)) - dataAttachments.Add(new WS.Attachment(description.UniqueId, "Image.pdf", checkFileName)); + dataAttachments.Add(new WS.Attachment(subGroupId, headerId, headerIdDirectory, description.UniqueId, "Image.pdf", checkFileName)); } } if (dataAttachments.Count == 0 || dataAttachments.Count != descriptions.Count) throw new Exception($"Invalid attachment count! {dataAttachments.Count} != {descriptions.Count}"); - WS.AttachFiles(openInsightMetrologyViewerAPI, wsResultsHeaderID, headerAttachments, dataAttachments); + WS.AttachFiles(openInsightMetrologyViewerAPI, headerAttachments, dataAttachments); } } \ No newline at end of file diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs index 89b30d1..876e809 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs @@ -5,6 +5,7 @@ using Adaptation.Shared.Duplicator; using Adaptation.Shared.Methods; using System; using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Linq; using System.Text.Json; @@ -14,8 +15,8 @@ namespace Adaptation.FileHandlers.OpenInsightMetrologyViewerAttachments; public class FileRead : Shared.FileRead, IFileRead { - private readonly string _JobIdParentDirectory; private readonly string _OpenInsightMetrologyViewerAPI; + private readonly string _OpenInsightMetrologyViewerFileShare; public FileRead(ISMTP smtp, Dictionary fileParameter, string cellInstanceName, int? connectionCount, string cellInstanceConnectionName, FileConnectorConfiguration fileConnectorConfiguration, string equipmentTypeName, string parameterizedModelObjectDefinitionType, IList modelObjectParameters, string equipmentDictionaryName, Dictionary> dummyRuns, Dictionary> staticRuns, bool useCyclicalForDescription, bool isEAFHosted) : base(new Description(), false, smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null) @@ -29,8 +30,8 @@ public class FileRead : Shared.FileRead, IFileRead throw new Exception(cellInstanceConnectionName); if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); - _JobIdParentDirectory = GetJobIdParentDirectory(_FileConnectorConfiguration.SourceFileLocation); _OpenInsightMetrologyViewerAPI = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerAPI"); + _OpenInsightMetrologyViewerFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerFileShare"); } void IFileRead.Move(Tuple> extractResults, Exception exception) @@ -108,26 +109,58 @@ public class FileRead : Shared.FileRead, IFileRead return results; } -#pragma warning disable IDE0060 - private void PostOpenInsightMetrologyViewerAttachments(string reportFullPath, DateTime dateTime, List descriptions) -#pragma warning restore IDE0060 +#nullable enable + + private string? GetHeaderIdDirectory(DateTime[] dateTimes, long headerId) { - string jobIdDirectory = Path.Combine(_JobIdParentDirectory, _Logistics.JobID); + string? result = null; + int weekNum; + string year; + string weekDirectory; + string checkDirectory; + foreach (DateTime dateTime in dateTimes) + { + year = dateTime.Year.ToString(); + weekNum = _Calendar.GetWeekOfYear(dateTime, CalendarWeekRule.FirstDay, DayOfWeek.Sunday); + weekDirectory = Path.Combine(_OpenInsightMetrologyViewerFileShare, dateTime.Year.ToString(), $"WW{weekNum:00}"); + if (!Directory.Exists(weekDirectory)) + _ = Directory.CreateDirectory(weekDirectory); + checkDirectory = Path.Combine(weekDirectory, $"-{headerId}"); + if (!Directory.Exists(checkDirectory)) + continue; + result = checkDirectory; + break; + } + return result; + } + + private void PostOpenInsightMetrologyViewerAttachments(DateTime dateTime, List descriptions) + { + string? json; + string? subGroupId; + string jobIdDirectory = Path.Combine(Path.GetDirectoryName(_FileConnectorConfiguration.AlternateTargetFolder) ?? throw new Exception(), _Logistics.JobID); if (!Directory.Exists(jobIdDirectory)) _ = Directory.CreateDirectory(jobIdDirectory); - string json; string[] matchDirectories = GetInProcessDirectory(jobIdDirectory); - if (!_StaticRuns.TryGetValue(_Logistics.Sequence, out List collection)) - json = string.Empty; + if (!_StaticRuns.TryGetValue(_Logistics.Sequence, out List? values)) + (json, subGroupId) = (null, null); else { - if (collection.Count != 1) - throw new Exception($"{nameof(_StaticRuns)} has too many values for {_Logistics.Sequence}!"); - json = collection[0]; + if (values.Count != 1) + throw new Exception($"{nameof(_StaticRuns)} {values.Count} != 1 {_Logistics.Sequence}!"); + string[] segments = values[0].Split(new string[] { "|" }, StringSplitOptions.None); + json = segments[0]; + subGroupId = segments.Length > 1 ? segments[1] : null; lock (_StaticRuns) _ = _StaticRuns.Remove(_Logistics.Sequence); } - OpenInsightMetrologyViewer.WSRequest.PostOpenInsightMetrologyViewerAttachments(this, _Logistics, _OpenInsightMetrologyViewerAPI, dateTime, json, descriptions, matchDirectories[0]); + DateTime[] dateTimes = new DateTime[] { dateTime, dateTime.AddDays(-6.66) }; + int weekOfYear = _Calendar.GetWeekOfYear(dateTime, CalendarWeekRule.FirstDay, DayOfWeek.Sunday); + long headerId = OpenInsightMetrologyViewer.WSRequest.GetHeaderId(this, _Logistics, _OpenInsightMetrologyViewerAPI, dateTime, weekOfYear, json, descriptions); + string? headerIdDirectory = GetHeaderIdDirectory(dateTimes, headerId); + if (string.IsNullOrEmpty(headerIdDirectory)) + throw new Exception($"Didn't find header id directory <{headerId}>"); + OpenInsightMetrologyViewer.WSRequest.PostOpenInsightMetrologyViewerAttachments(this, _Logistics, _OpenInsightMetrologyViewerAPI, descriptions, matchDirectories[0], subGroupId, headerId, headerIdDirectory); } private Tuple> GetExtractResult(string reportFullPath, DateTime dateTime) @@ -140,7 +173,7 @@ public class FileRead : Shared.FileRead, IFileRead List descriptions = pcl.ProcessData.GetDescriptions(jsonElements); Test[] tests = (from l in descriptions select (Test)l.Test).ToArray(); if (_IsEAFHosted && _FileConnectorConfiguration.FileScanningIntervalInSeconds > 0) - PostOpenInsightMetrologyViewerAttachments(reportFullPath, dateTime, descriptions); + PostOpenInsightMetrologyViewerAttachments(dateTime, descriptions); results = new Tuple>(pdsf.Item1, tests, jsonElements, new List()); return results; } diff --git a/Adaptation/FileHandlers/pcl/ProcessData.cs b/Adaptation/FileHandlers/pcl/ProcessData.cs index 52ed86e..852a13c 100644 --- a/Adaptation/FileHandlers/pcl/ProcessData.cs +++ b/Adaptation/FileHandlers/pcl/ProcessData.cs @@ -418,10 +418,10 @@ public class ProcessData : IProcessData { _I = 0; ParseErrorText = string.Empty; - if (!pages.ContainsKey(headerFileName)) + if (!pages.TryGetValue(headerFileName, out string value)) throw new Exception(); _I = 0; - _Data = pages[headerFileName]; + _Data = value; ScanPast("Date:"); _ = GetToEOL(); Set(logistics); @@ -508,10 +508,10 @@ public class ProcessData : IProcessData result.HeaderUniqueId = UniqueId; result.Id = 0; result.Title = null; - if (!pages.ContainsKey(waferFileName)) + if (!pages.TryGetValue(waferFileName, out string value)) throw new Exception(); _I = 0; - _Data = pages[waferFileName]; + _Data = value; ScanPast("Date:"); result.Date = GetToEOL(); ScanPast("ID#"); diff --git a/Adaptation/MET08DDUPSFS6420.Tests.csproj b/Adaptation/MET08DDUPSFS6420.Tests.csproj index f668c79..18ef432 100644 --- a/Adaptation/MET08DDUPSFS6420.Tests.csproj +++ b/Adaptation/MET08DDUPSFS6420.Tests.csproj @@ -32,7 +32,10 @@ Linux - + + + + NU1701 NU1701 @@ -42,7 +45,7 @@ NU1701 NU1701 - + @@ -52,17 +55,17 @@ - + - - + + NU1701 - + - - - + + + diff --git a/Adaptation/Shared/FileRead.cs b/Adaptation/Shared/FileRead.cs index b03e5a5..6bdd9cb 100644 --- a/Adaptation/Shared/FileRead.cs +++ b/Adaptation/Shared/FileRead.cs @@ -571,16 +571,99 @@ public class FileRead : Properties.IFileRead } } + internal static List GetDirectoryNames(string directory) + { +#nullable enable + List results = new(); + string? fileName; + string? checkDirectory = directory; + string? pathRoot = Path.GetPathRoot(directory); + string extension = Path.GetExtension(directory); + if (string.IsNullOrEmpty(pathRoot)) + throw new NullReferenceException(nameof(pathRoot)); + if (Directory.Exists(directory)) + { + fileName = Path.GetFileName(directory); + if (!string.IsNullOrEmpty(fileName)) + results.Add(fileName); + } + else if ((string.IsNullOrEmpty(extension) || extension.Length > 3) && !File.Exists(directory)) + { + fileName = Path.GetFileName(directory); + if (!string.IsNullOrEmpty(fileName)) + results.Add(fileName); + } + for (int i = 0; i < int.MaxValue; i++) + { + checkDirectory = Path.GetDirectoryName(checkDirectory); + if (string.IsNullOrEmpty(checkDirectory) || checkDirectory == pathRoot) + break; + fileName = Path.GetFileName(checkDirectory); + if (string.IsNullOrEmpty(fileName)) + continue; + results.Add(fileName); + } + results.Add(pathRoot); + results.Reverse(); + return results; +#nullable disable + } + + private string GetJobIdDirectory(string path) + { + string result; + List directoryNames = GetDirectoryNames(path); + if (!directoryNames.Contains(_Logistics.JobID)) + result = Path.GetDirectoryName(path); + else + { + result = string.Empty; + foreach (string directoryName in directoryNames) + { + result = Path.Combine(result, directoryName); + if (directoryName == _Logistics.JobID) + break; + } + } + return result; + } + + private static void DeleteEmptyTopDirectories(string rootDirectory) + { + if (Directory.Exists(rootDirectory)) + { + string[] files; + string[] directories; + string[] subDirectories = Directory.GetDirectories(rootDirectory, "*", SearchOption.TopDirectoryOnly); + foreach (string subDirectory in subDirectories) + { + files = Directory.GetFiles(subDirectory, "*", SearchOption.AllDirectories); + if (files.Length > 0) + continue; + directories = Directory.GetDirectories(subDirectory, "*", SearchOption.TopDirectoryOnly); + if (directories.Length > 0) + continue; + try + { Directory.Delete(subDirectory); } + catch (UnauthorizedAccessException) + { + new DirectoryInfo(subDirectory).Attributes = FileAttributes.Normal; + Directory.Delete(subDirectory); + } + } + } + } + private void Shared1811(string to, FileInfo sourceFile) { if (!_IsDuplicator && _FileConnectorConfiguration.SourceFileFilter != "*" && sourceFile.Exists && sourceFile.Length < _MinFileLength) { string directoryName = Path.GetFileName(to); - string jobIdDirectory = Path.GetDirectoryName(to); + string jobIdDirectory = GetJobIdDirectory(to); DateTime dateTime = DateTime.Now.AddMinutes(-15); string weekOfYear = _Calendar.GetWeekOfYear(_Logistics.DateTimeFromSequence, CalendarWeekRule.FirstDay, DayOfWeek.Sunday).ToString("00"); string weekDirectory = $"{_Logistics.DateTimeFromSequence:yyyy}_Week_{weekOfYear}{@"\"}{_Logistics.DateTimeFromSequence:yyyy-MM-dd}"; - string destinationDirectory = string.Concat(jobIdDirectory, @"\_ Ignore 100 bytes\", weekDirectory, @"\", directoryName); + string destinationDirectory = Path.Combine(jobIdDirectory, "_ Ignore 100 bytes", weekDirectory, directoryName); if (!Directory.Exists(destinationDirectory)) _ = Directory.CreateDirectory(destinationDirectory); File.Move(sourceFile.FullName, string.Concat(destinationDirectory, @"\", sourceFile.Name)); @@ -605,6 +688,7 @@ public class FileRead : Properties.IFileRead } } catch (Exception) { throw; } + DeleteEmptyTopDirectories(jobIdDirectory); } } diff --git a/Adaptation/Shared/Metrology/WS.Attachment.cs b/Adaptation/Shared/Metrology/WS.Attachment.cs index ea105ed..8edb116 100644 --- a/Adaptation/Shared/Metrology/WS.Attachment.cs +++ b/Adaptation/Shared/Metrology/WS.Attachment.cs @@ -2,18 +2,27 @@ public partial class WS { + public class Attachment { + public string SubGroupId { get; set; } + public long HeaderId { get; set; } + public string HeaderIdDirectory { get; set; } public string UniqueId { get; set; } public string DestinationFileName { get; set; } public string SourceFileName { get; set; } + public string AttachmentId { get; set; } - public Attachment(string uniqueId, string destinationFileName, string sourceFileName) + public Attachment(string subGroupId, long headerId, string headerIdDirectory, string uniqueId, string destinationFileName, string sourceFileName) { + SubGroupId = subGroupId; + HeaderId = headerId; + HeaderIdDirectory = headerIdDirectory; UniqueId = uniqueId; DestinationFileName = destinationFileName; SourceFileName = sourceFileName; + AttachmentId = System.Guid.NewGuid().ToString(); } } diff --git a/Adaptation/Shared/Metrology/WS.cs b/Adaptation/Shared/Metrology/WS.cs index 844efea..4e43fa3 100644 --- a/Adaptation/Shared/Metrology/WS.cs +++ b/Adaptation/Shared/Metrology/WS.cs @@ -10,7 +10,7 @@ namespace Adaptation.Shared.Metrology; public partial class WS { - public static (string, Results) SendData(string url, object payload, int timeoutSeconds = 120) + public static (string, Results) SendData(string url, long sequence, string directory, object payload, int timeoutSeconds = 120) { Results results = new(); string resultsJson = string.Empty; @@ -31,6 +31,10 @@ public partial class WS HttpResponseMessage httpResponseMessage = httpClient.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseContentRead).Result; resultsJson = httpResponseMessage.Content.ReadAsStringAsync().Result; results = JsonSerializer.Deserialize(resultsJson, new JsonSerializerOptions { PropertyNameCaseInsensitive = true }); + string checkDirectory = Path.Combine(directory, $"-{results.HeaderID}"); + if (!Directory.Exists(checkDirectory)) + _ = Directory.CreateDirectory(checkDirectory); + File.WriteAllText(Path.Combine(checkDirectory, $"{sequence}.json"), json); } if (!results.Success) results.Errors.Add(results.ToString()); @@ -51,58 +55,42 @@ public partial class WS return new(resultsJson, results); } - // this method is a wrapper for attaching a file to either a header or data record - // URL is the same URL used for SendData, ex: http://localhost/api/inbound/CDE - // attachToHeaderId is the ID returned by SendData - // attachToDataUniqueId is the string unique ID for the data record, aka the Title of the Sharepoint list entry - // fileContents is a byte array with the contents of the file - // fileName is which attachment this is, image.pdf, data.pdf, data.txt, header.pdf, etc - // timeoutSeconds is configured as the request timeout - // this method will either succeed or throw an exception - // also, this has been made synchronous - public static void AttachFile(string url, long attachToHeaderId, string attachToDataUniqueId, byte[] fileContents, string fileName, int timeoutSeconds = 60) + public static void AttachFile(string url, Attachment attachment, int timeoutSeconds = 60) { using HttpClient httpClient = new(); - string requestUrl = url + "/attachment?headerid=" + attachToHeaderId.ToString(); - if (!string.IsNullOrWhiteSpace(attachToDataUniqueId)) - { - requestUrl += "&datauniqueid="; - requestUrl += System.Net.WebUtility.UrlEncode(attachToDataUniqueId); - } - requestUrl += "&filename="; // this is just so the web server log shows the filename - requestUrl += System.Net.WebUtility.UrlEncode(fileName); - + string json = JsonSerializer.Serialize(attachment); httpClient.Timeout = new TimeSpan(0, 0, 0, timeoutSeconds, 0); - - MultipartFormDataContent multipartFormDataContent = new(); - ByteArrayContent byteArrayContent = new(fileContents); - byteArrayContent.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/octet-stream"); - - multipartFormDataContent.Add(byteArrayContent, "attachment", fileName); - - HttpResponseMessage httpResponseMessage = httpClient.PostAsync(requestUrl, multipartFormDataContent).Result; - - if (httpResponseMessage.IsSuccessStatusCode) - return; - - string resultBody = httpResponseMessage.Content.ReadAsStringAsync().Result; - - throw new Exception("Attachment failed: " + resultBody); + StringContent httpContent = new(json, Encoding.UTF8, "application/json"); + HttpResponseMessage httpResponseMessage = httpClient.PostAsync($"{url}/attachment", httpContent).Result; + if (!httpResponseMessage.IsSuccessStatusCode) + { + string resultBody = httpResponseMessage.Content.ReadAsStringAsync().Result; + throw new Exception($"Attachment failed: {resultBody}"); + } } - public static void AttachFiles(string url, long headerID, List headerAttachments = null, List dataAttachments = null) + public static void AttachFiles(string url, List headerAttachments = null, List dataAttachments = null) { + string directory; try { if (headerAttachments is not null) { foreach (Attachment attachment in headerAttachments) - AttachFile(url, headerID, "", File.ReadAllBytes(attachment.SourceFileName), attachment.DestinationFileName); + { + directory = Path.GetDirectoryName(attachment.HeaderIdDirectory) ?? throw new Exception(); + File.Copy(attachment.SourceFileName, Path.Combine(directory, attachment.AttachmentId, attachment.DestinationFileName), overwrite: true); + AttachFile(url, attachment); + } } if (dataAttachments is not null) { foreach (Attachment attachment in dataAttachments) - AttachFile(url, headerID, attachment.UniqueId, File.ReadAllBytes(attachment.SourceFileName), attachment.DestinationFileName); + { + directory = Path.GetDirectoryName(attachment.HeaderIdDirectory) ?? throw new Exception(); + File.Copy(attachment.SourceFileName, Path.Combine(directory, attachment.AttachmentId, attachment.DestinationFileName), overwrite: true); + AttachFile(url, attachment); + } } //MessageBox.Show(r.ToString()); } diff --git a/Adaptation/Shared/Test.cs b/Adaptation/Shared/Test.cs index 3aa3552..169f05b 100644 --- a/Adaptation/Shared/Test.cs +++ b/Adaptation/Shared/Test.cs @@ -14,6 +14,7 @@ public enum Test CandelaPSL = 38, CandelaVerify = 37, CDE = 24, + Climatec = 54, //Largest CV = 3, DailyRPMAverage = 19, DailyRPMPLRatio = 20, @@ -38,7 +39,7 @@ public enum Test RPMPLRatio = 17, RPMXY = 15, SP1 = 8, - SRP2100 = 53, //Largest + SRP2100 = 53, Tencor = 7, UV = 35, VerificationLehighton = 14, diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/TENCOR1.cs index dad4505..b904cf0 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_36_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -45,7 +46,7 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08DDUPSFS6420.cs index 87a06b4..585a0c4 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,7 +165,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -177,7 +178,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -190,4 +191,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR1.cs index 28702bc..ea7a7b3 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -44,7 +45,7 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -52,4 +53,5 @@ public class TENCOR1 : EAFLoggingUnitTesting { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR2.cs index 4cc5886..88a1bc4 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -44,7 +45,7 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -52,4 +53,5 @@ public class TENCOR2 : EAFLoggingUnitTesting { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR3-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR3-EQPT.cs index 9895efd..9512539 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR3-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR3-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -45,7 +46,7 @@ public class TENCOR3_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class TENCOR3_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR3.cs index eedbb09..86881bf 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -45,7 +46,7 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08DDUPSFS6420.cs index 127768b..e28d7b7 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_43_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -45,7 +46,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -84,7 +85,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -97,7 +98,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -110,7 +111,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -123,7 +124,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -136,7 +137,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -149,7 +150,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -162,7 +163,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -175,4 +176,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08DDUPSFS6420.cs index 6b55c55..1cf019a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,7 +165,7 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -177,4 +178,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR1.cs index a10b35e..04a8b2a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,7 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR2.cs index 032d1c8..79f45ce 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,7 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR3.cs index 13c2228..f49c995 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,7 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR1.cs index 38aff8a..2114d9d 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__TENCOR1__pcl() { @@ -58,4 +61,5 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR2.cs index f73818d..d6156fb 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__TENCOR2__pcl() { @@ -58,4 +61,5 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR3.cs index 0ed9627..3e06c5e 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__TENCOR3__pcl() { @@ -58,4 +61,5 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08DDUPSFS6420.cs index 5565983..ccf4b8d 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__IQSSi() { @@ -80,7 +87,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__APC() { @@ -113,7 +126,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__SPaCe() { @@ -124,7 +139,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__Processed() { @@ -135,7 +152,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__Archive() { @@ -146,7 +165,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__Dummy() { @@ -157,4 +178,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08DDUPSFS6420.cs index d892d2e..40ec3e6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__IQSSi() { @@ -80,7 +87,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__APC() { @@ -113,7 +126,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__SPaCe() { @@ -124,7 +139,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__Processed() { @@ -135,7 +152,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__Archive() { @@ -146,7 +165,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__Dummy() { @@ -157,4 +178,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR1.cs index 5cec722..d9ae6a0 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__TENCOR1__pcl() { @@ -58,4 +61,5 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR2.cs index d0ae42a..7539901 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__TENCOR2__pcl() { @@ -58,4 +61,5 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR3.cs index 124d254..d4a8bc6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__TENCOR3__pcl() { @@ -58,4 +61,5 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08DDUPSFS6420.cs index 5efb83f..05848a0 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__IQSSi() { @@ -80,7 +87,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__APC() { @@ -113,7 +126,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__SPaCe() { @@ -124,7 +139,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__Processed() { @@ -135,7 +152,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__Archive() { @@ -146,7 +165,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__Dummy() { @@ -157,4 +178,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR1.cs index d8b32fb..65011a4 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__TENCOR1__pcl() { @@ -58,4 +61,5 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR2.cs index 92366de..b2dc14f 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__TENCOR2__pcl() { @@ -58,4 +61,5 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR3.cs index 6ecdf72..b10f369 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__TENCOR3__pcl() { @@ -58,4 +61,5 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08DDUPSFS6420.cs index f3b054c..ba099b7 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__IQSSi() { @@ -80,7 +87,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__APC() { @@ -113,7 +126,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__SPaCe() { @@ -124,7 +139,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__Processed() { @@ -135,7 +152,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__Archive() { @@ -146,7 +165,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__Dummy() { @@ -157,4 +178,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR1.cs index ea49cd3..621d1ab 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__TENCOR1__pcl() { @@ -58,4 +61,5 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR2.cs index 3eb9cc8..68e52a6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__TENCOR2__pcl() { @@ -58,4 +61,5 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR3.cs index 0724539..2807334 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__TENCOR3__pcl() { @@ -58,4 +61,5 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08DDUPSFS6420.cs index 2dd2466..de2c6d5 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__IQSSi() { @@ -80,7 +87,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__APC() { @@ -113,7 +126,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__SPaCe() { @@ -124,7 +139,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__Processed() { @@ -135,7 +152,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__Archive() { @@ -146,7 +165,9 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__Dummy() { @@ -157,4 +178,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR1.cs index a3d965b..4f4ce0c 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__TENCOR1__pcl() { @@ -58,4 +61,5 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR2.cs index 723b078..035e07e 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__TENCOR2__pcl() { @@ -58,4 +61,5 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR3.cs index 627ffb0..f8261a6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__TENCOR3__pcl() { @@ -58,4 +61,5 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08DDUPSFS6420.cs index 88a3be1..0099268 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -177,4 +178,5 @@ public class MET08DDUPSFS6420 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR1.cs index 0896f2f..6fd691e 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -60,4 +61,5 @@ public class TENCOR1 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR2.cs index 2cb784f..722285c 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -60,4 +61,5 @@ public class TENCOR2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR3.cs index 46e3199..8cb0b55 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -60,4 +61,5 @@ public class TENCOR3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08DDUPSFS6420.cs new file mode 100644 index 0000000..f4200f3 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.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_56_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_56_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_56_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_56_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_56_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_56_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_56_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_56_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_56_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_56_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_56_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.56.0/TENCOR1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR1.cs new file mode 100644 index 0000000..1a363b0 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.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_56_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_56_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.56.0/TENCOR2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR2.cs new file mode 100644 index 0000000..475b1b5 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.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_56_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_56_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.56.0/TENCOR3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/TENCOR3.cs new file mode 100644 index 0000000..4fc3f11 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.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_56_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_56_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.36.3/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.36.3/TENCOR1.cs index 103199e..d249f75 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.36.3/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.36.3/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_36_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,13 +23,13 @@ public class TENCOR1 _TENCOR1 = CreateSelfDescription.Staging.v2_36_3.TENCOR1.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__TENCOR1__MET08DDUPSFS6420() => _TENCOR1.Staging__v2_36_3__TENCOR1__MET08DDUPSFS6420(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -43,4 +44,5 @@ public class TENCOR1 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08DDUPSFS6420.cs index 12044e2..f84f0a1 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,13 +23,13 @@ public class MET08DDUPSFS6420 _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_39_0.MET08DDUPSFS6420.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -43,64 +44,65 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420__() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420__(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420___() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420___(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420____() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_____() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420______() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_______() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420________() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420________(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_________() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420_________(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420__________() => _MET08DDUPSFS6420.Staging__v2_39_0__MET08DDUPSFS6420__MET08DDUPSFS6420__________(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/TENCOR3-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/TENCOR3-EQPT.cs index 959c450..7e0763d 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/TENCOR3-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/TENCOR3-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Adaptation._Tests.Extract.Staging.v2_39_0; @@ -18,10 +19,11 @@ public class TENCOR3_EQPT _TENCOR3_EQPT = CreateSelfDescription.Staging.v2_39_0.TENCOR3_EQPT.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__TENCOR3_EQPT__DownloadRsMFile() => _TENCOR3_EQPT.Staging__v2_39_0__TENCOR3_EQPT__DownloadRsMFile(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/TENCOR3.cs index 23466c8..9acacbd 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Adaptation._Tests.Extract.Staging.v2_39_0; @@ -18,10 +19,11 @@ public class TENCOR3 _TENCOR3 = CreateSelfDescription.Staging.v2_39_0.TENCOR3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__TENCOR3__RsM() => _TENCOR3.Staging__v2_39_0__TENCOR3__RsM(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08DDUPSFS6420.cs index 9a3b153..57702fa 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_43_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,19 +23,19 @@ public class MET08DDUPSFS6420 _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_43_0.MET08DDUPSFS6420.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__MoveMatchingFiles(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -49,52 +50,53 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_43_0__MET08DDUPSFS6420__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08DDUPSFS6420.cs index eed1b99..637dce1 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,19 +23,19 @@ public class MET08DDUPSFS6420 _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_43_4.MET08DDUPSFS6420.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__MoveMatchingFiles(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -49,52 +50,53 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_43_4__MET08DDUPSFS6420__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR1.cs index 9a1c9f0..a3e3257 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class TENCOR1 _TENCOR1 = CreateSelfDescription.Staging.v2_43_4.TENCOR1.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__TENCOR1__pcl() => _TENCOR1.Staging__v2_43_4__TENCOR1__pcl(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -46,4 +47,5 @@ public class TENCOR1 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR2.cs index 8cfa1eb..2c4db8a 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class TENCOR2 _TENCOR2 = CreateSelfDescription.Staging.v2_43_4.TENCOR2.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__TENCOR2__pcl() => _TENCOR2.Staging__v2_43_4__TENCOR2__pcl(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -46,4 +47,5 @@ public class TENCOR2 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR3.cs index c1f23e1..37925e1 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class TENCOR3 _TENCOR3 = CreateSelfDescription.Staging.v2_43_4.TENCOR3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__TENCOR3__pcl() => _TENCOR3.Staging__v2_43_4__TENCOR3__pcl(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -46,4 +47,5 @@ public class TENCOR3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR1.cs index a886c40..ee42976 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR1 _TENCOR1 = CreateSelfDescription.Staging.v2_47_0.TENCOR1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__TENCOR1__pcl() => _TENCOR1.Staging__v2_47_0__TENCOR1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_47_0__TENCOR1__pcl637955518212649513__Normal() @@ -42,4 +47,5 @@ public class TENCOR1 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR2.cs index 270b412..f1e58df 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR2 _TENCOR2 = CreateSelfDescription.Staging.v2_47_0.TENCOR2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__TENCOR2__pcl() => _TENCOR2.Staging__v2_47_0__TENCOR2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_47_0__TENCOR2__pcl637955534973701250__Normal() @@ -42,4 +47,5 @@ public class TENCOR2 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR3.cs index a350662..c7a0a65 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR3 _TENCOR3 = CreateSelfDescription.Staging.v2_47_0.TENCOR3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__TENCOR3__pcl() => _TENCOR3.Staging__v2_47_0__TENCOR3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_47_0__TENCOR3__pcl637955520360305921__Normal() @@ -42,4 +47,5 @@ public class TENCOR3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08DDUPSFS6420.cs index a24dccf..6eab454 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,15 +23,21 @@ public class MET08DDUPSFS6420 _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_47_1.MET08DDUPSFS6420.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal() { @@ -44,15 +51,21 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql() { @@ -65,28 +78,41 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_47_1__MET08DDUPSFS6420__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08DDUPSFS6420.cs index 82d08b6..ca15420 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,15 +23,21 @@ public class MET08DDUPSFS6420 _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_47_5.MET08DDUPSFS6420.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal() { @@ -44,15 +51,21 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql() { @@ -65,28 +78,41 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_47_5__MET08DDUPSFS6420__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR1.cs index 727f9fb..5a42b71 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR1 _TENCOR1 = CreateSelfDescription.Staging.v2_47_5.TENCOR1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__TENCOR1__pcl() => _TENCOR1.Staging__v2_47_5__TENCOR1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_47_5__TENCOR1__pcl637955518212649513__Normal() @@ -42,4 +47,5 @@ public class TENCOR1 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR2.cs index 71c0513..fc0c3e6 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR2 _TENCOR2 = CreateSelfDescription.Staging.v2_47_5.TENCOR2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__TENCOR2__pcl() => _TENCOR2.Staging__v2_47_5__TENCOR2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_47_5__TENCOR2__pcl637955534973701250__Normal() @@ -42,4 +47,5 @@ public class TENCOR2 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR3.cs index 2782d8f..1960696 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR3 _TENCOR3 = CreateSelfDescription.Staging.v2_47_5.TENCOR3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__TENCOR3__pcl() => _TENCOR3.Staging__v2_47_5__TENCOR3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_47_5__TENCOR3__pcl637955520360305921__Normal() @@ -42,4 +47,5 @@ public class TENCOR3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08DDUPSFS6420.cs index f8e3c54..4845a8c 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,15 +23,21 @@ public class MET08DDUPSFS6420 _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_49_0.MET08DDUPSFS6420.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal() { @@ -44,15 +51,21 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql() { @@ -65,28 +78,41 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_49_0__MET08DDUPSFS6420__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR1.cs index f0c44a7..e47c559 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR1 _TENCOR1 = CreateSelfDescription.Staging.v2_49_0.TENCOR1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__TENCOR1__pcl() => _TENCOR1.Staging__v2_49_0__TENCOR1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_0__TENCOR1__pcl637955518212649513__Normal() @@ -42,4 +47,5 @@ public class TENCOR1 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR2.cs index 13ac6bb..9b4ef94 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR2 _TENCOR2 = CreateSelfDescription.Staging.v2_49_0.TENCOR2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__TENCOR2__pcl() => _TENCOR2.Staging__v2_49_0__TENCOR2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_0__TENCOR2__pcl637955534973701250__Normal() @@ -42,4 +47,5 @@ public class TENCOR2 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR3.cs index c03f2a7..5b8b7d4 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR3 _TENCOR3 = CreateSelfDescription.Staging.v2_49_0.TENCOR3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__TENCOR3__pcl() => _TENCOR3.Staging__v2_49_0__TENCOR3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_0__TENCOR3__pcl637955520360305921__Normal() @@ -42,4 +47,5 @@ public class TENCOR3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08DDUPSFS6420.cs index 56573fc..b6dda51 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,15 +23,21 @@ public class MET08DDUPSFS6420 _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_49_2.MET08DDUPSFS6420.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal() { @@ -44,15 +51,21 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql() { @@ -65,28 +78,41 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_49_2__MET08DDUPSFS6420__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR1.cs index c275a83..a57af05 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR1 _TENCOR1 = CreateSelfDescription.Staging.v2_49_2.TENCOR1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__TENCOR1__pcl() => _TENCOR1.Staging__v2_49_2__TENCOR1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_2__TENCOR1__pcl637955518212649513__Normal() @@ -42,4 +47,5 @@ public class TENCOR1 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR2.cs index 51f63b3..6b16874 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR2 _TENCOR2 = CreateSelfDescription.Staging.v2_49_2.TENCOR2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__TENCOR2__pcl() => _TENCOR2.Staging__v2_49_2__TENCOR2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_2__TENCOR2__pcl637955534973701250__Normal() @@ -42,4 +47,5 @@ public class TENCOR2 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR3.cs index 9677236..e5d52e4 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR3 _TENCOR3 = CreateSelfDescription.Staging.v2_49_2.TENCOR3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__TENCOR3__pcl() => _TENCOR3.Staging__v2_49_2__TENCOR3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_2__TENCOR3__pcl637955520360305921__Normal() @@ -42,4 +47,5 @@ public class TENCOR3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08DDUPSFS6420.cs index dfd4dc5..9d6c375 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,15 +23,21 @@ public class MET08DDUPSFS6420 _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_49_3.MET08DDUPSFS6420.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__MoveMatchingFiles() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__OpenInsightMetrologyViewer() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__OpenInsightMetrologyViewer637810124350899080__Normal() { @@ -44,15 +51,21 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__IQSSi() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__OpenInsight() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__OpenInsight638052163299572098__IqsSql() { @@ -65,28 +78,41 @@ public class MET08DDUPSFS6420 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__APC() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__SPaCe() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__Processed() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__Archive() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_49_3__MET08DDUPSFS6420__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR1.cs index 41c1f5b..7908eb6 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR1 _TENCOR1 = CreateSelfDescription.Staging.v2_49_3.TENCOR1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__TENCOR1__pcl() => _TENCOR1.Staging__v2_49_3__TENCOR1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_3__TENCOR1__pcl637955518212649513__Normal() @@ -42,4 +47,5 @@ public class TENCOR1 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR2.cs index 3bfb4b9..8ce42e2 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR2 _TENCOR2 = CreateSelfDescription.Staging.v2_49_3.TENCOR2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__TENCOR2__pcl() => _TENCOR2.Staging__v2_49_3__TENCOR2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_3__TENCOR2__pcl637955534973701250__Normal() @@ -42,4 +47,5 @@ public class TENCOR2 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR3.cs index b6d6385..af6b655 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class TENCOR3 _TENCOR3 = CreateSelfDescription.Staging.v2_49_3.TENCOR3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__TENCOR3__pcl() => _TENCOR3.Staging__v2_49_3__TENCOR3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(MissingMethodException))] public void Staging__v2_49_3__TENCOR3__pcl637955520360305921__Normal() @@ -42,4 +47,5 @@ public class TENCOR3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08DDUPSFS6420.cs index 2d7fd69..5c5a775 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08DDUPSFS6420.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -123,4 +124,5 @@ public class MET08DDUPSFS6420 [TestMethod] public void Staging__v2_52_0__MET08DDUPSFS6420__Dummy() => _MET08DDUPSFS6420.Staging__v2_52_0__MET08DDUPSFS6420__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR1.cs index c29b0a4..8b0f7d8 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR1.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -54,4 +55,5 @@ public class TENCOR1 NonThrowTryCatch(); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR2.cs index 5063a72..f961440 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR2.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -54,4 +55,5 @@ public class TENCOR2 NonThrowTryCatch(); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR3.cs index 0dae6a3..be766b8 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/TENCOR3.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -54,4 +55,5 @@ public class TENCOR3 NonThrowTryCatch(); } -} \ No newline at end of file +} +#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 new file mode 100644 index 0000000..5dca436 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08DDUPSFS6420.cs @@ -0,0 +1,128 @@ +#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_56_0; + +[TestClass] +public class MET08DDUPSFS6420 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.MET08DDUPSFS6420 _MET08DDUPSFS6420; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.MET08DDUPSFS6420.ClassInitialize(testContext); + _MET08DDUPSFS6420 = CreateSelfDescription.Staging.v2_56_0.MET08DDUPSFS6420.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + 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() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08DDUPSFS6420.Staging__v2_56_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_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() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08DDUPSFS6420.Staging__v2_56_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_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments() => _MET08DDUPSFS6420.Staging__v2_56_0__MET08DDUPSFS6420__OpenInsightMetrologyViewerAttachments(); + +#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(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR1.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR1.cs new file mode 100644 index 0000000..810a9a4 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.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_56_0; + +[TestClass] +public class TENCOR1 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.TENCOR1 _TENCOR1; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.TENCOR1.ClassInitialize(testContext); + _TENCOR1 = CreateSelfDescription.Staging.v2_56_0.TENCOR1.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + 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() + { + string check = "*.pcl"; + bool validatePDSF = false; + _TENCOR1.Staging__v2_56_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.56.0/TENCOR2.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR2.cs new file mode 100644 index 0000000..93d0dc5 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.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_56_0; + +[TestClass] +public class TENCOR2 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.TENCOR2 _TENCOR2; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.TENCOR2.ClassInitialize(testContext); + _TENCOR2 = CreateSelfDescription.Staging.v2_56_0.TENCOR2.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + 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() + { + string check = "*.pcl"; + bool validatePDSF = false; + _TENCOR2.Staging__v2_56_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.56.0/TENCOR3.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/TENCOR3.cs new file mode 100644 index 0000000..cd01c9f --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.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_56_0; + +[TestClass] +public class TENCOR3 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.TENCOR3 _TENCOR3; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.TENCOR3.ClassInitialize(testContext); + _TENCOR3 = CreateSelfDescription.Staging.v2_56_0.TENCOR3.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + 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() + { + string check = "*.pcl"; + bool validatePDSF = false; + _TENCOR3.Staging__v2_56_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/Shared/AdaptationTesting.cs b/Adaptation/_Tests/Shared/AdaptationTesting.cs index 178b9ea..dad8ffe 100644 --- a/Adaptation/_Tests/Shared/AdaptationTesting.cs +++ b/Adaptation/_Tests/Shared/AdaptationTesting.cs @@ -562,7 +562,7 @@ public class AdaptationTesting : ISMTP else if (i == 1) { if (componentsCellComponentCellComponent.Equipment.EquipmentType.Version != cellInstanceVersionName) - throw new Exception("Versions should match!"); + throw new Exception($"Versions should match! {componentsCellComponentCellComponent.Equipment.EquipmentType.Version} != {cellInstanceVersionName}"); equipmentTypeName = componentsCellComponentCellComponent.Equipment.EquipmentType.Name; _ = stringBuilder. AppendLine("#if true"). @@ -1244,6 +1244,8 @@ public class AdaptationTesting : ISMTP { string result; Tuple> extractResult = fileRead.ReExtract(); + if (extractResult is null) + throw new Exception($"Using pattern {variables[4]} no file was found <{variables[2]}>"); if (!fileRead.IsDuplicator) { Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); diff --git a/Adaptation/_Tests/Static/MET08DDUPSFS6420.cs b/Adaptation/_Tests/Static/MET08DDUPSFS6420.cs index 6001c92..57244ee 100644 --- a/Adaptation/_Tests/Static/MET08DDUPSFS6420.cs +++ b/Adaptation/_Tests/Static/MET08DDUPSFS6420.cs @@ -2,8 +2,10 @@ using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; +using System.Collections.Generic; using System.Diagnostics; using System.IO; +using System.Linq; using System.Reflection; using System.Text; @@ -38,6 +40,13 @@ public class MET08DDUPSFS6420 : LoggingUnitTesting, IDisposable LoggingUnitTesting?.Dispose(); } + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + [TestMethod] public void TestDateTime() { @@ -55,7 +64,7 @@ public class MET08DDUPSFS6420 : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("MET08DDUPSFS6420", "v2.52.0"), + new("MET08DDUPSFS6420", "v2.56.0"), }; string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; @@ -65,8 +74,31 @@ public class MET08DDUPSFS6420 : LoggingUnitTesting, IDisposable cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration"); _ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}"); } - File.WriteAllText($"D:/Tmp/{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv", results.ToString()); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (!Directory.Exists(sourceDirectory)) + _ = Directory.CreateDirectory(sourceDirectory); + File.WriteAllText(Path.Combine(sourceDirectory, $"{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv"), results.ToString()); LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } + [TestMethod] + public void CellInstanceVersionEdaConnectionPortNumber() + { + MethodBase methodBase = new StackFrame().GetMethod(); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (Directory.Exists(sourceDirectory)) + { + string destinationDirectory = Path.Combine(sourceDirectory, "All"); + if (!Directory.Exists(destinationDirectory)) + _ = Directory.CreateDirectory(destinationDirectory); + List lines = new(); + string[] files = Directory.GetFiles(sourceDirectory, "*.tsv", SearchOption.TopDirectoryOnly); + foreach (string file in files) + lines.AddRange(File.ReadAllLines(file)); + File.WriteAllLines(Path.Combine(destinationDirectory, $"{DateTime.Now.Ticks}.tsv"), lines.Distinct().OrderBy(l => l)); + } + LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + NonThrowTryCatch(); + } + } \ No newline at end of file diff --git a/Adaptation/_Tests/Static/pcl.cs b/Adaptation/_Tests/Static/pcl.cs index 757ac74..6364419 100644 --- a/Adaptation/_Tests/Static/pcl.cs +++ b/Adaptation/_Tests/Static/pcl.cs @@ -2,8 +2,10 @@ using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; +using System.Collections.Generic; using System.Diagnostics; using System.IO; +using System.Linq; using System.Reflection; using System.Text; @@ -208,9 +210,9 @@ public class PCL : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("TENCOR1", "v2.52.0"), - new("TENCOR2", "v2.52.0"), - new("TENCOR3", "v2.52.0"), + new("TENCOR1", "v2.56.0"), + new("TENCOR2", "v2.56.0"), + new("TENCOR3", "v2.56.0"), new("TENCOR1-EQPT", "v2.12.3"), new("TENCOR2-EQPT", "v2.12.3"), new("TENCOR3-EQPT", "v2.12.3"), @@ -223,8 +225,31 @@ public class PCL : LoggingUnitTesting, IDisposable cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration"); _ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}"); } - File.WriteAllText($"D:/Tmp/{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv", results.ToString()); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (!Directory.Exists(sourceDirectory)) + _ = Directory.CreateDirectory(sourceDirectory); + File.WriteAllText(Path.Combine(sourceDirectory, $"{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv"), results.ToString()); LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } + [TestMethod] + public void CellInstanceVersionEdaConnectionPortNumber() + { + MethodBase methodBase = new StackFrame().GetMethod(); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (Directory.Exists(sourceDirectory)) + { + string destinationDirectory = Path.Combine(sourceDirectory, "All"); + if (!Directory.Exists(destinationDirectory)) + _ = Directory.CreateDirectory(destinationDirectory); + List lines = new(); + string[] files = Directory.GetFiles(sourceDirectory, "*.tsv", SearchOption.TopDirectoryOnly); + foreach (string file in files) + lines.AddRange(File.ReadAllLines(file)); + File.WriteAllLines(Path.Combine(destinationDirectory, $"{DateTime.Now.Ticks}.tsv"), lines.Distinct().OrderBy(l => l)); + } + LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + NonThrowTryCatch(); + } + } \ No newline at end of file diff --git a/MET08DDUPSFS6420.csproj b/MET08DDUPSFS6420.csproj index 90e3e6d..5bf9735 100644 --- a/MET08DDUPSFS6420.csproj +++ b/MET08DDUPSFS6420.csproj @@ -48,6 +48,12 @@ prompt MinimumRecommendedRules.ruleset + + NETFRAMEWORK;NET20;NET35;NET40;NET45;NET451;NET452;NET46;NET461;NET462;NET47;NET471;NET472;NET48;$(DefineConstants) + + + + @@ -170,7 +176,7 @@ 7.2.4630.5 - 2.52.0 + 2.56.0 1.1.1