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 0c9b264..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\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\.kanbn" "D:\Documents\Kanban\MET08RESIHGCV" -``` diff --git a/Adaptation/.editorconfig b/Adaptation/.editorconfig index 96d9a58..69ecc38 100644 --- a/Adaptation/.editorconfig +++ b/Adaptation/.editorconfig @@ -100,6 +100,8 @@ 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 dotnet_diagnostic.CA1869.severity = none # CA1869: Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. diff --git a/Adaptation/.vscode/launch.json b/Adaptation/.vscode/launch.json index 348b0fe..c406c37 100644 --- a/Adaptation/.vscode/launch.json +++ b/Adaptation/.vscode/launch.json @@ -4,7 +4,7 @@ "name": ".NET Core Attach", "type": "coreclr", "request": "attach", - "processId": 15184 + "processId": 10528 } ] } diff --git a/Adaptation/.vscode/mklink.md b/Adaptation/.vscode/mklink.md new file mode 100644 index 0000000..cab493e --- /dev/null +++ b/Adaptation/.vscode/mklink.md @@ -0,0 +1,5 @@ +# mklink + +```bash +mklink /J "T:\MET08RESIMAPCDE\06_SourceCode\MET08RESIMAPCDE\Adaptation\.kanbn" "D:\5-Other-Small\Kanban\MET08RESIMAPCDE" +``` diff --git a/Adaptation/.vscode/tasks.json b/Adaptation/.vscode/tasks.json index 01befef..bd83b89 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:/MET08RESIHGCV/06_SourceCode/MET08RESIHGCV/Adaptation -s T:/MET08RESIHGCV/06_SourceCode/MET08RESIHGCV/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:/MET08RESIHGCV/06_SourceCode/MET08RESIHGCV/Adaptation -s T:/MET08RESIHGCV/06_SourceCode/MET08RESIHGCV/Adaptation/.kanbn/tasks", "problemMatcher": [] }, { diff --git a/Adaptation/FileHandlers/CellInstanceConnectionName.cs b/Adaptation/FileHandlers/CellInstanceConnectionName.cs index e8bb40b..9c65e57 100644 --- a/Adaptation/FileHandlers/CellInstanceConnectionName.cs +++ b/Adaptation/FileHandlers/CellInstanceConnectionName.cs @@ -16,6 +16,7 @@ public class CellInstanceConnectionName nameof(APC) => new APC.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null), nameof(Archive) => new Archive.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null), nameof(Dummy) => new Dummy.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null), + nameof(InterceptIQS) => new InterceptIQS.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null), nameof(IQSSi) => new IQSSi.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null), nameof(MoveMatchingFiles) => new MoveMatchingFiles.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null), nameof(OpenInsight) => new OpenInsight.FileRead(smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null), diff --git a/Adaptation/FileHandlers/InterceptIQS/FileRead.cs b/Adaptation/FileHandlers/InterceptIQS/FileRead.cs new file mode 100644 index 0000000..d2b15a2 --- /dev/null +++ b/Adaptation/FileHandlers/InterceptIQS/FileRead.cs @@ -0,0 +1,156 @@ +using Adaptation.Eaf.Management.ConfigurationData.CellAutomation; +using Adaptation.Ifx.Eaf.EquipmentConnector.File.Configuration; +using Adaptation.Shared; +using Adaptation.Shared.Duplicator; +using Adaptation.Shared.Methods; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net.Http; +using System.Text.Json; +using System.Threading.Tasks; + +namespace Adaptation.FileHandlers.InterceptIQS; + +public class FileRead : Shared.FileRead, IFileRead +{ + + private readonly HttpClient _HttpClient; + + 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) + { + _MinFileLength = 10; + _NullData = string.Empty; + _Logistics = new(this); + if (_FileParameter is null) + throw new Exception(cellInstanceConnectionName); + if (_ModelObjectParameterDefinitions is null) + throw new Exception(cellInstanceConnectionName); + if (!_IsDuplicator) + throw new Exception(cellInstanceConnectionName); + string openInsightMetrologyViewerAPIInfinityQS = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerAPI.InfinityQS"); + _HttpClient = new() { BaseAddress = new(openInsightMetrologyViewerAPIInfinityQS) }; + } + + void IFileRead.Move(Tuple> extractResults, Exception exception) + { + bool isErrorFile = exception is not null; + if (!isErrorFile && !string.IsNullOrEmpty(_Logistics.ReportFullPath)) + { + FileInfo fileInfo = new(_Logistics.ReportFullPath); + if (fileInfo.Exists && fileInfo.LastWriteTime < fileInfo.CreationTime) + File.SetLastWriteTime(_Logistics.ReportFullPath, fileInfo.CreationTime); + } + Move(extractResults); + } + + void IFileRead.WaitForThread() => WaitForThread(thread: null, threadExceptions: null); + + string IFileRead.GetEventDescription() + { + string result = _Description.GetEventDescription(); + return result; + } + + List IFileRead.GetHeaderNames() + { + List results = _Description.GetHeaderNames(); + return results; + } + + string[] IFileRead.Move(Tuple> extractResults, string to, string from, string resolvedFileLocation, Exception exception) + { + string[] results = Move(extractResults, to, from, resolvedFileLocation, exception); + return results; + } + + JsonProperty[] IFileRead.GetDefault() + { + JsonProperty[] results = _Description.GetDefault(this, _Logistics); + return results; + } + + Dictionary IFileRead.GetDisplayNamesJsonElement() + { + Dictionary results = _Description.GetDisplayNamesJsonElement(this); + return results; + } + + List IFileRead.GetDescriptions(IFileRead fileRead, List tests, IProcessData processData) + { + List results = _Description.GetDescriptions(fileRead, _Logistics, tests, processData); + return results; + } + + Tuple> IFileRead.GetExtractResult(string reportFullPath, string eventName) + { + Tuple> results; + if (string.IsNullOrEmpty(eventName)) + throw new Exception(); + _ReportFullPath = reportFullPath; + DateTime dateTime = DateTime.Now; + results = GetExtractResult(reportFullPath, dateTime); + if (results.Item3 is null) + results = new Tuple>(results.Item1, Array.Empty(), JsonSerializer.Deserialize("[]"), results.Item4); + if (results.Item3.Length > 0 && _IsEAFHosted) + WritePDSF(this, results.Item3); + UpdateLastTicksDuration(DateTime.Now.Ticks - dateTime.Ticks); + return results; + } + + Tuple> IFileRead.ReExtract() + { + Tuple> results; + List headerNames = _Description.GetHeaderNames(); + Dictionary keyValuePairs = _Description.GetDisplayNamesJsonElement(this); + results = ReExtract(this, headerNames, keyValuePairs); + return results; + } + + private void ReWriteFile(string reportFullPath, DateTime dateTime) + { + string text = File.ReadAllText(reportFullPath); + List segments = text.Split(new string[] { "," }, StringSplitOptions.None).ToList(); + if (segments.Count == 22) + { + string rds = segments[2]; + string psn = segments[3]; + const int test = 1105568416; + string reactor = segments[1]; + string averageHgCVRes = segments[15]; + if (float.TryParse(averageHgCVRes, out float averageHgCVResValue)) + { + Task task = _HttpClient.GetStringAsync($"{_HttpClient.BaseAddress}/{reactor}/last-group-id-with-value/?part={psn}&rds={rds}&test={test}"); + task.Wait(); + JsonElement[] jsonElements = JsonSerializer.Deserialize(task.Result); + if (jsonElements.Length == 1) + { + JsonProperty[] jsonProperties = jsonElements[0].EnumerateObject().ToArray(); + if (jsonProperties.Length == 2 && float.TryParse(jsonProperties[1].Value.ToString(), out float averageResitivity)) + { + segments[segments.Count - 1] = segments[segments.Count - 1].Trim(); + float percentageHgCV4PPDelta = (averageHgCVResValue - averageResitivity) / averageResitivity * 100f; + segments.Add(Math.Round(percentageHgCV4PPDelta, 6).ToString()); + } + } + } + } + string output = string.Join(",", segments); + File.WriteAllText($"{reportFullPath}.{dateTime.Ticks}.txt", $"{output}{Environment.NewLine}"); + } + + private Tuple> GetExtractResult(string reportFullPath, DateTime dateTime) + { + Tuple> results; + Tuple pdsf = ProcessDataStandardFormat.GetLogisticsColumnsAndBody(reportFullPath); + _Logistics = new Logistics(reportFullPath, pdsf.Item1); + SetFileParameterLotIDToLogisticsMID(); + if (_IsEAFHosted && _FileConnectorConfiguration.FileScanningIntervalInSeconds > 0) + ReWriteFile(reportFullPath, dateTime); + results = new Tuple>(pdsf.Item1, Array.Empty(), Array.Empty(), new List()); + return results; + } + +} \ No newline at end of file diff --git a/Adaptation/FileHandlers/OpenInsight/FileRead.cs b/Adaptation/FileHandlers/OpenInsight/FileRead.cs index 36d46d9..7e84249 100644 --- a/Adaptation/FileHandlers/OpenInsight/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsight/FileRead.cs @@ -27,9 +27,10 @@ public class FileRead : Shared.FileRead, IFileRead 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) { + _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) @@ -210,8 +211,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; @@ -225,6 +226,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/OpenInsight/FromIQS.cs b/Adaptation/FileHandlers/OpenInsight/FromIQS.cs index 9360076..7123ed5 100644 --- a/Adaptation/FileHandlers/OpenInsight/FromIQS.cs +++ b/Adaptation/FileHandlers/OpenInsight/FromIQS.cs @@ -1,6 +1,5 @@ using Adaptation.Shared; using System; -using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Globalization; @@ -282,7 +281,7 @@ public class FromIQS .AppendLine(" join [spcepiworld].[dbo].[test_dat] td ") .AppendLine(" on sl.f_test = td.f_test ") .AppendLine(" where sl.f_prcs = 0 ") - .AppendLine(" and td.f_name = '").Append(find).AppendLine("' ") + .Append(" and td.f_name = '").Append(find).AppendLine("' ") .AppendLine(" and isnull(( ") .AppendLine(" select count(sl_b.f_spec) ") .AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl_b ") @@ -308,31 +307,15 @@ public class FromIQS internal static void SaveCopy(string fileConnectorConfigurationSourceFileLocation, string connectionString, string name, string[] iqsCopyValues) { - string checkFile = Path.Combine(fileConnectorConfigurationSourceFileLocation, $"{name}.tsv"); + string checkFile = Path.Combine(fileConnectorConfigurationSourceFileLocation, $"{name}.json"); if (!File.Exists(checkFile)) { string commandText = GetCommandText(iqsCopyValues); StringBuilder stringBuilder = GetForJsonPath(connectionString, commandText); - if (stringBuilder.Length > 0) - { - JsonElement[]? jsonElements = JsonSerializer.Deserialize(stringBuilder.ToString()); - if (jsonElements is not null && jsonElements.Length != 0 && jsonElements[0].ValueKind == JsonValueKind.Object) - { - _ = stringBuilder.Clear(); - List lines = new(); - JsonProperty[] jsonProperties = jsonElements[0].EnumerateObject().ToArray(); - foreach (JsonProperty jsonProperty in jsonProperties) - _ = stringBuilder.Append(jsonProperty.Name).Append('\t'); - lines.Add(stringBuilder.ToString()); - for (int i = 0; i < jsonElements.Length; i++) - { - foreach (JsonProperty jsonProperty in jsonProperties) - _ = stringBuilder.Append(jsonProperty.Value).Append('\t'); - lines.Add(stringBuilder.ToString()); - } - File.WriteAllLines(checkFile, lines); - } - } + if (stringBuilder.Length != 0) + File.WriteAllText(checkFile, stringBuilder.ToString()); + else + File.WriteAllText(Path.Combine(fileConnectorConfigurationSourceFileLocation, $"{name}.sql"), commandText); } } diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs index e41b2c6..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\MercuryProbeRunHeader_"; _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 55954c5..8127dfc 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs @@ -70,7 +70,6 @@ public class WSRequest public string WaferSize { get; set; } public string Zone { get; set; } public List Details { get; protected set; } - public string ProcessDataStandardFormat { get; set; } [Obsolete("For json")] public WSRequest() { } @@ -78,7 +77,6 @@ public class WSRequest internal WSRequest(IFileRead fileRead, Logistics logistics, List descriptions, string processDataStandardFormat = null) #pragma warning restore IDE0060 { - ProcessDataStandardFormat = processDataStandardFormat; Id = -1; Details = new List(); CellName = logistics.MesEntity; @@ -181,22 +179,29 @@ public class WSRequest return result; } -#pragma warning disable IDE0060 - internal static void PostOpenInsightMetrologyViewerAttachments(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, string lincPDFCFileName, 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) { + 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, string lincPDFCFileName, List descriptions, string matchDirectory, string subGroupId, long headerId, string headerIdDirectory) +#pragma warning restore IDE0060 + { 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}>!"); List pdfFiles = new(); pdfFiles.AddRange(Directory.GetFiles(matchDirectory, "*.pdf_old", SearchOption.TopDirectoryOnly)); foreach (string pdfFile in pdfFiles) @@ -211,8 +216,10 @@ public class WSRequest if (pdfFiles.Count == 0) throw new Exception("Invalid *.pdf file count!"); List headerAttachments = new() - { new WS.Attachment(descriptions[0].HeaderUniqueId, "Data.pdf", pdfFiles[0]) }; - WS.AttachFiles(openInsightMetrologyViewerAPI, wsResultsHeaderID, headerAttachments, dataAttachments: null); + { + new WS.Attachment(subGroupId, headerId, headerIdDirectory, descriptions[0].HeaderUniqueId, "Data.pdf", pdfFiles[0]) + }; + WS.AttachFiles(openInsightMetrologyViewerAPI, headerAttachments, dataAttachments: null); } } \ No newline at end of file diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs index a3efee9..dfe75e5 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; @@ -15,8 +16,8 @@ public class FileRead : Shared.FileRead, IFileRead { private readonly string _LincPDFCFileName; - 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) @@ -30,8 +31,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"); _LincPDFCFileName = Path.Combine(AppContext.BaseDirectory, "LincPDFC.exe"); if (!File.Exists(_LincPDFCFileName)) throw new Exception("LincPDFC FileName doesn't Exist!"); @@ -112,26 +113,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, _LincPDFCFileName, 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, _LincPDFCFileName, descriptions, matchDirectories[0], subGroupId, headerId, headerIdDirectory); } private Tuple> GetExtractResult(string reportFullPath, DateTime dateTime) @@ -144,7 +177,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/MET08RESIHGCV.Tests.csproj b/Adaptation/MET08RESIHGCV.Tests.csproj index ec1403c..52fd046 100644 --- a/Adaptation/MET08RESIHGCV.Tests.csproj +++ b/Adaptation/MET08RESIHGCV.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 890e418..16fcf8a 100644 --- a/Adaptation/Shared/FileRead.cs +++ b/Adaptation/Shared/FileRead.cs @@ -422,10 +422,12 @@ public class FileRead : Properties.IFileRead protected void WritePDSF(IFileRead fileRead, JsonElement[] jsonElements) { string directory; + string weekOfYear = _Calendar.GetWeekOfYear(_Logistics.DateTimeFromSequence, CalendarWeekRule.FirstDay, DayOfWeek.Sunday).ToString("00"); + string weekDirectory = $"{_Logistics.DateTimeFromSequence:yyyy}_Week_{weekOfYear}{@"\"}{_Logistics.DateTimeFromSequence:yyyy-MM-dd}"; if (!_CellInstanceConnectionName.StartsWith(_CellInstanceName) && _CellInstanceConnectionNameBase == _EquipmentType) - directory = Path.Combine(_TracePath, _EquipmentType, "Target", _CellInstanceName, _CellInstanceConnectionName); + directory = Path.Combine(_TracePath, _EquipmentType, "Target", weekDirectory, _CellInstanceName, _CellInstanceConnectionName); else - directory = Path.Combine(_TracePath, _EquipmentType, "Source", _CellInstanceName, _CellInstanceConnectionName); + directory = Path.Combine(_TracePath, _EquipmentType, "Source", weekDirectory, _CellInstanceName, _CellInstanceConnectionName); if (!Directory.Exists(directory)) _ = Directory.CreateDirectory(directory); string file = Path.Combine(directory, string.Concat(_Logistics.MesEntity, "_", _Logistics.Sequence, ".ipdsf")); @@ -569,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)); @@ -603,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.39.0/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV1.cs index 3ce95c7..d71080a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV1.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 HGCV1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV2.cs index 1ada1b1..43cfcb6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV2.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 HGCV2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV3.cs index 97c080e..0f02768 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/HGCV3.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 HGCV3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08RESIHGCV.cs index f2cdeee..f079f23 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08RESIHGCV.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 MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -84,7 +85,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -97,7 +98,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -110,7 +111,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -123,7 +124,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -136,7 +137,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -149,7 +150,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -162,4 +163,5 @@ public class MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV1.cs index 282176c..35535f8 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV1.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 HGCV1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV2.cs index 193ced7..013a154 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV2.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 HGCV2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV3.cs index 93d04d0..e6e7719 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/HGCV3.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 HGCV3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08RESIHGCV.cs index f5a4c15..ecd0e38 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08RESIHGCV.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 MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -84,7 +85,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -97,7 +98,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -110,7 +111,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -123,7 +124,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -136,7 +137,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -149,7 +150,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -162,7 +163,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -175,4 +176,5 @@ public class MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV1.cs index bddc50f..671e6c1 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV1.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 HGCV1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV2.cs index 9cd6d93..c490029 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV2.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 HGCV2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV3.cs index 6ec5695..f9e9461 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/HGCV3.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 HGCV3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08RESIHGCV.cs index 32c0fad..45e8cd9 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08RESIHGCV.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 MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,7 +165,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -177,4 +178,5 @@ public class MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV1.cs index 0576be9..76c8812 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV1.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 HGCV1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV1__pcl() { @@ -58,4 +61,5 @@ public class HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV2.cs index fdd1485..a0726b6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV2.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 HGCV2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV2__pcl() { @@ -58,4 +61,5 @@ public class HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV3.cs index b7ba33e..4c608cb 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/HGCV3.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 HGCV3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV3__pcl() { @@ -58,4 +61,5 @@ public class HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08RESIHGCV.cs index 481465f..e68818a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08RESIHGCV.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 MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__IQSSi() { @@ -80,7 +87,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__APC() { @@ -113,7 +126,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__SPaCe() { @@ -124,7 +139,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__Processed() { @@ -135,7 +152,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__Archive() { @@ -146,7 +165,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__Dummy() { @@ -157,4 +178,5 @@ public class MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV1.cs index cf4416c..8734bef 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV1.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 HGCV1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV1__pcl() { @@ -58,4 +61,5 @@ public class HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV2.cs index e64d941..97aca16 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV2.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 HGCV2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV2__pcl() { @@ -58,4 +61,5 @@ public class HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV3.cs index 4ca26c0..b4d648c 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/HGCV3.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 HGCV3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV3__pcl() { @@ -58,4 +61,5 @@ public class HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08RESIHGCV.cs index 9f1fca5..53857a3 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08RESIHGCV.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 MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__IQSSi() { @@ -80,7 +87,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__APC() { @@ -113,7 +126,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__SPaCe() { @@ -124,7 +139,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__Processed() { @@ -135,7 +152,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__Archive() { @@ -146,7 +165,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__Dummy() { @@ -157,4 +178,5 @@ public class MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV1.cs index d61a3f8..02a477c 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV1.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 HGCV1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV1__pcl() { @@ -58,4 +61,5 @@ public class HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV2.cs index 4e4335a..7f47630 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV2.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 HGCV2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV2__pcl() { @@ -58,4 +61,5 @@ public class HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV3.cs index c713510..35c25b5 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/HGCV3.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 HGCV3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV3__pcl() { @@ -58,4 +61,5 @@ public class HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESIHGCV.cs index 1bac250..1f4e6fd 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESIHGCV.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 MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__IQSSi() { @@ -80,7 +87,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__APC() { @@ -113,7 +126,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__SPaCe() { @@ -124,7 +139,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__Processed() { @@ -135,7 +152,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__Archive() { @@ -146,7 +165,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__Dummy() { @@ -157,4 +178,5 @@ public class MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV1.cs index 7dfa15a..82189b0 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV1.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 HGCV1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV1__pcl() { @@ -58,4 +61,5 @@ public class HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV2.cs index a8fc63e..685130d 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV2.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 HGCV2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV2__pcl() { @@ -58,4 +61,5 @@ public class HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV3.cs index 8e8e68a..694e83b 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/HGCV3.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 HGCV3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV3__pcl() { @@ -58,4 +61,5 @@ public class HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESIHGCV.cs index 3930875..a460fd3 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESIHGCV.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 MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__IQSSi() { @@ -80,7 +87,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__APC() { @@ -113,7 +126,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__SPaCe() { @@ -124,7 +139,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__Processed() { @@ -135,7 +152,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__Archive() { @@ -146,7 +165,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__Dummy() { @@ -157,4 +178,5 @@ public class MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV1.cs index 1e9514c..b5857fc 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV1.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 HGCV1 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV1__pcl() { @@ -58,4 +61,5 @@ public class HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV2.cs index ae3afd5..dba3c8b 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV2.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 HGCV2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV2__pcl() { @@ -58,4 +61,5 @@ public class HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV3.cs index d475886..c7d59ef 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/HGCV3.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 HGCV3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV3__pcl() { @@ -58,4 +61,5 @@ public class HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESIHGCV.cs index 388ff64..f024c07 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESIHGCV.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 MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__IQSSi() { @@ -80,7 +87,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__APC() { @@ -113,7 +126,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__SPaCe() { @@ -124,7 +139,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__Processed() { @@ -135,7 +152,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__Archive() { @@ -146,7 +165,9 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__Dummy() { @@ -157,4 +178,5 @@ public class MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV1.cs index 95d510d..15ad3e3 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV1.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV1.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 HGCV1 : 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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV2.cs index fc2edda..0f06482 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV2.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 HGCV2 : 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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV3.cs index a6ce1a3..6a51a0d 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/HGCV3.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 HGCV3 : 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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08RESIHGCV.cs index 3fc76d1..989f980 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08RESIHGCV.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 MET08RESIHGCV : 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/HGCV1.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/HGCV1.cs new file mode 100644 index 0000000..a2b063b --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/HGCV1.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 HGCV1 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static HGCV1 EAFLoggingUnitTesting { get; private set; } + + static HGCV1() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public HGCV1() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public HGCV1(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new HGCV1(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__HGCV1__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/HGCV2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/HGCV2.cs new file mode 100644 index 0000000..4edfc1d --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/HGCV2.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 HGCV2 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static HGCV2 EAFLoggingUnitTesting { get; private set; } + + static HGCV2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public HGCV2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public HGCV2(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new HGCV2(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__HGCV2__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/HGCV3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/HGCV3.cs new file mode 100644 index 0000000..79b1d1b --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/HGCV3.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 HGCV3 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static HGCV3 EAFLoggingUnitTesting { get; private set; } + + static HGCV3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public HGCV3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public HGCV3(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new HGCV3(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__HGCV3__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/MET08RESIHGCV.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08RESIHGCV.cs new file mode 100644 index 0000000..90442f1 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08RESIHGCV.cs @@ -0,0 +1,195 @@ +#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 MET08RESIHGCV : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MET08RESIHGCV EAFLoggingUnitTesting { get; private set; } + + static MET08RESIHGCV() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public MET08RESIHGCV() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MET08RESIHGCV(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MET08RESIHGCV(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__MET08RESIHGCV__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__MET08RESIHGCV__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__MET08RESIHGCV__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__MET08RESIHGCV__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__MET08RESIHGCV__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__MET08RESIHGCV__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__MET08RESIHGCV__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__MET08RESIHGCV__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__MET08RESIHGCV__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__MET08RESIHGCV__Dummy() + { + string check = "638417860100000000.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")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__InterceptIQS() + { + string check = "HgCV_Unload_Res_9Points.txt"; + 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.39.0/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/HGCV3.cs index 75179b4..de31b3a 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/HGCV3.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 HGCV3 _HGCV3 = CreateSelfDescription.Staging.v2_39_0.HGCV3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__HGCV3__pcl() => _HGCV3.Staging__v2_39_0__HGCV3__pcl(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -43,7 +44,7 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,4 +59,5 @@ public class HGCV3 _ = 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08RESIHGCV.cs index ef4268a..70c0b89 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08RESIHGCV.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 MET08RESIHGCV _MET08RESIHGCV = CreateSelfDescription.Staging.v2_39_0.MET08RESIHGCV.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -43,58 +44,59 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV_() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV_(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV__() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV__(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV___() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV___(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV____() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV_____() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV_____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV______() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV_______() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV_______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV________() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV________(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV________637816296802048814__Normal() => _MET08RESIHGCV.Staging__v2_39_0__MET08RESIHGCV__MET08RESIHGCV________(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.0/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.43.0/HGCV3.cs index ab49d50..cf16521 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.0/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.0/HGCV3.cs @@ -1,3 +1,4 @@ +#if v2_43_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class HGCV3 _HGCV3 = CreateSelfDescription.Staging.v2_43_0.HGCV3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__HGCV3__pcl() => _HGCV3.Staging__v2_43_0__HGCV3__pcl(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -45,7 +46,7 @@ public class HGCV3 Assert.Fail(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF: false); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08RESIHGCV.cs index eb85414..8f6f639 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08RESIHGCV.cs @@ -1,3 +1,4 @@ +#if v2_43_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,13 +23,13 @@ public class MET08RESIHGCV _MET08RESIHGCV = CreateSelfDescription.Staging.v2_43_0.MET08RESIHGCV.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__MoveMatchingFiles(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -43,58 +44,59 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF: false); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_43_0__MET08RESIHGCV__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV1.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV1.cs index 92bcc02..63d6004 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV1.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,13 +23,13 @@ public class HGCV1 _HGCV1 = CreateSelfDescription.Staging.v2_43_4.HGCV1.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__HGCV1__pcl() => _HGCV1.Staging__v2_43_4__HGCV1__pcl(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -44,4 +45,5 @@ public class HGCV1 _ = 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/HGCV2.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV2.cs index dd20cd4..a748b4c 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV2.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,13 +23,13 @@ public class HGCV2 _HGCV2 = CreateSelfDescription.Staging.v2_43_4.HGCV2.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__HGCV2__pcl() => _HGCV2.Staging__v2_43_4__HGCV2__pcl(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -44,4 +45,5 @@ public class HGCV2 _ = 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/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV3.cs index 67df16d..0311418 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/HGCV3.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,13 +23,13 @@ public class HGCV3 _HGCV3 = CreateSelfDescription.Staging.v2_43_4.HGCV3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__HGCV3__pcl() => _HGCV3.Staging__v2_43_4__HGCV3__pcl(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -45,7 +46,7 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -61,7 +62,7 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -77,4 +78,5 @@ public class HGCV3 _ = 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08RESIHGCV.cs index 309f226..c479abe 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08RESIHGCV.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,7 +23,7 @@ public class MET08RESIHGCV _MET08RESIHGCV = CreateSelfDescription.Staging.v2_43_4.MET08RESIHGCV.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -45,13 +46,13 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -67,52 +68,53 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_43_4__MET08RESIHGCV__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV1.cs b/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV1.cs index 1277aad..5cb838b 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV1.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV1 _HGCV1 = CreateSelfDescription.Staging.v2_47_1.HGCV1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV1__pcl() => _HGCV1.Staging__v2_47_1__HGCV1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV1__pcl637955429602879992__Normal() { @@ -40,4 +45,5 @@ public class HGCV1 _ = 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/HGCV2.cs b/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV2.cs index f045fd2..a226752 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV2.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV2 _HGCV2 = CreateSelfDescription.Staging.v2_47_1.HGCV2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV2__pcl() => _HGCV2.Staging__v2_47_1__HGCV2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV2__pcl637955471606299897__Normal() { @@ -40,4 +45,5 @@ public class HGCV2 _ = 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/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV3.cs index e90ae13..1868554 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.1/HGCV3.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV3 _HGCV3 = CreateSelfDescription.Staging.v2_47_1.HGCV3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV3__pcl() => _HGCV3.Staging__v2_47_1__HGCV3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(AssertFailedException))] public void Staging__v2_47_1__HGCV3__pcl637812984345592512__MinFileLength() @@ -41,7 +46,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV3__pcl637816384579205568__Normal() { @@ -55,7 +62,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__HGCV3__pcl637955459372840332__Normal() { @@ -69,4 +78,5 @@ public class HGCV3 _ = 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08RESIHGCV.cs index e14b278..d9ca1d9 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08RESIHGCV.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class MET08RESIHGCV _MET08RESIHGCV = CreateSelfDescription.Staging.v2_47_1.MET08RESIHGCV.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal() { @@ -40,11 +45,15 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal() { @@ -58,15 +67,21 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql() { @@ -79,7 +94,9 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql() { @@ -92,28 +109,41 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_47_1__MET08RESIHGCV__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV1.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV1.cs index 2b1866a..707c1a6 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV1.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV1 _HGCV1 = CreateSelfDescription.Staging.v2_47_5.HGCV1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV1__pcl() => _HGCV1.Staging__v2_47_5__HGCV1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV1__pcl637955429602879992__Normal() { @@ -40,4 +45,5 @@ public class HGCV1 _ = 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/HGCV2.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV2.cs index 03e7e32..7141934 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV2.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV2 _HGCV2 = CreateSelfDescription.Staging.v2_47_5.HGCV2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV2__pcl() => _HGCV2.Staging__v2_47_5__HGCV2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV2__pcl637955471606299897__Normal() { @@ -40,4 +45,5 @@ public class HGCV2 _ = 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/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV3.cs index b32369b..05fb4a8 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/HGCV3.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV3 _HGCV3 = CreateSelfDescription.Staging.v2_47_5.HGCV3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV3__pcl() => _HGCV3.Staging__v2_47_5__HGCV3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(AssertFailedException))] public void Staging__v2_47_5__HGCV3__pcl637812984345592512__MinFileLength() @@ -41,7 +46,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV3__pcl637816384579205568__Normal() { @@ -55,7 +62,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__HGCV3__pcl637955459372840332__Normal() { @@ -69,4 +78,5 @@ public class HGCV3 _ = 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08RESIHGCV.cs index 5692c12..9888532 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08RESIHGCV.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class MET08RESIHGCV _MET08RESIHGCV = CreateSelfDescription.Staging.v2_47_5.MET08RESIHGCV.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal() { @@ -40,11 +45,15 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal() { @@ -58,15 +67,21 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql() { @@ -79,7 +94,9 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql() { @@ -92,28 +109,41 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_47_5__MET08RESIHGCV__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV1.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV1.cs index f93d9c8..c0911cd 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV1.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV1 _HGCV1 = CreateSelfDescription.Staging.v2_49_0.HGCV1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV1__pcl() => _HGCV1.Staging__v2_49_0__HGCV1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV1__pcl637955429602879992__Normal() { @@ -40,4 +45,5 @@ public class HGCV1 _ = 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/HGCV2.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV2.cs index c225dcf..b497146 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV2.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV2 _HGCV2 = CreateSelfDescription.Staging.v2_49_0.HGCV2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV2__pcl() => _HGCV2.Staging__v2_49_0__HGCV2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV2__pcl637955471606299897__Normal() { @@ -40,4 +45,5 @@ public class HGCV2 _ = 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/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV3.cs index e775cd7..0e1b597 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/HGCV3.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV3 _HGCV3 = CreateSelfDescription.Staging.v2_49_0.HGCV3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV3__pcl() => _HGCV3.Staging__v2_49_0__HGCV3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(AssertFailedException))] public void Staging__v2_49_0__HGCV3__pcl637812984345592512__MinFileLength() @@ -41,7 +46,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV3__pcl637816384579205568__Normal() { @@ -55,7 +62,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__HGCV3__pcl637955459372840332__Normal() { @@ -69,4 +78,5 @@ public class HGCV3 _ = 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08RESIHGCV.cs index dd2d7e4..fb5a4c2 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08RESIHGCV.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class MET08RESIHGCV _MET08RESIHGCV = CreateSelfDescription.Staging.v2_49_0.MET08RESIHGCV.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal() { @@ -40,11 +45,15 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal() { @@ -58,15 +67,21 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql() { @@ -79,7 +94,9 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql() { @@ -92,28 +109,41 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV1.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV1.cs index 52a93a8..c1d0847 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV1.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV1 _HGCV1 = CreateSelfDescription.Staging.v2_49_2.HGCV1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV1__pcl() => _HGCV1.Staging__v2_49_2__HGCV1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV1__pcl637955429602879992__Normal() { @@ -40,4 +45,5 @@ public class HGCV1 _ = 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/HGCV2.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV2.cs index 83562a5..627ccda 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV2.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV2 _HGCV2 = CreateSelfDescription.Staging.v2_49_2.HGCV2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV2__pcl() => _HGCV2.Staging__v2_49_2__HGCV2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV2__pcl637955471606299897__Normal() { @@ -40,4 +45,5 @@ public class HGCV2 _ = 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/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV3.cs index f479183..a3678cc 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/HGCV3.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV3 _HGCV3 = CreateSelfDescription.Staging.v2_49_2.HGCV3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV3__pcl() => _HGCV3.Staging__v2_49_2__HGCV3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(AssertFailedException))] public void Staging__v2_49_2__HGCV3__pcl637812984345592512__MinFileLength() @@ -41,7 +46,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV3__pcl637816384579205568__Normal() { @@ -55,7 +62,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__HGCV3__pcl637955459372840332__Normal() { @@ -69,4 +78,5 @@ public class HGCV3 _ = 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESIHGCV.cs index 31833b3..2c97ac9 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESIHGCV.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class MET08RESIHGCV _MET08RESIHGCV = CreateSelfDescription.Staging.v2_49_2.MET08RESIHGCV.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal() { @@ -40,11 +45,15 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal() { @@ -58,15 +67,21 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql() { @@ -79,7 +94,9 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql() { @@ -92,28 +109,41 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV1.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV1.cs index 83c6148..6db021e 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV1.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV1 _HGCV1 = CreateSelfDescription.Staging.v2_49_3.HGCV1.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV1__pcl() => _HGCV1.Staging__v2_49_3__HGCV1__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV1__pcl637955429602879992__Normal() { @@ -40,4 +45,5 @@ public class HGCV1 _ = 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/HGCV2.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV2.cs index 018f281..0188f21 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV2.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV2 _HGCV2 = CreateSelfDescription.Staging.v2_49_3.HGCV2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV2__pcl() => _HGCV2.Staging__v2_49_3__HGCV2__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV2__pcl637955471606299897__Normal() { @@ -40,4 +45,5 @@ public class HGCV2 _ = 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/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV3.cs index 994ca2a..448e185 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/HGCV3.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class HGCV3 _HGCV3 = CreateSelfDescription.Staging.v2_49_3.HGCV3.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV3__pcl() => _HGCV3.Staging__v2_49_3__HGCV3__pcl(); +#if DEBUG [Ignore] +#endif [TestMethod] [ExpectedException(typeof(AssertFailedException))] public void Staging__v2_49_3__HGCV3__pcl637812984345592512__MinFileLength() @@ -41,7 +46,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV3__pcl637816384579205568__Normal() { @@ -55,7 +62,9 @@ public class HGCV3 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__HGCV3__pcl637955459372840332__Normal() { @@ -69,4 +78,5 @@ public class HGCV3 _ = 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESIHGCV.cs index f695e6e..9d218b3 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESIHGCV.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,11 +23,15 @@ public class MET08RESIHGCV _MET08RESIHGCV = CreateSelfDescription.Staging.v2_49_3.MET08RESIHGCV.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal() { @@ -40,11 +45,15 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal() { @@ -58,15 +67,21 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql() { @@ -79,7 +94,9 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql() { @@ -92,28 +109,41 @@ public class MET08RESIHGCV _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_49_3__MET08RESIHGCV__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV1.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV1.cs index 889decc..610c56a 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV1.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV1.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -44,4 +45,5 @@ public class HGCV1 _ = 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/HGCV2.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV2.cs index d714f48..c0449c3 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV2.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -44,4 +45,5 @@ public class HGCV2 _ = 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/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV3.cs index c9bb24a..a2bb985 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/HGCV3.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -93,4 +94,5 @@ public class HGCV3 _ = 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08RESIHGCV.cs index 4aabd19..8b74eac 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08RESIHGCV.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -144,4 +145,5 @@ public class MET08RESIHGCV [TestMethod] public void Staging__v2_52_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_52_0__MET08RESIHGCV__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV1.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV1.cs new file mode 100644 index 0000000..0c3eabb --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV1.cs @@ -0,0 +1,59 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class HGCV1 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.HGCV1 _HGCV1; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.HGCV1.ClassInitialize(testContext); + _HGCV1 = CreateSelfDescription.Staging.v2_56_0.HGCV1.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__HGCV1__pcl() => _HGCV1.Staging__v2_56_0__HGCV1__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__HGCV1__pcl637955429602879992__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV1.Staging__v2_56_0__HGCV1__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV1.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV1.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV2.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV2.cs new file mode 100644 index 0000000..8641baf --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV2.cs @@ -0,0 +1,59 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class HGCV2 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.HGCV2 _HGCV2; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.HGCV2.ClassInitialize(testContext); + _HGCV2 = CreateSelfDescription.Staging.v2_56_0.HGCV2.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__HGCV2__pcl() => _HGCV2.Staging__v2_56_0__HGCV2__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__HGCV2__pcl637955471606299897__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV2.Staging__v2_56_0__HGCV2__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV2.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV2.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV3.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV3.cs new file mode 100644 index 0000000..8a26ed6 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/HGCV3.cs @@ -0,0 +1,111 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class HGCV3 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.HGCV3 _HGCV3; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.HGCV3.ClassInitialize(testContext); + _HGCV3 = CreateSelfDescription.Staging.v2_56_0.HGCV3.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__HGCV3__pcl() => _HGCV3.Staging__v2_56_0__HGCV3__pcl(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + [ExpectedException(typeof(AssertFailedException))] + public void Staging__v2_56_0__HGCV3__pcl637812984345592512__MinFileLength() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV3.Staging__v2_56_0__HGCV3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__HGCV3__pcl637816384579205568__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV3.Staging__v2_56_0__HGCV3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__HGCV3__pcl637955459372840332__Normal() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV3.Staging__v2_56_0__HGCV3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__HGCV3__pcl638416903464189143__PopulateCalculated() + { + string check = "*.pcl"; + bool validatePDSF = false; + _HGCV3.Staging__v2_56_0__HGCV3__pcl(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08RESIHGCV.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08RESIHGCV.cs new file mode 100644 index 0000000..f119ddb --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08RESIHGCV.cs @@ -0,0 +1,200 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class MET08RESIHGCV +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.MET08RESIHGCV _MET08RESIHGCV; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.MET08RESIHGCV.ClassInitialize(testContext); + _MET08RESIHGCV = CreateSelfDescription.Staging.v2_56_0.MET08RESIHGCV.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__MoveMatchingFiles(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__OpenInsightMetrologyViewer(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__OpenInsightMetrologyViewer(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__OpenInsight(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__OpenInsight(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__OpenInsight(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments638116020180910181__Viewer() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__APC(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__SPaCe(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__Dummy(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__InterceptIQS() => _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__InterceptIQS(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIHGCV__InterceptIQS638507610398652181__First() + { + string check = "HgCV_Unload_Res_9Points.txt"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIHGCV.Staging__v2_56_0__MET08RESIHGCV__InterceptIQS(); + string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Shared/AdaptationTesting.cs b/Adaptation/_Tests/Shared/AdaptationTesting.cs index 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/MET08RESIHGCV.cs b/Adaptation/_Tests/Static/MET08RESIHGCV.cs index 4e0b417..595fba9 100644 --- a/Adaptation/_Tests/Static/MET08RESIHGCV.cs +++ b/Adaptation/_Tests/Static/MET08RESIHGCV.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 MET08RESIHGCV : LoggingUnitTesting, IDisposable LoggingUnitTesting?.Dispose(); } + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + [TestMethod] public void TestDateTime() { @@ -55,7 +64,7 @@ public class MET08RESIHGCV : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("MET08RESIHGCV", "v2.52.0"), + new("MET08RESIHGCV", "v2.56.0"), }; string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; @@ -65,8 +74,55 @@ public class MET08RESIHGCV : 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(); + } + + [TestMethod] + public void TestDeltaMean() + { + // (0.3864 – 0.4286) / 0.4286 * 100 = -9.846 % + float a = 0.4286f; + float b = 0.3864f; + float c = 100; + float d = -9.84601f; + Assert.IsTrue((b - a) / a * c == d); + NonThrowTryCatch(); + } + + [TestMethod] + public void TestSubgroupId() + { + int subgroupId = 1715715363; + DateTime ticksDateTime = new(638512869386943434); + DateTime epicDateTime = new(1970, 01, 01, 0, 0, 0, DateTimeKind.Utc); + DateTime subgroupIdDateTime = epicDateTime.AddSeconds(subgroupId).ToLocalTime(); + TimeSpan timeSpan = new(ticksDateTime.Ticks - subgroupIdDateTime.Ticks); + Assert.IsTrue(timeSpan.TotalHours is < 1 and > (-1)); + NonThrowTryCatch(); + } + } \ No newline at end of file diff --git a/Adaptation/_Tests/Static/pcl.cs b/Adaptation/_Tests/Static/pcl.cs index cecb600..88726f6 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; @@ -202,9 +204,9 @@ public class PCL : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("HGCV1", "v2.52.0"), - new("HGCV2", "v2.52.0"), - new("HGCV3", "v2.52.0"), + new("HGCV1", "v2.56.0"), + new("HGCV2", "v2.56.0"), + new("HGCV3", "v2.56.0"), new("HGCV1-EQPT", "v2.12.3"), new("HGCV2-EQPT", "v2.12.3"), new("HGCV3-EQPT", "v2.12.3"), @@ -217,8 +219,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/MET08RESIHGCV.csproj b/MET08RESIHGCV.csproj index 934b35a..5b69007 100644 --- a/MET08RESIHGCV.csproj +++ b/MET08RESIHGCV.csproj @@ -48,6 +48,12 @@ prompt MinimumRecommendedRules.ruleset + + NETFRAMEWORK;NET20;NET35;NET40;NET45;NET451;NET452;NET46;NET461;NET462;NET47;NET471;NET472;NET48;$(DefineConstants) + + + + @@ -101,13 +107,14 @@ + - - - + + +