diff --git a/.gitignore b/.gitignore index dce63ed..56d8c06 100644 --- a/.gitignore +++ b/.gitignore @@ -342,3 +342,4 @@ ASALocalRun/ *.lnk .kanbn +Adaptation/.kanbn diff --git a/.vscode/mklink.md b/.vscode/mklink.md deleted file mode 100644 index f0aad82..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\MET08THFTIRQS408M\06_SourceCode\MET08THFTIRQS408M\.kanbn" "D:\Documents\Kanban\MET08THFTIRQS408M" -``` diff --git a/Adaptation/.editorconfig b/Adaptation/.editorconfig index bd60911..69ecc38 100644 --- a/Adaptation/.editorconfig +++ b/Adaptation/.editorconfig @@ -100,6 +100,7 @@ dotnet_diagnostic.CA1846.severity = none # CA1846: Prefer AsSpan over Substring dotnet_diagnostic.CA1847.severity = none # CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters dotnet_diagnostic.CA1854.severity = warning # CA1854: Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup dotnet_diagnostic.CA1860.severity = error # CA1860: Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance +dotnet_diagnostic.CA1861.severity = none # CA1861: Prefer 'static readonly' fields over constant array arguments dotnet_diagnostic.CA1862.severity = none # CA1862: Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' dotnet_diagnostic.CA1864.severity = none # CA1864: To avoid double lookup, call 'TryAdd' instead of calling 'Add' with a 'ContainsKey' guard dotnet_diagnostic.CA1866.severity = none # CA1866: Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char diff --git a/Adaptation/.vscode/launch.json b/Adaptation/.vscode/launch.json index da21edd..33587e0 100644 --- a/Adaptation/.vscode/launch.json +++ b/Adaptation/.vscode/launch.json @@ -4,7 +4,7 @@ "name": ".NET Core Attach", "type": "coreclr", "request": "attach", - "processId": 27928 + "processId": 24640 } ] } diff --git a/Adaptation/.vscode/mklink.md b/Adaptation/.vscode/mklink.md new file mode 100644 index 0000000..0e5543b --- /dev/null +++ b/Adaptation/.vscode/mklink.md @@ -0,0 +1,5 @@ +# mklink + +```bash +mklink /J "T:\METCLIMATEC\06_SourceCode\METCLIMATEC\Adaptation\.kanbn" "D:\5-Other-Small\Kanban\METCLIMATEC" +``` diff --git a/Adaptation/.vscode/tasks.json b/Adaptation/.vscode/tasks.json index 074394e..78155de 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:/MET08THFTIRSTRATUS/06_SourceCode/MET08THFTIRSTRATUS/Adaptation -s T:/MET08THFTIRSTRATUS/06_SourceCode/MET08THFTIRSTRATUS/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:/MET08THFTIRSTRATUS/06_SourceCode/MET08THFTIRSTRATUS/Adaptation -s T:/MET08THFTIRSTRATUS/06_SourceCode/MET08THFTIRSTRATUS/Adaptation/.kanbn/tasks", "problemMatcher": [] }, { diff --git a/Adaptation/FileHandlers/OpenInsight/FileRead.cs b/Adaptation/FileHandlers/OpenInsight/FileRead.cs index 1fbf6cc..955ba3b 100644 --- a/Adaptation/FileHandlers/OpenInsight/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsight/FileRead.cs @@ -25,17 +25,17 @@ public class FileRead : Shared.FileRead, IFileRead 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); + _NullData = string.Empty; if (_FileParameter is null) throw new Exception(cellInstanceConnectionName); if (_ModelObjectParameterDefinitions is null) throw new Exception(cellInstanceConnectionName); if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); - _OpenInsightApiECDirectory = @"\\mesfs.infineon.com\EC_Metrology_Si\Archive\API"; _IqsConnectionString = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "IQS.ConnectionString"); _OpenInsightFilePattern = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.FilePattern"); + _OpenInsightApiECDirectory = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.Api.EC.Directory"); } void IFileRead.Move(Tuple> extractResults, Exception exception) @@ -170,6 +170,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); } diff --git a/Adaptation/FileHandlers/OpenInsight/FromIQS.cs b/Adaptation/FileHandlers/OpenInsight/FromIQS.cs index acbeed0..f5c64d5 100644 --- a/Adaptation/FileHandlers/OpenInsight/FromIQS.cs +++ b/Adaptation/FileHandlers/OpenInsight/FromIQS.cs @@ -226,6 +226,99 @@ public class FromIQS File.WriteAllText(checkFile, json); } + private static string GetCommandText(string[] iqsCopyValues) + { // cSpell:disable + StringBuilder result = new(); + if (iqsCopyValues.Length != 4) + throw new NotSupportedException(); + string find = iqsCopyValues[1]; + string replace = iqsCopyValues[3]; + _ = result + .AppendLine(" select pd.f_name [Part Name], ") + .AppendLine(" null [Part Revision], ") + .Append(" '").Append(replace).AppendLine("' [Test Name], ") + .AppendLine(" null [Description], ") + .AppendLine(" null [Lot Number], ") + .AppendLine(" null [Job Name], ") + .AppendLine(" null [Process Name], ") + .AppendLine(" case when sl.f_url = 0 then null else sl.f_url end [Reasonable Limit (Upper)], ") + .AppendLine(" case when sl.f_url = 0 then 0 else 1 end [Alarm Reasonable Limit (Upper)], ") + .AppendLine(" case when sl.f_usl = 0 then null else sl.f_usl end [Specification Limit (Upper)], ") + .AppendLine(" case when sl.f_usl = 0 then 0 else 1 end [Alarm Specification Limit (Upper)], ") + .AppendLine(" case when sl.f_ugb = 0 then null else sl.f_ugb end [Warning Limit (Upper)], ") + .AppendLine(" case when sl.f_ugb = 0 then 0 else 1 end [Alarm Warning Limit (Upper)], ") + .AppendLine(" case when sl.f_tar = 0 then null else sl.f_tar end [Specification Limit (Target)], ") + .AppendLine(" case when sl.f_lgb = 0 then null else sl.f_lgb end [Warning Limit (Lower)], ") + .AppendLine(" case when sl.f_lgb = 0 then 0 else 1 end [Alarm Warning Limit (Lower)], ") + .AppendLine(" case when sl.f_lsl = 0 then null else sl.f_lsl end [Specification Limit (Lower)], ") + .AppendLine(" case when sl.f_lsl = 0 then 0 else 1 end [Alarm Specification Limit (Lower)], ") + .AppendLine(" case when sl.f_lrl = 0 then null else sl.f_lrl end [Reasonable Limit (Lower)], ") + .AppendLine(" case when sl.f_lrl = 0 then 0 else 1 end [Alarm Reasonable Limit (Lower)], ") + .AppendLine(" td.f_name [Original Test Name], ") + .AppendLine(" td.f_test [Test Id], ") + .AppendLine(" ( ") + .AppendLine(" select count(sl_b.f_spec) ") + .AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl_b ") + .AppendLine(" join [spcepiworld].[dbo].[part_dat] pd_b ") + .AppendLine(" on sl_b.f_part = pd_b.f_part ") + .AppendLine(" join [spcepiworld].[dbo].[test_dat] td_b ") + .AppendLine(" on sl_b.f_test = td_b.f_test ") + .AppendLine(" where sl_b.f_prcs = 0 ") + .Append(" and td_b.f_name = '").Append(replace).AppendLine("' ") + .AppendLine(" and pd_b.f_name = pd.f_name ") + .AppendLine(" and sl_b.f_url = sl.f_url ") + .AppendLine(" and sl_b.f_usl = sl.f_usl ") + .AppendLine(" and sl_b.f_ugb = sl.f_ugb ") + .AppendLine(" and sl_b.f_tar = sl.f_tar ") + .AppendLine(" and sl_b.f_lgb = sl.f_lgb ") + .AppendLine(" and sl_b.f_lsl = sl.f_lsl ") + .AppendLine(" and sl_b.f_lrl = sl.f_lrl ") + .AppendLine(" group by sl_b.f_spec ") + .AppendLine(" ) count ") + .AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl ") + .AppendLine(" join [spcepiworld].[dbo].[part_dat] pd ") + .AppendLine(" on sl.f_part = pd.f_part ") + .AppendLine(" join [spcepiworld].[dbo].[test_dat] td ") + .AppendLine(" on sl.f_test = td.f_test ") + .AppendLine(" where sl.f_prcs = 0 ") + .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 ") + .AppendLine(" join [spcepiworld].[dbo].[part_dat] pd_b ") + .AppendLine(" on sl_b.f_part = pd_b.f_part ") + .AppendLine(" join [spcepiworld].[dbo].[test_dat] td_b ") + .AppendLine(" on sl_b.f_test = td_b.f_test ") + .AppendLine(" where sl_b.f_prcs = 0 ") + .Append(" and td_b.f_name = '").Append(replace).AppendLine("' ") + .AppendLine(" and pd_b.f_name = pd.f_name ") + .AppendLine(" and sl_b.f_url = sl.f_url ") + .AppendLine(" and sl_b.f_usl = sl.f_usl ") + .AppendLine(" and sl_b.f_ugb = sl.f_ugb ") + .AppendLine(" and sl_b.f_tar = sl.f_tar ") + .AppendLine(" and sl_b.f_lgb = sl.f_lgb ") + .AppendLine(" and sl_b.f_lsl = sl.f_lsl ") + .AppendLine(" and sl_b.f_lrl = sl.f_lrl ") + .AppendLine(" group by sl_b.f_spec ") + .AppendLine(" ), 0) = 0 ") + .AppendLine(" for json path "); + return result.ToString(); + } // cSpell:restore + + internal static void SaveCopy(string fileConnectorConfigurationSourceFileLocation, string connectionString, string name, string[] iqsCopyValues) + { + string checkFile = Path.Combine(fileConnectorConfigurationSourceFileLocation, $"{name}.json"); + if (!File.Exists(checkFile)) + { + string commandText = GetCommandText(iqsCopyValues); + StringBuilder stringBuilder = GetForJsonPath(connectionString, commandText); + if (stringBuilder.Length != 0) + File.WriteAllText(checkFile, stringBuilder.ToString()); + else + File.WriteAllText(Path.Combine(fileConnectorConfigurationSourceFileLocation, $"{name}.sql"), commandText); + } + } + #nullable disable } \ No newline at end of file diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs index cd6fd55..cf957f8 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\StratusBioRadRunHeader_"; _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 a9529e2..f011ebb 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs @@ -28,7 +28,6 @@ public class WSRequest public string Title { get; set; } public string UniqueId { get; set; } public List Details { get; protected set; } - public string ProcessDataStandardFormat { get; set; } [Obsolete("For json")] public WSRequest() { } @@ -36,7 +35,6 @@ public class WSRequest internal WSRequest(IFileRead fileRead, Logistics logistics, List descriptions, string processDataStandardFormat = null) #pragma warning restore IDE0060 { - ProcessDataStandardFormat = processDataStandardFormat; Id = -1; FilePath = string.Empty; CellName = logistics.MesEntity; @@ -91,23 +89,30 @@ public class WSRequest UniqueId = Details[0].HeaderUniqueId; } -#pragma warning disable IDE0060 - internal static void PostOpenInsightMetrologyViewerAttachments(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, string originalDataBioRad, 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; - string dataPDFFile = Path.Combine(matchDirectory, $"{wsResultsHeaderID}.pdf"); + result = metrologyWSRequest.HeaderID; + return result; + } + +#pragma warning disable IDE0060 + internal static void PostOpenInsightMetrologyViewerAttachments(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, string originalDataBioRad, List descriptions, string matchDirectory, string subGroupId, long headerId, string headerIdDirectory) +#pragma warning restore IDE0060 + { + string dataPDFFile = Path.Combine(matchDirectory, $"{headerId}.pdf"); string[] txtFiles = Directory.GetFiles(matchDirectory, string.Concat(originalDataBioRad, "*.txt"), SearchOption.TopDirectoryOnly); if (txtFiles.Length != 1) - throw new Exception($"Invalid source file count for <{wsResultsHeaderID}>!{Environment.NewLine}{json}"); + throw new Exception($"Invalid source file count for <{headerId}>!"); string[] lines = File.ReadAllLines(txtFiles[0]); lines = (from l in lines where !string.IsNullOrEmpty(l) select l).ToArray(); if (lines.Length > 1) @@ -128,8 +133,11 @@ public class WSRequest pdPageContentStream.close(); pdDocument.save(dataPDFFile); pdDocument.close(); - List headerAttachments = new() { new WS.Attachment(descriptions[0].HeaderUniqueId, "Data.pdf", dataPDFFile) }; - WS.AttachFiles(openInsightMetrologyViewerAPI, wsResultsHeaderID, headerAttachments, dataAttachments: null); + List headerAttachments = new() + { + new WS.Attachment(subGroupId, headerId, headerIdDirectory, descriptions[0].HeaderUniqueId, "Data.pdf", dataPDFFile) + }; + WS.AttachFiles(openInsightMetrologyViewerAPI, headerAttachments, dataAttachments: null); } } diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs index ff46e05..29905ec 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs @@ -5,6 +5,7 @@ using Adaptation.Shared.Duplicator; using Adaptation.Shared.Methods; using System; using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Linq; using System.Text.Json; @@ -14,9 +15,9 @@ namespace Adaptation.FileHandlers.OpenInsightMetrologyViewerAttachments; public class FileRead : Shared.FileRead, IFileRead { - private readonly string _JobIdParentDirectory; private readonly string _OriginalDataBioRad; 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) @@ -31,8 +32,8 @@ public class FileRead : Shared.FileRead, IFileRead if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); _OriginalDataBioRad = "OriginalDataBioRad_"; - _JobIdParentDirectory = GetJobIdParentDirectory(_FileConnectorConfiguration.SourceFileLocation); _OpenInsightMetrologyViewerAPI = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerAPI"); + _OpenInsightMetrologyViewerFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerFileShare"); } void IFileRead.Move(Tuple> extractResults, Exception exception) @@ -110,26 +111,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, _OriginalDataBioRad, 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, _OriginalDataBioRad, descriptions, matchDirectories[0], subGroupId, headerId, headerIdDirectory); } private Tuple> GetExtractResult(string reportFullPath, DateTime dateTime) @@ -142,7 +175,7 @@ public class FileRead : Shared.FileRead, IFileRead List descriptions = Stratus.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/Infineon/Monitoring/MonA/MonIn.cs b/Adaptation/Infineon/Monitoring/MonA/MonIn.cs index 34f234d..7a8a711 100644 --- a/Adaptation/Infineon/Monitoring/MonA/MonIn.cs +++ b/Adaptation/Infineon/Monitoring/MonA/MonIn.cs @@ -6,45 +6,24 @@ using System.Text; namespace Infineon.Monitoring.MonA; -#pragma warning disable CS0436 // The type 'IMonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\IMonIn.cs' conflicts with the imported type 'IMonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\IMonIn.cs'. public class MonIn : IMonIn, IDisposable -#pragma warning restore CS0436 // The type 'IMonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\IMonIn.cs' conflicts with the imported type 'IMonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\IMonIn.cs'. { private static readonly DateTime _Utc1970DateTime = new(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public const string MonInUrl = "http://moninhttp.{0}.infineon.com/input/text"; -#pragma warning disable CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. private static readonly Dictionary _Instances = new(); -#pragma warning restore CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. -#pragma warning disable CS0436 // The type 'ExtWebClient' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs' conflicts with the imported type 'ExtWebClient' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs'. private readonly ExtWebClient _WebClient; -#pragma warning restore CS0436 // The type 'ExtWebClient' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs' conflicts with the imported type 'ExtWebClient' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs'. private readonly string _MonInUrl; private static CultureInfo _CultureInfo; -#pragma warning disable CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. public static MonIn GetInstance(string url = "http://moninhttp.{0}.infineon.com/input/text") -#pragma warning restore CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. { -#pragma warning disable CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. MonIn instance; -#pragma warning restore CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. - if (_Instances.ContainsKey(url)) + lock (_Instances) { - instance = _Instances[url]; - } - else - { - lock (_Instances) + if (_Instances.TryGetValue(url, out instance)) { - if (!_Instances.ContainsKey(url)) - { -#pragma warning disable CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. - instance = new MonIn(url); -#pragma warning restore CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. - _Instances.Add(url, instance); - } - else - instance = _Instances[url]; + instance = new MonIn(url); + _Instances.Add(url, instance); } } return instance; @@ -52,9 +31,7 @@ public class MonIn : IMonIn, IDisposable private MonIn(string url) { -#pragma warning disable CS0436 // The type 'ExtWebClient' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs' conflicts with the imported type 'ExtWebClient' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs'. _WebClient = new ExtWebClient(); -#pragma warning restore CS0436 // The type 'ExtWebClient' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs' conflicts with the imported type 'ExtWebClient' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs'. _WebClient.Headers[HttpRequestHeader.ContentType] = "application/text"; _WebClient.Encoding = Encoding.UTF8; _CultureInfo = new CultureInfo("en-US"); @@ -67,26 +44,20 @@ public class MonIn : IMonIn, IDisposable _WebClient.Headers[HttpRequestHeader.Authorization] = "Basic " + Convert.ToBase64String(Encoding.ASCII.GetBytes(username + ":" + password)); } -#pragma warning disable CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. public string SendStatus(string site, string resource, string stateName, State state) => SendStatus(site, new DateTime?(), resource, string.Empty, stateName, state, string.Empty); -#pragma warning restore CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. public string SendStatus( string site, DateTime timeStamp, string resource, string stateName, -#pragma warning disable CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. State state) => SendStatus(site, new DateTime?(timeStamp), resource, string.Empty, stateName, state, string.Empty); -#pragma warning restore CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. public string SendStatus( string site, string resource, string stateName, -#pragma warning disable CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. State state, -#pragma warning restore CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. string description) => SendStatus(site, new DateTime?(), resource, string.Empty, stateName, state, description); public string SendStatus( @@ -94,9 +65,7 @@ public class MonIn : IMonIn, IDisposable DateTime timeStamp, string resource, string stateName, -#pragma warning disable CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. State state, -#pragma warning restore CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. string description) => SendStatus(site, new DateTime?(timeStamp), resource, string.Empty, stateName, state, description); public string SendStatus( @@ -104,9 +73,7 @@ public class MonIn : IMonIn, IDisposable string resource, string subresource, string stateName, -#pragma warning disable CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. State state) => SendStatus(site, new DateTime?(), resource, subresource, stateName, state, string.Empty); -#pragma warning restore CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. public string SendStatus( string site, @@ -114,18 +81,14 @@ public class MonIn : IMonIn, IDisposable string resource, string subresource, string stateName, -#pragma warning disable CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. State state) => SendStatus(site, new DateTime?(timeStamp), resource, subresource, stateName, state, string.Empty); -#pragma warning restore CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. public string SendStatus( string site, string resource, string subresource, string stateName, -#pragma warning disable CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. State state, -#pragma warning restore CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. string description) => SendStatus(site, new DateTime?(), resource, subresource, stateName, state, description); public string SendStatus( @@ -134,9 +97,7 @@ public class MonIn : IMonIn, IDisposable string resource, string subresource, string stateName, -#pragma warning disable CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. State state, -#pragma warning restore CS0436 // The type 'State' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs' conflicts with the imported type 'State' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\State.cs'. string description) { string statusMessage = CreateStatusMessage(site, timeStamp, resource, subresource, stateName, state.ToString(), description); @@ -306,10 +267,7 @@ public class MonIn : IMonIn, IDisposable public void Dispose() { -#pragma warning disable CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. KeyValuePair keyValuePair = new(); -#pragma warning restore CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. -#pragma warning disable CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. foreach (KeyValuePair instance in _Instances) { if (instance.Value == this) @@ -318,7 +276,6 @@ public class MonIn : IMonIn, IDisposable break; } } -#pragma warning restore CS0436 // The type 'MonIn' in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs' conflicts with the imported type 'MonIn' in 'Infineon.Monitoring.MonA, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\Adaptation\Infineon\Monitoring\MonA\MonIn.cs'. _ = _Instances.Remove(keyValuePair.Key); _WebClient?.Dispose(); } diff --git a/Adaptation/MET08THFTIRSTRATUS.Tests.csproj b/Adaptation/MET08THFTIRSTRATUS.Tests.csproj index 9daf450..7b7c8bc 100644 --- a/Adaptation/MET08THFTIRSTRATUS.Tests.csproj +++ b/Adaptation/MET08THFTIRSTRATUS.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 5f35f7b..16fcf8a 100644 --- a/Adaptation/Shared/FileRead.cs +++ b/Adaptation/Shared/FileRead.cs @@ -571,16 +571,99 @@ public class FileRead : Properties.IFileRead } } + internal static List GetDirectoryNames(string directory) + { +#nullable enable + List results = new(); + string? fileName; + string? checkDirectory = directory; + string? pathRoot = Path.GetPathRoot(directory); + string extension = Path.GetExtension(directory); + if (string.IsNullOrEmpty(pathRoot)) + throw new NullReferenceException(nameof(pathRoot)); + if (Directory.Exists(directory)) + { + fileName = Path.GetFileName(directory); + if (!string.IsNullOrEmpty(fileName)) + results.Add(fileName); + } + else if ((string.IsNullOrEmpty(extension) || extension.Length > 3) && !File.Exists(directory)) + { + fileName = Path.GetFileName(directory); + if (!string.IsNullOrEmpty(fileName)) + results.Add(fileName); + } + for (int i = 0; i < int.MaxValue; i++) + { + checkDirectory = Path.GetDirectoryName(checkDirectory); + if (string.IsNullOrEmpty(checkDirectory) || checkDirectory == pathRoot) + break; + fileName = Path.GetFileName(checkDirectory); + if (string.IsNullOrEmpty(fileName)) + continue; + results.Add(fileName); + } + results.Add(pathRoot); + results.Reverse(); + return results; +#nullable disable + } + + private string GetJobIdDirectory(string path) + { + string result; + List directoryNames = GetDirectoryNames(path); + if (!directoryNames.Contains(_Logistics.JobID)) + result = Path.GetDirectoryName(path); + else + { + result = string.Empty; + foreach (string directoryName in directoryNames) + { + result = Path.Combine(result, directoryName); + if (directoryName == _Logistics.JobID) + break; + } + } + return result; + } + + private static void DeleteEmptyTopDirectories(string rootDirectory) + { + if (Directory.Exists(rootDirectory)) + { + string[] files; + string[] directories; + string[] subDirectories = Directory.GetDirectories(rootDirectory, "*", SearchOption.TopDirectoryOnly); + foreach (string subDirectory in subDirectories) + { + files = Directory.GetFiles(subDirectory, "*", SearchOption.AllDirectories); + if (files.Length > 0) + continue; + directories = Directory.GetDirectories(subDirectory, "*", SearchOption.TopDirectoryOnly); + if (directories.Length > 0) + continue; + try + { Directory.Delete(subDirectory); } + catch (UnauthorizedAccessException) + { + new DirectoryInfo(subDirectory).Attributes = FileAttributes.Normal; + Directory.Delete(subDirectory); + } + } + } + } + private void Shared1811(string to, FileInfo sourceFile) { if (!_IsDuplicator && _FileConnectorConfiguration.SourceFileFilter != "*" && sourceFile.Exists && sourceFile.Length < _MinFileLength) { string directoryName = Path.GetFileName(to); - string jobIdDirectory = Path.GetDirectoryName(to); + string jobIdDirectory = GetJobIdDirectory(to); DateTime dateTime = DateTime.Now.AddMinutes(-15); string weekOfYear = _Calendar.GetWeekOfYear(_Logistics.DateTimeFromSequence, CalendarWeekRule.FirstDay, DayOfWeek.Sunday).ToString("00"); string weekDirectory = $"{_Logistics.DateTimeFromSequence:yyyy}_Week_{weekOfYear}{@"\"}{_Logistics.DateTimeFromSequence:yyyy-MM-dd}"; - string destinationDirectory = string.Concat(jobIdDirectory, @"\_ Ignore 100 bytes\", weekDirectory, @"\", directoryName); + string destinationDirectory = Path.Combine(jobIdDirectory, "_ Ignore 100 bytes", weekDirectory, directoryName); if (!Directory.Exists(destinationDirectory)) _ = Directory.CreateDirectory(destinationDirectory); File.Move(sourceFile.FullName, string.Concat(destinationDirectory, @"\", sourceFile.Name)); @@ -605,6 +688,7 @@ public class FileRead : Properties.IFileRead } } catch (Exception) { throw; } + DeleteEmptyTopDirectories(jobIdDirectory); } } diff --git a/Adaptation/Shared/Metrology/WS.Attachment.cs b/Adaptation/Shared/Metrology/WS.Attachment.cs index ea105ed..8edb116 100644 --- a/Adaptation/Shared/Metrology/WS.Attachment.cs +++ b/Adaptation/Shared/Metrology/WS.Attachment.cs @@ -2,18 +2,27 @@ public partial class WS { + public class Attachment { + public string SubGroupId { get; set; } + public long HeaderId { get; set; } + public string HeaderIdDirectory { get; set; } public string UniqueId { get; set; } public string DestinationFileName { get; set; } public string SourceFileName { get; set; } + public string AttachmentId { get; set; } - public Attachment(string uniqueId, string destinationFileName, string sourceFileName) + public Attachment(string subGroupId, long headerId, string headerIdDirectory, string uniqueId, string destinationFileName, string sourceFileName) { + SubGroupId = subGroupId; + HeaderId = headerId; + HeaderIdDirectory = headerIdDirectory; UniqueId = uniqueId; DestinationFileName = destinationFileName; SourceFileName = sourceFileName; + AttachmentId = System.Guid.NewGuid().ToString(); } } diff --git a/Adaptation/Shared/Metrology/WS.cs b/Adaptation/Shared/Metrology/WS.cs index 844efea..4e43fa3 100644 --- a/Adaptation/Shared/Metrology/WS.cs +++ b/Adaptation/Shared/Metrology/WS.cs @@ -10,7 +10,7 @@ namespace Adaptation.Shared.Metrology; public partial class WS { - public static (string, Results) SendData(string url, object payload, int timeoutSeconds = 120) + public static (string, Results) SendData(string url, long sequence, string directory, object payload, int timeoutSeconds = 120) { Results results = new(); string resultsJson = string.Empty; @@ -31,6 +31,10 @@ public partial class WS HttpResponseMessage httpResponseMessage = httpClient.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseContentRead).Result; resultsJson = httpResponseMessage.Content.ReadAsStringAsync().Result; results = JsonSerializer.Deserialize(resultsJson, new JsonSerializerOptions { PropertyNameCaseInsensitive = true }); + string checkDirectory = Path.Combine(directory, $"-{results.HeaderID}"); + if (!Directory.Exists(checkDirectory)) + _ = Directory.CreateDirectory(checkDirectory); + File.WriteAllText(Path.Combine(checkDirectory, $"{sequence}.json"), json); } if (!results.Success) results.Errors.Add(results.ToString()); @@ -51,58 +55,42 @@ public partial class WS return new(resultsJson, results); } - // this method is a wrapper for attaching a file to either a header or data record - // URL is the same URL used for SendData, ex: http://localhost/api/inbound/CDE - // attachToHeaderId is the ID returned by SendData - // attachToDataUniqueId is the string unique ID for the data record, aka the Title of the Sharepoint list entry - // fileContents is a byte array with the contents of the file - // fileName is which attachment this is, image.pdf, data.pdf, data.txt, header.pdf, etc - // timeoutSeconds is configured as the request timeout - // this method will either succeed or throw an exception - // also, this has been made synchronous - public static void AttachFile(string url, long attachToHeaderId, string attachToDataUniqueId, byte[] fileContents, string fileName, int timeoutSeconds = 60) + public static void AttachFile(string url, Attachment attachment, int timeoutSeconds = 60) { using HttpClient httpClient = new(); - string requestUrl = url + "/attachment?headerid=" + attachToHeaderId.ToString(); - if (!string.IsNullOrWhiteSpace(attachToDataUniqueId)) - { - requestUrl += "&datauniqueid="; - requestUrl += System.Net.WebUtility.UrlEncode(attachToDataUniqueId); - } - requestUrl += "&filename="; // this is just so the web server log shows the filename - requestUrl += System.Net.WebUtility.UrlEncode(fileName); - + string json = JsonSerializer.Serialize(attachment); httpClient.Timeout = new TimeSpan(0, 0, 0, timeoutSeconds, 0); - - MultipartFormDataContent multipartFormDataContent = new(); - ByteArrayContent byteArrayContent = new(fileContents); - byteArrayContent.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/octet-stream"); - - multipartFormDataContent.Add(byteArrayContent, "attachment", fileName); - - HttpResponseMessage httpResponseMessage = httpClient.PostAsync(requestUrl, multipartFormDataContent).Result; - - if (httpResponseMessage.IsSuccessStatusCode) - return; - - string resultBody = httpResponseMessage.Content.ReadAsStringAsync().Result; - - throw new Exception("Attachment failed: " + resultBody); + StringContent httpContent = new(json, Encoding.UTF8, "application/json"); + HttpResponseMessage httpResponseMessage = httpClient.PostAsync($"{url}/attachment", httpContent).Result; + if (!httpResponseMessage.IsSuccessStatusCode) + { + string resultBody = httpResponseMessage.Content.ReadAsStringAsync().Result; + throw new Exception($"Attachment failed: {resultBody}"); + } } - public static void AttachFiles(string url, long headerID, List headerAttachments = null, List dataAttachments = null) + public static void AttachFiles(string url, List headerAttachments = null, List dataAttachments = null) { + string directory; try { if (headerAttachments is not null) { foreach (Attachment attachment in headerAttachments) - AttachFile(url, headerID, "", File.ReadAllBytes(attachment.SourceFileName), attachment.DestinationFileName); + { + directory = Path.GetDirectoryName(attachment.HeaderIdDirectory) ?? throw new Exception(); + File.Copy(attachment.SourceFileName, Path.Combine(directory, attachment.AttachmentId, attachment.DestinationFileName), overwrite: true); + AttachFile(url, attachment); + } } if (dataAttachments is not null) { foreach (Attachment attachment in dataAttachments) - AttachFile(url, headerID, attachment.UniqueId, File.ReadAllBytes(attachment.SourceFileName), attachment.DestinationFileName); + { + directory = Path.GetDirectoryName(attachment.HeaderIdDirectory) ?? throw new Exception(); + File.Copy(attachment.SourceFileName, Path.Combine(directory, attachment.AttachmentId, attachment.DestinationFileName), overwrite: true); + AttachFile(url, attachment); + } } //MessageBox.Show(r.ToString()); } diff --git a/Adaptation/Shared/Test.cs b/Adaptation/Shared/Test.cs index 3aa3552..169f05b 100644 --- a/Adaptation/Shared/Test.cs +++ b/Adaptation/Shared/Test.cs @@ -14,6 +14,7 @@ public enum Test CandelaPSL = 38, CandelaVerify = 37, CDE = 24, + Climatec = 54, //Largest CV = 3, DailyRPMAverage = 19, DailyRPMPLRatio = 20, @@ -38,7 +39,7 @@ public enum Test RPMPLRatio = 17, RPMXY = 15, SP1 = 8, - SRP2100 = 53, //Largest + SRP2100 = 53, Tencor = 7, UV = 35, VerificationLehighton = 14, diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/BIORAD4.cs index f3053af..ad8eed2 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_36_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -45,7 +46,7 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,4 +87,5 @@ public class BIORAD4 : 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.36.3/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/BIORAD5.cs index f4e3f7b..e9d3906 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_36_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -45,7 +46,7 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,4 +87,5 @@ public class BIORAD5 : 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.36.3/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/MET08THFTIRSTRATUS.cs index e940128..224da9a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.3/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_36_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -45,7 +46,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -84,7 +85,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -97,7 +98,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -110,7 +111,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -123,7 +124,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -136,7 +137,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -149,7 +150,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -162,4 +163,5 @@ public class MET08THFTIRSTRATUS : 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/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/BIORAD4.cs index b41b9cc..f5d25e3 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/BIORAD4.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 BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,4 +87,5 @@ public class BIORAD4 : 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/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/BIORAD5.cs index 47f0e69..c1ab906 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/BIORAD5.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 BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,4 +87,5 @@ public class BIORAD5 : 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08THFTIRSTRATUS.cs index 69696d7..586fec8 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08THFTIRSTRATUS.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 MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -84,7 +85,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -97,7 +98,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -110,7 +111,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -123,7 +124,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -136,7 +137,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -149,7 +150,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -162,4 +163,5 @@ public class MET08THFTIRSTRATUS : 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/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/BIORAD4.cs index 210810a..a12b267 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/BIORAD4.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 BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,4 +87,5 @@ public class BIORAD4 : 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/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/BIORAD5.cs index f38680d..a232da7 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/BIORAD5.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 BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,4 +87,5 @@ public class BIORAD5 : 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08THFTIRSTRATUS.cs index ca1b6f3..bd34d73 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.0/MET08THFTIRSTRATUS.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 MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -58,7 +59,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -71,7 +72,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -84,7 +85,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -97,7 +98,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -110,7 +111,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -123,7 +124,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -136,7 +137,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -149,7 +150,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -162,7 +163,7 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -175,4 +176,5 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/BIORAD4.cs index d1d2786..44f77f6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__txt() { @@ -58,7 +61,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/BIORAD5.cs index cdfafcc..ffbbcf4 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -47,7 +48,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD5__txt() { @@ -58,7 +61,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD5__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD5__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD5 : 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08THFTIRSTRATUS.cs index 16cd586..a6a88a1 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08THFTIRSTRATUS.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 MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__IQSSi() { @@ -80,7 +87,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__APC() { @@ -113,7 +126,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__SPaCe() { @@ -124,7 +139,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__Processed() { @@ -135,7 +152,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__Archive() { @@ -146,7 +165,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__Dummy() { @@ -157,4 +178,5 @@ public class MET08THFTIRSTRATUS : 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/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/BIORAD4.cs index 1b58a83..69de5f6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/BIORAD4.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 BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__txt() { @@ -58,7 +61,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD4 : 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/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/BIORAD5.cs index 2d16a9d..ece00ee 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/BIORAD5.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 BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD5__txt() { @@ -58,7 +61,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD5__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD5__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD5 : 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08THFTIRSTRATUS.cs index 5ca1b39..394e060 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08THFTIRSTRATUS.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 MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__IQSSi() { @@ -80,7 +87,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__APC() { @@ -113,7 +126,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__SPaCe() { @@ -124,7 +139,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__Processed() { @@ -135,7 +152,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__Archive() { @@ -146,7 +165,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__Dummy() { @@ -157,4 +178,5 @@ public class MET08THFTIRSTRATUS : 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/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/BIORAD4.cs index 778edf4..2544556 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/BIORAD4.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 BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__txt() { @@ -58,7 +61,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD4 : 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/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/BIORAD5.cs index 665883a..40b770d 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/BIORAD5.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 BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD5__txt() { @@ -58,7 +61,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD5__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD5__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD5 : 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08THFTIRSTRATUS.cs index 37f19c8..0074354 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08THFTIRSTRATUS.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 MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__IQSSi() { @@ -80,7 +87,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__APC() { @@ -113,7 +126,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__SPaCe() { @@ -124,7 +139,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__Processed() { @@ -135,7 +152,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__Archive() { @@ -146,7 +165,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__Dummy() { @@ -157,4 +178,5 @@ public class MET08THFTIRSTRATUS : 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/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/BIORAD4.cs index 0e0adfc..dd65780 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/BIORAD4.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 BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__txt() { @@ -58,7 +61,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD4 : 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/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/BIORAD5.cs index 4effba1..65c6570 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/BIORAD5.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 BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__txt() { @@ -58,7 +61,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD5 : 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08THFTIRSTRATUS.cs index 69d0ed9..1594f64 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08THFTIRSTRATUS.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 MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__IQSSi() { @@ -80,7 +87,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__APC() { @@ -113,7 +126,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__SPaCe() { @@ -124,7 +139,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__Processed() { @@ -135,7 +152,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__Archive() { @@ -146,7 +165,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__Dummy() { @@ -157,4 +178,5 @@ public class MET08THFTIRSTRATUS : 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/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/BIORAD4.cs index 1bdce2f..8348828 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/BIORAD4.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 BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__txt() { @@ -58,7 +61,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD4 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD4 : 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/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/BIORAD5.cs index d884fa1..6c64a86 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/BIORAD5.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 BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__txt() { @@ -58,7 +61,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__Stratus() { @@ -69,7 +74,9 @@ public class BIORAD5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__QS408M() { @@ -82,4 +89,5 @@ public class BIORAD5 : 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08THFTIRSTRATUS.cs index 244a454..c3d5e4f 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08THFTIRSTRATUS.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 MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__IQSSi() { @@ -80,7 +87,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__APC() { @@ -113,7 +126,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__SPaCe() { @@ -124,7 +139,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__Processed() { @@ -135,7 +152,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__Archive() { @@ -146,7 +165,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__Dummy() { @@ -157,4 +178,5 @@ public class MET08THFTIRSTRATUS : 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/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/BIORAD4.cs index e89ba08..8b60b16 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/BIORAD4.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -88,4 +89,5 @@ public class BIORAD4 : 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/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/BIORAD5.cs index 96b01a7..3efa423 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/BIORAD5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -88,4 +89,5 @@ public class BIORAD5 : 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08THFTIRSTRATUS.cs index 1ba1e91..8ce5fd8 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08THFTIRSTRATUS.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 MET08THFTIRSTRATUS : 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/BIORAD4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/BIORAD4.cs new file mode 100644 index 0000000..882d252 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/BIORAD4.cs @@ -0,0 +1,93 @@ +#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 BIORAD4 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static BIORAD4 EAFLoggingUnitTesting { get; private set; } + + static BIORAD4() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public BIORAD4() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public BIORAD4(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new BIORAD4(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__BIORAD4__txt() + { + string check = "*DataBioRad.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")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__Stratus() + { + string check = "CassetteDataBioRad_*.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")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__QS408M() + { + string check = "DetailDataBioRad_*.txt"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + string[] fileNameAndJson = EAFLoggingUnitTesting.AdaptationTesting.GetConfiguration(methodBase); + Assert.IsTrue(fileNameAndJson[1].Contains(check)); + File.WriteAllText(fileNameAndJson[0], fileNameAndJson[1]); + 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/BIORAD5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/BIORAD5.cs new file mode 100644 index 0000000..566abd6 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/BIORAD5.cs @@ -0,0 +1,93 @@ +#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 BIORAD5 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static BIORAD5 EAFLoggingUnitTesting { get; private set; } + + static BIORAD5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public BIORAD5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public BIORAD5(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new BIORAD5(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__BIORAD5__txt() + { + string check = "*DataBioRad.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")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD5__Stratus() + { + string check = "CassetteDataBioRad_*.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")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD5__QS408M() + { + string check = "DetailDataBioRad_*.txt"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + string[] fileNameAndJson = EAFLoggingUnitTesting.AdaptationTesting.GetConfiguration(methodBase); + Assert.IsTrue(fileNameAndJson[1].Contains(check)); + File.WriteAllText(fileNameAndJson[0], fileNameAndJson[1]); + 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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08THFTIRSTRATUS.cs new file mode 100644 index 0000000..c86cda7 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08THFTIRSTRATUS.cs @@ -0,0 +1,182 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_56_0; + +[TestClass] +public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MET08THFTIRSTRATUS EAFLoggingUnitTesting { get; private set; } + + static MET08THFTIRSTRATUS() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public MET08THFTIRSTRATUS() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MET08THFTIRSTRATUS(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MET08THFTIRSTRATUS(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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__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__MET08THFTIRSTRATUS__Dummy() + { + string check = "637738592809956919.zip"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.36.3/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.36.3/BIORAD4.cs index 2b2274c..0b4497e 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.36.3/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.36.3/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_36_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class BIORAD4 _BIORAD4 = CreateSelfDescription.Staging.v2_36_3.BIORAD4.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__BIORAD4__txt() => _BIORAD4.Staging__v2_36_3__BIORAD4__txt(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -47,7 +48,7 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -65,13 +66,13 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__BIORAD4__Stratus() => _BIORAD4.Staging__v2_36_3__BIORAD4__Stratus(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -101,7 +102,7 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -121,10 +122,11 @@ public class BIORAD4 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__BIORAD4__QS408M() => _BIORAD4.Staging__v2_36_3__BIORAD4__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.36.3/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.36.3/BIORAD5.cs index 1aa63dd..5b6ce6c 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.36.3/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.36.3/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_36_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,19 +24,19 @@ public class BIORAD5 _BIORAD5 = CreateSelfDescription.Staging.v2_36_3.BIORAD5.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__BIORAD5__txt() => _BIORAD5.Staging__v2_36_3__BIORAD5__txt(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__BIORAD5__Stratus() => _BIORAD5.Staging__v2_36_3__BIORAD5__Stratus(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -55,10 +56,11 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__BIORAD5__QS408M() => _BIORAD5.Staging__v2_36_3__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.36.3/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.36.3/MET08THFTIRSTRATUS.cs index 656384e..cb46d79 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.36.3/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.36.3/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_36_3 using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; @@ -21,25 +22,25 @@ public class MET08THFTIRSTRATUS _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_36_3.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -57,13 +58,13 @@ public class MET08THFTIRSTRATUS Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -81,34 +82,35 @@ public class MET08THFTIRSTRATUS Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/BIORAD4.cs index f2e009a..e1d9cc3 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class BIORAD4 _BIORAD4 = CreateSelfDescription.Staging.v2_39_0.BIORAD4.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__BIORAD4__txt() => _BIORAD4.Staging__v2_39_0__BIORAD4__txt(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -47,7 +48,7 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -62,7 +63,7 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -77,13 +78,13 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_39_0__BIORAD4__Stratus(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -98,7 +99,7 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -113,7 +114,7 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -133,7 +134,7 @@ public class BIORAD4 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -148,10 +149,11 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_39_0__BIORAD4__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/BIORAD5.cs index 6bd9a1d..b40d0a5 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class BIORAD5 _BIORAD5 = CreateSelfDescription.Staging.v2_39_0.BIORAD5.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__BIORAD5__txt() => _BIORAD5.Staging__v2_39_0__BIORAD5__txt(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -49,13 +50,13 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_39_0__BIORAD5__Stratus(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -75,7 +76,7 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -95,10 +96,11 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_39_0__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08THFTIRSTRATUS.cs index a69d8cb..23d3024 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; @@ -21,25 +22,25 @@ public class MET08THFTIRSTRATUS _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_39_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -57,13 +58,13 @@ public class MET08THFTIRSTRATUS Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -81,34 +82,35 @@ public class MET08THFTIRSTRATUS Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.0/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.43.0/BIORAD4.cs index 347c1d8..c380861 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.0/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.0/BIORAD4.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 BIORAD4 _BIORAD4 = CreateSelfDescription.Staging.v2_43_0.BIORAD4.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__BIORAD4__txt() => _BIORAD4.Staging__v2_43_0__BIORAD4__txt(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -47,7 +48,7 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -62,7 +63,7 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -77,13 +78,13 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_43_0__BIORAD4__Stratus(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -98,7 +99,7 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -113,7 +114,7 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -133,7 +134,7 @@ public class BIORAD4 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -148,10 +149,11 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_43_0__BIORAD4__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.0/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.43.0/BIORAD5.cs index 6350fa6..e7843e5 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.0/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.0/BIORAD5.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 BIORAD5 _BIORAD5 = CreateSelfDescription.Staging.v2_43_0.BIORAD5.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__BIORAD5__txt() => _BIORAD5.Staging__v2_43_0__BIORAD5__txt(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -49,13 +50,13 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_43_0__BIORAD5__Stratus(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -75,7 +76,7 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -95,10 +96,11 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_43_0__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08THFTIRSTRATUS.cs index e7a4a12..e3cbce0 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.0/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_43_0 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Adaptation._Tests.Extract.Staging.v2_43_0; @@ -18,64 +19,65 @@ public class MET08THFTIRSTRATUS _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_43_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__MoveMatchingFiles(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD4.cs index 3b2b8cc..48ef924 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class BIORAD4 _BIORAD4 = CreateSelfDescription.Staging.v2_47_0.BIORAD4.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__txt() => _BIORAD4.Staging__v2_47_0__BIORAD4__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__txt637818036815840307__ProcessFailed() { @@ -41,7 +46,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__txt637746296480404920__Failure() { @@ -55,11 +62,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_47_0__BIORAD4__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__Stratus637730081979221342__RDS() { @@ -73,7 +84,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__Stratus637730081979221342__1TRDS() { @@ -87,7 +100,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS() { @@ -106,7 +121,9 @@ public class BIORAD4 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__Stratus637818036815840307__ProcessFailed() { @@ -120,11 +137,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_47_0__BIORAD4__QS408M(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD4__Stratus638010209430211312__MissingRecipe() { @@ -138,4 +159,5 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD5.cs index ae37877..ccc9a23 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,15 +24,21 @@ public class BIORAD5 _BIORAD5 = CreateSelfDescription.Staging.v2_47_0.BIORAD5.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD5__txt() => _BIORAD5.Staging__v2_47_0__BIORAD5__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_47_0__BIORAD5__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS() { @@ -50,7 +57,9 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD5__Stratus637805172599370243__Why() { @@ -69,8 +78,11 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_47_0__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08THFTIRSTRATUS.cs index b252533..8820a09 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -23,23 +24,33 @@ public class MET08THFTIRSTRATUS _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_47_1.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsight638014829236768047__Normal() { @@ -51,7 +62,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsight638015284160909324__WO() { @@ -63,7 +76,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsight638054540026319596__IqsSql() { @@ -77,11 +92,15 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments638131299562362655__Normal() { @@ -95,24 +114,35 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/BIORAD4.cs index 122c665..a0dab7f 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class BIORAD4 _BIORAD4 = CreateSelfDescription.Staging.v2_47_5.BIORAD4.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__txt() => _BIORAD4.Staging__v2_47_5__BIORAD4__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__txt637730081979221342__Normal() { @@ -41,7 +46,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__txt637818036815840307__ProcessFailed() { @@ -55,7 +62,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__txt637746296480404920__Failure() { @@ -69,11 +78,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__Stratus() => _BIORAD4.Staging__v2_47_5__BIORAD4__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__Stratus637730081979221342__RDS() { @@ -87,7 +100,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__Stratus637730081979221342__1TRDS() { @@ -101,7 +116,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__Stratus637733400573863329__ReactorAndRDS() { @@ -120,7 +137,9 @@ public class BIORAD4 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__Stratus637818036815840307__ProcessFailed() { @@ -134,11 +153,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__QS408M() => _BIORAD4.Staging__v2_47_5__BIORAD4__QS408M(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD4__Stratus638010209430211312__MissingRecipe() { @@ -152,4 +175,5 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/BIORAD5.cs index 8ff265d..1a2c663 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,15 +24,21 @@ public class BIORAD5 _BIORAD5 = CreateSelfDescription.Staging.v2_47_5.BIORAD5.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD5__txt() => _BIORAD5.Staging__v2_47_5__BIORAD5__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD5__Stratus() => _BIORAD5.Staging__v2_47_5__BIORAD5__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD5__Stratus637738592809956919__ReactorAndRDS() { @@ -50,7 +57,9 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD5__Stratus637805172599370243__Why() { @@ -69,8 +78,11 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__BIORAD5__QS408M() => _BIORAD5.Staging__v2_47_5__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08THFTIRSTRATUS.cs index 5a76cd5..58f81ae 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -23,23 +24,33 @@ public class MET08THFTIRSTRATUS _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_47_5.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsight638014829236768047__Normal() { @@ -51,7 +62,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsight638015284160909324__WO() { @@ -63,7 +76,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsight638054540026319596__IqsSql() { @@ -77,11 +92,15 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments638131299562362655__Normal() { @@ -95,24 +114,35 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_47_5__MET08THFTIRSTRATUS__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/BIORAD4.cs index 62ae741..bd988d6 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class BIORAD4 _BIORAD4 = CreateSelfDescription.Staging.v2_49_0.BIORAD4.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__txt() => _BIORAD4.Staging__v2_49_0__BIORAD4__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__txt637730081979221342__Normal() { @@ -41,7 +46,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__txt637818036815840307__ProcessFailed() { @@ -55,7 +62,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__txt637746296480404920__Failure() { @@ -69,7 +78,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__txt638187028378748930__THigh() { @@ -83,11 +94,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_49_0__BIORAD4__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__Stratus637730081979221342__RDS() { @@ -101,7 +116,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__Stratus637730081979221342__1TRDS() { @@ -115,7 +132,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS() { @@ -134,7 +153,9 @@ public class BIORAD4 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__Stratus637818036815840307__ProcessFailed() { @@ -148,11 +169,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_49_0__BIORAD4__QS408M(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD4__Stratus638010209430211312__MissingRecipe() { @@ -166,4 +191,5 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/BIORAD5.cs index 222c396..a1e447e 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,15 +24,21 @@ public class BIORAD5 _BIORAD5 = CreateSelfDescription.Staging.v2_49_0.BIORAD5.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD5__txt() => _BIORAD5.Staging__v2_49_0__BIORAD5__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_49_0__BIORAD5__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS() { @@ -50,7 +57,9 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD5__Stratus637805172599370243__Why() { @@ -69,8 +78,11 @@ public class BIORAD5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_49_0__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08THFTIRSTRATUS.cs index 009bef6..6d4399a 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -23,23 +24,33 @@ public class MET08THFTIRSTRATUS _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_49_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsight638014829236768047__Normal() { @@ -51,7 +62,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsight638015284160909324__WO() { @@ -63,7 +76,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsight638054540026319596__IqsSql() { @@ -77,11 +92,15 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments638131299562362655__Normal() { @@ -95,24 +114,35 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_49_0__MET08THFTIRSTRATUS__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/BIORAD4.cs index e700f08..f640a74 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class BIORAD4 _BIORAD4 = CreateSelfDescription.Staging.v2_49_2.BIORAD4.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__txt() => _BIORAD4.Staging__v2_49_2__BIORAD4__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__txt637730081979221342__Normal() { @@ -41,7 +46,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__txt637818036815840307__ProcessFailed() { @@ -55,7 +62,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__txt637746296480404920__Failure() { @@ -69,7 +78,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__txt638187028378748930__THigh() { @@ -83,11 +94,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__Stratus() => _BIORAD4.Staging__v2_49_2__BIORAD4__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__Stratus637730081979221342__RDS() { @@ -101,7 +116,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__Stratus637730081979221342__1TRDS() { @@ -115,7 +132,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__Stratus637733400573863329__ReactorAndRDS() { @@ -134,7 +153,9 @@ public class BIORAD4 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__Stratus637818036815840307__ProcessFailed() { @@ -148,11 +169,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__QS408M() => _BIORAD4.Staging__v2_49_2__BIORAD4__QS408M(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD4__Stratus638010209430211312__MissingRecipe() { @@ -166,4 +191,5 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/BIORAD5.cs index ddc6d45..7956cbe 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -30,11 +31,15 @@ public class BIORAD5 catch (Exception) { } } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__txt() => _BIORAD5.Staging__v2_49_2__BIORAD5__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__txt638221788953480284__MorePoints() { @@ -49,11 +54,15 @@ public class BIORAD5 NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__Stratus() => _BIORAD5.Staging__v2_49_2__BIORAD5__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__Stratus637738592809956919__ReactorAndRDS() { @@ -73,7 +82,9 @@ public class BIORAD5 NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__Stratus637805172599370243__Why() { @@ -93,8 +104,11 @@ public class BIORAD5 NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__BIORAD5__QS408M() => _BIORAD5.Staging__v2_49_2__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08THFTIRSTRATUS.cs index 5ab4adb..29bf14c 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -23,23 +24,33 @@ public class MET08THFTIRSTRATUS _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_49_2.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsight638014829236768047__Normal() { @@ -51,7 +62,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsight638015284160909324__WO() { @@ -63,7 +76,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsight638054540026319596__IqsSql() { @@ -77,11 +92,15 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments638131299562362655__Normal() { @@ -95,24 +114,35 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_2__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_49_2__MET08THFTIRSTRATUS__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/BIORAD4.cs index 4e27ee9..db6258d 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class BIORAD4 _BIORAD4 = CreateSelfDescription.Staging.v2_49_3.BIORAD4.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__txt() => _BIORAD4.Staging__v2_49_3__BIORAD4__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__txt637730081979221342__Normal() { @@ -41,7 +46,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__txt637818036815840307__ProcessFailed() { @@ -55,7 +62,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__txt637746296480404920__Failure() { @@ -69,7 +78,9 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__txt638187028378748930__THigh() { @@ -83,11 +94,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__Stratus() => _BIORAD4.Staging__v2_49_3__BIORAD4__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__Stratus637730081979221342__RDS() { @@ -101,7 +116,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__Stratus637730081979221342__1TRDS() { @@ -115,7 +132,9 @@ public class BIORAD4 _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__Stratus637733400573863329__ReactorAndRDS() { @@ -134,7 +153,9 @@ public class BIORAD4 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__Stratus637818036815840307__ProcessFailed() { @@ -148,11 +169,15 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__QS408M() => _BIORAD4.Staging__v2_49_3__BIORAD4__QS408M(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD4__Stratus638010209430211312__MissingRecipe() { @@ -166,4 +191,5 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/BIORAD5.cs index 9ad46a7..64a9cae 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -30,11 +31,15 @@ public class BIORAD5 catch (Exception) { } } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__txt() => _BIORAD5.Staging__v2_49_3__BIORAD5__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__txt638221788953480284__MorePoints() { @@ -49,11 +54,15 @@ public class BIORAD5 NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__Stratus() => _BIORAD5.Staging__v2_49_3__BIORAD5__Stratus(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__Stratus637738592809956919__ReactorAndRDS() { @@ -73,7 +82,9 @@ public class BIORAD5 NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__Stratus637805172599370243__Why() { @@ -93,8 +104,11 @@ public class BIORAD5 NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__BIORAD5__QS408M() => _BIORAD5.Staging__v2_49_3__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08THFTIRSTRATUS.cs index 8e325de..8855610 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_49_3 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -23,23 +24,33 @@ public class MET08THFTIRSTRATUS _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_49_3.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsight638014829236768047__Normal() { @@ -51,7 +62,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsight638015284160909324__WO() { @@ -63,7 +76,9 @@ public class MET08THFTIRSTRATUS AdaptationTesting.UpdatePassDirectory(variables[2]); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsight638054540026319596__IqsSql() { @@ -77,11 +92,15 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments638131299562362655__Normal() { @@ -95,24 +114,35 @@ public class MET08THFTIRSTRATUS _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_3__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_49_3__MET08THFTIRSTRATUS__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/BIORAD4.cs index c94ccd7..0390999 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/BIORAD4.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -190,4 +191,5 @@ public class BIORAD4 Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/BIORAD5.cs index 9d5c7fd..85fe2d4 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/BIORAD5.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -109,4 +110,5 @@ public class BIORAD5 [TestMethod] public void Staging__v2_52_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_52_0__BIORAD5__QS408M(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08THFTIRSTRATUS.cs index 8bd78cc..8a2c586 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08THFTIRSTRATUS.cs @@ -1,3 +1,4 @@ +#if v2_52_0 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -143,4 +144,5 @@ public class MET08THFTIRSTRATUS [TestMethod] public void Staging__v2_52_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_52_0__MET08THFTIRSTRATUS__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/BIORAD4.cs new file mode 100644 index 0000000..1816514 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/BIORAD4.cs @@ -0,0 +1,195 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class BIORAD4 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.BIORAD4 _BIORAD4; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.BIORAD4.ClassInitialize(testContext); + _BIORAD4 = CreateSelfDescription.Staging.v2_56_0.BIORAD4.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__txt() => _BIORAD4.Staging__v2_56_0__BIORAD4__txt(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__txt637730081979221342__Normal() + { + bool validatePDSF = false; + string check = "*DataBioRad.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__txt(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + _ = fileRead.ReExtract(); + Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__txt637818036815840307__ProcessFailed() + { + bool validatePDSF = false; + string check = "*DataBioRad.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__txt(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + _ = fileRead.ReExtract(); + Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__txt637746296480404920__Failure() + { + bool validatePDSF = false; + string check = "*DataBioRad.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__txt(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + _ = fileRead.ReExtract(); + Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__txt638187028378748930__THigh() + { + bool validatePDSF = false; + string check = "*DataBioRad.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__txt(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + _ = fileRead.ReExtract(); + Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_56_0__BIORAD4__Stratus(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__Stratus637730081979221342__RDS() + { + bool validatePDSF = false; + string check = "CassetteDataBioRad_*.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__Stratus(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__Stratus637730081979221342__1TRDS() + { + bool validatePDSF = false; + string check = "CassetteDataBioRad_*.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__Stratus(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS() + { + DateTime dateTime; + bool validatePDSF = false; + string check = "CassetteDataBioRad_*.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__Stratus(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__Stratus637818036815840307__ProcessFailed() + { + bool validatePDSF = false; + string check = "CassetteDataBioRad_*.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__Stratus(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + _ = fileRead.ReExtract(); + Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_56_0__BIORAD4__QS408M(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD4__Stratus638010209430211312__MissingRecipe() + { + bool validatePDSF = false; + string check = "CassetteDataBioRad_*.txt"; + _BIORAD4.Staging__v2_56_0__BIORAD4__Stratus(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + _ = fileRead.ReExtract(); + Shared.AdaptationTesting.UpdatePassDirectory(variables[2]); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/BIORAD5.cs new file mode 100644 index 0000000..dec24be --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/BIORAD5.cs @@ -0,0 +1,114 @@ +#if true +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class BIORAD5 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.BIORAD5 _BIORAD5; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.BIORAD5.ClassInitialize(testContext); + _BIORAD5 = CreateSelfDescription.Staging.v2_56_0.BIORAD5.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD5__txt() => _BIORAD5.Staging__v2_56_0__BIORAD5__txt(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD5__txt638221788953480284__MorePoints() + { + bool validatePDSF = false; + string check = "*DataBioRad.txt"; + _BIORAD5.Staging__v2_56_0__BIORAD5__txt(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_56_0__BIORAD5__Stratus(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS() + { + DateTime dateTime; + bool validatePDSF = false; + string check = "CassetteDataBioRad_*.txt"; + _BIORAD5.Staging__v2_56_0__BIORAD5__Stratus(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD5__Stratus637805172599370243__Why() + { + DateTime dateTime; + bool validatePDSF = false; + string check = "CassetteDataBioRad_*.txt"; + _BIORAD5.Staging__v2_56_0__BIORAD5__Stratus(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_56_0__BIORAD5__QS408M(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08THFTIRSTRATUS.cs new file mode 100644 index 0000000..70c3268 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08THFTIRSTRATUS.cs @@ -0,0 +1,148 @@ +#if true +using Adaptation._Tests.Shared; +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class MET08THFTIRSTRATUS +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.MET08THFTIRSTRATUS _MET08THFTIRSTRATUS; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.MET08THFTIRSTRATUS.ClassInitialize(testContext); + _MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_56_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight638014829236768047__Normal() + { + string check = "*.pdsf"; + _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight(); + MethodBase method = new StackFrame().GetMethod(); + string[] variables = _MET08THFTIRSTRATUS.AdaptationTesting.GetVariables(method, check); + _ = _MET08THFTIRSTRATUS.AdaptationTesting.Get(method, variables[2], variables[3], false).ReExtract(); + AdaptationTesting.UpdatePassDirectory(variables[2]); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight638015284160909324__WO() + { + string check = "*.pdsf"; + _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight(); + MethodBase method = new StackFrame().GetMethod(); + string[] variables = _MET08THFTIRSTRATUS.AdaptationTesting.GetVariables(method, check); + _ = _MET08THFTIRSTRATUS.AdaptationTesting.Get(method, variables[2], variables[3], false).ReExtract(); + AdaptationTesting.UpdatePassDirectory(variables[2]); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight638054540026319596__IqsSql() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight(); + string[] variables = _MET08THFTIRSTRATUS.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08THFTIRSTRATUS.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments638131299562362655__Normal() + { + string check = "*.pdsf"; + bool validatePDSF = false; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments(); + string[] variables = _MET08THFTIRSTRATUS.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08THFTIRSTRATUS.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__APC(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__SPaCe(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__Dummy(); + +} +#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/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Static/MET08THFTIRSTRATUS.cs index e1231c8..3b83f3e 100644 --- a/Adaptation/_Tests/Static/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Static/MET08THFTIRSTRATUS.cs @@ -64,7 +64,7 @@ public class MET08THFTIRSTRATUS : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("MET08THFTIRSTRATUS", "v2.52.0"), + new("MET08THFTIRSTRATUS", "v2.56.0"), }; string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; diff --git a/Adaptation/_Tests/Static/Stratus.cs b/Adaptation/_Tests/Static/Stratus.cs index a1ba7be..8a61132 100644 --- a/Adaptation/_Tests/Static/Stratus.cs +++ b/Adaptation/_Tests/Static/Stratus.cs @@ -204,8 +204,8 @@ public class Stratus : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("BIORAD4", "v2.52.0"), - new("BIORAD5", "v2.52.0"), + new("BIORAD4", "v2.56.0"), + new("BIORAD5", "v2.56.0"), }; string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; diff --git a/MET08THFTIRSTRATUS.csproj b/MET08THFTIRSTRATUS.csproj index 1d106fc..40b6b40 100644 --- a/MET08THFTIRSTRATUS.csproj +++ b/MET08THFTIRSTRATUS.csproj @@ -48,6 +48,12 @@ prompt MinimumRecommendedRules.ruleset + + NETFRAMEWORK;NET20;NET35;NET40;NET45;NET451;NET452;NET46;NET461;NET462;NET47;NET471;NET472;NET48;$(DefineConstants) + + + + @@ -168,7 +174,7 @@ 7.2.4630.5 - 2.52.0 + 2.56.0 1.1.1