TSV like PDSF ready to test
This commit is contained in:
parent
334929a025
commit
d4d935d2f1
2
Adaptation/.vscode/launch.json
vendored
2
Adaptation/.vscode/launch.json
vendored
@ -4,7 +4,7 @@
|
|||||||
"name": ".NET Core Attach",
|
"name": ".NET Core Attach",
|
||||||
"type": "coreclr",
|
"type": "coreclr",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
"processId": 24640
|
"processId": 24012
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
12
Adaptation/.vscode/tasks.json
vendored
12
Adaptation/.vscode/tasks.json
vendored
@ -86,6 +86,18 @@
|
|||||||
],
|
],
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "Project",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "code ../MET08THFTIRSTRATUS.csproj",
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Git Config",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "code ../.git/config",
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "Kanbn Console",
|
"label": "Kanbn Console",
|
||||||
"type": "npm",
|
"type": "npm",
|
||||||
|
@ -1,72 +0,0 @@
|
|||||||
using Adaptation.Shared;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Collections.ObjectModel;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text.Json;
|
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Adaptation.FileHandlers.Stratus;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
|
|
||||||
internal class Complete
|
|
||||||
{
|
|
||||||
|
|
||||||
public Complete(Header header, Wafer[] wafers, Footer footer)
|
|
||||||
{
|
|
||||||
Header = header;
|
|
||||||
Wafers = wafers;
|
|
||||||
Footer = footer;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Header Header { get; }
|
|
||||||
public Wafer[] Wafers { get; }
|
|
||||||
public Footer Footer { get; }
|
|
||||||
|
|
||||||
internal static Complete? Get(Logistics logistics, List<FileInfo> fileInfoCollection)
|
|
||||||
{
|
|
||||||
Complete? result;
|
|
||||||
Constant constant = new();
|
|
||||||
int[] i = new int[] { 0 };
|
|
||||||
string text = File.ReadAllText(logistics.ReportFullPath);
|
|
||||||
Header? header = Header.Get(text, constant, i);
|
|
||||||
if (header is null)
|
|
||||||
result = null;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ReadOnlyCollection<string> groups = Wafer.GetGroups(text, constant, i);
|
|
||||||
if (groups.Count == 0)
|
|
||||||
result = null;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ReadOnlyCollection<Wafer> wafers = Wafer.Get(constant, groups);
|
|
||||||
if (wafers.Count == 0)
|
|
||||||
result = null;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Footer? footer = Footer.Get(constant, groups);
|
|
||||||
if (footer is null)
|
|
||||||
result = null;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
result = new(header, wafers.ToArray(), footer);
|
|
||||||
FileInfo fileInfo = new($"{logistics.ReportFullPath}.json");
|
|
||||||
string json = JsonSerializer.Serialize(result, CompleteSourceGenerationContext.Default.Complete);
|
|
||||||
File.WriteAllText(fileInfo.FullName, json);
|
|
||||||
File.SetLastWriteTime(fileInfo.FullName, logistics.DateTimeFromSequence);
|
|
||||||
fileInfoCollection.Add(fileInfo);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
|
||||||
[JsonSerializable(typeof(Complete))]
|
|
||||||
internal partial class CompleteSourceGenerationContext : JsonSerializerContext
|
|
||||||
{
|
|
||||||
}
|
|
@ -110,10 +110,10 @@ public class FileRead : Shared.FileRead, IFileRead
|
|||||||
results.Item4.Add(_Logistics.FileInfo);
|
results.Item4.Add(_Logistics.FileInfo);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Complete? complete = Complete.Get(_Logistics, results.Item4);
|
Run? run = Run.Get(_Logistics, results.Item4);
|
||||||
if (complete is null)
|
if (run is null)
|
||||||
throw new Exception(string.Concat("A) No Data - ", dateTime.Ticks));
|
throw new Exception(string.Concat("A) No Data - ", dateTime.Ticks));
|
||||||
IProcessData iProcessData = new ProcessData(this, _Logistics, results.Item4, _OriginalDataBioRad, complete, dataText: string.Empty);
|
IProcessData iProcessData = new ProcessData(this, _Logistics, results.Item4, _OriginalDataBioRad, run, dataText: string.Empty);
|
||||||
if (iProcessData is not ProcessData processData)
|
if (iProcessData is not ProcessData processData)
|
||||||
throw new Exception(string.Concat("B) No Data - ", dateTime.Ticks));
|
throw new Exception(string.Concat("B) No Data - ", dateTime.Ticks));
|
||||||
string mid;
|
string mid;
|
||||||
|
@ -44,14 +44,15 @@ public partial class ProcessData : IProcessData
|
|||||||
|
|
||||||
#nullable enable
|
#nullable enable
|
||||||
|
|
||||||
internal ProcessData(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string originalDataBioRad, Complete? complete, string dataText)
|
internal ProcessData(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string originalDataBioRad, Run? run, string dataText)
|
||||||
{
|
{
|
||||||
JobID = logistics.JobID;
|
JobID = logistics.JobID;
|
||||||
fileInfoCollection.Clear();
|
if (!string.IsNullOrEmpty(dataText))
|
||||||
|
fileInfoCollection.Clear();
|
||||||
_Details = new List<object>();
|
_Details = new List<object>();
|
||||||
MesEntity = logistics.MesEntity;
|
MesEntity = logistics.MesEntity;
|
||||||
_Log = LogManager.GetLogger(typeof(ProcessData));
|
_Log = LogManager.GetLogger(typeof(ProcessData));
|
||||||
Parse(fileRead, logistics, fileInfoCollection, originalDataBioRad, complete, dataText);
|
Parse(fileRead, logistics, fileInfoCollection, originalDataBioRad, run, dataText);
|
||||||
}
|
}
|
||||||
|
|
||||||
string IProcessData.GetCurrentReactor(IFileRead fileRead, Logistics logistics, Dictionary<string, string> reactors) => throw new Exception(string.Concat("See ", nameof(Parse)));
|
string IProcessData.GetCurrentReactor(IFileRead fileRead, Logistics logistics, Dictionary<string, string> reactors) => throw new Exception(string.Concat("See ", nameof(Parse)));
|
||||||
@ -385,7 +386,7 @@ public partial class ProcessData : IProcessData
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Set(Logistics logistics, Complete? complete)
|
private void Set(Logistics logistics, Run? run)
|
||||||
{
|
{
|
||||||
string psn;
|
string psn;
|
||||||
string rds;
|
string rds;
|
||||||
@ -415,7 +416,7 @@ public partial class ProcessData : IProcessData
|
|||||||
batch = GetToText(startedKey);
|
batch = GetToText(startedKey);
|
||||||
ScanPast(startedAtKey);
|
ScanPast(startedAtKey);
|
||||||
}
|
}
|
||||||
if (complete is not null)
|
if (run is not null)
|
||||||
{ }
|
{ }
|
||||||
ScanPast(cassetteKey);
|
ScanPast(cassetteKey);
|
||||||
if (!_Data.Substring(_I).Contains(startedKey))
|
if (!_Data.Substring(_I).Contains(startedKey))
|
||||||
@ -449,15 +450,17 @@ public partial class ProcessData : IProcessData
|
|||||||
UniqueId = string.Concat("StratusBioRad_", reactor, "_", rds, "_", psn, "_", logistics.DateTimeFromSequence.ToString("yyyyMMddHHmmssffff"));
|
UniqueId = string.Concat("StratusBioRad_", reactor, "_", rds, "_", psn, "_", logistics.DateTimeFromSequence.ToString("yyyyMMddHHmmssffff"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Parse(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string originalDataBioRad, Complete? complete, string receivedData)
|
private void Parse(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string originalDataBioRad, Run? run, string dataText)
|
||||||
{
|
{
|
||||||
if (fileRead is null)
|
if (fileRead is null)
|
||||||
throw new ArgumentNullException(nameof(fileRead));
|
throw new ArgumentNullException(nameof(fileRead));
|
||||||
_I = 0;
|
_I = 0;
|
||||||
_Data = string.Empty;
|
_Data = string.Empty;
|
||||||
List<Detail> details = new();
|
List<Detail> details = new();
|
||||||
|
if (string.IsNullOrEmpty(dataText))
|
||||||
|
dataText = File.ReadAllText(logistics.ReportFullPath);
|
||||||
_Log.Debug($"****ParseData - Source file contents:");
|
_Log.Debug($"****ParseData - Source file contents:");
|
||||||
_Log.Debug(receivedData);
|
_Log.Debug(dataText);
|
||||||
List<string> moveFiles = new();
|
List<string> moveFiles = new();
|
||||||
string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(logistics.ReportFullPath);
|
string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(logistics.ReportFullPath);
|
||||||
string directoryName = Path.GetDirectoryName(logistics.ReportFullPath) ?? throw new Exception();
|
string directoryName = Path.GetDirectoryName(logistics.ReportFullPath) ?? throw new Exception();
|
||||||
@ -465,7 +468,7 @@ public partial class ProcessData : IProcessData
|
|||||||
moveFiles.AddRange(Directory.GetFiles(directoryName, string.Concat(originalDataBioRad, "*", fileNameWithoutExtension.Split('_').Last(), "*"), SearchOption.TopDirectoryOnly));
|
moveFiles.AddRange(Directory.GetFiles(directoryName, string.Concat(originalDataBioRad, "*", fileNameWithoutExtension.Split('_').Last(), "*"), SearchOption.TopDirectoryOnly));
|
||||||
foreach (string moveFile in moveFiles.Distinct())
|
foreach (string moveFile in moveFiles.Distinct())
|
||||||
fileInfoCollection.Add(new FileInfo(moveFile));
|
fileInfoCollection.Add(new FileInfo(moveFile));
|
||||||
if (!string.IsNullOrEmpty(receivedData))
|
if (!string.IsNullOrEmpty(dataText))
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int num;
|
int num;
|
||||||
@ -476,8 +479,8 @@ public partial class ProcessData : IProcessData
|
|||||||
string recipe;
|
string recipe;
|
||||||
string nextLine;
|
string nextLine;
|
||||||
_I = 0;
|
_I = 0;
|
||||||
_Data = receivedData;
|
_Data = dataText;
|
||||||
Set(logistics, complete);
|
Set(logistics, run);
|
||||||
nextLine = PeekNextLine();
|
nextLine = PeekNextLine();
|
||||||
string cassette = "Cassette";
|
string cassette = "Cassette";
|
||||||
if (nextLine.Contains("Wafer"))
|
if (nextLine.Contains("Wafer"))
|
||||||
@ -597,7 +600,7 @@ public partial class ProcessData : IProcessData
|
|||||||
StdDev = StdDev.Remove(StdDev.Length - 1, 1);
|
StdDev = StdDev.Remove(StdDev.Length - 1, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (receivedData.Contains("------------- Process failed -------------"))
|
if (dataText.Contains("------------- Process failed -------------"))
|
||||||
details.Add(new());
|
details.Add(new());
|
||||||
}
|
}
|
||||||
StringBuilder stringBuilder = new();
|
StringBuilder stringBuilder = new();
|
||||||
|
55
Adaptation/FileHandlers/Stratus/Row.cs
Normal file
55
Adaptation/FileHandlers/Stratus/Row.cs
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace Adaptation.FileHandlers.Stratus;
|
||||||
|
|
||||||
|
#nullable enable
|
||||||
|
|
||||||
|
internal class Row
|
||||||
|
{
|
||||||
|
|
||||||
|
public Row(Run run, int i, int j)
|
||||||
|
{
|
||||||
|
Batch = run.Header.Batch;
|
||||||
|
Cassette = run.Header.Cassette;
|
||||||
|
DateTime = run.Header.DateTime;
|
||||||
|
//
|
||||||
|
Destination = run.Wafers[i].Destination;
|
||||||
|
Mean = run.Wafers[i].Mean;
|
||||||
|
PassFail = run.Wafers[i].PassFail;
|
||||||
|
Recipe = run.Wafers[i].Recipe;
|
||||||
|
Reference = run.Wafers[i].Reference;
|
||||||
|
Site = run.Wafers[i].Sites[j];
|
||||||
|
Slot = run.Wafers[i].Slot;
|
||||||
|
Source = run.Wafers[i].Source;
|
||||||
|
WaferStdDev = run.Wafers[i].StdDev;
|
||||||
|
Text = run.Wafers[i].Text;
|
||||||
|
//
|
||||||
|
MeanThickness = run.Footer.MeanThickness;
|
||||||
|
StdDev = run.Footer.StdDev;
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Batch { get; }
|
||||||
|
public string Cassette { get; }
|
||||||
|
public string DateTime { get; }
|
||||||
|
//
|
||||||
|
public string Destination { get; }
|
||||||
|
public string Mean { get; }
|
||||||
|
public string PassFail { get; }
|
||||||
|
public string Recipe { get; }
|
||||||
|
public string Reference { get; }
|
||||||
|
public string Site { get; }
|
||||||
|
public string Slot { get; }
|
||||||
|
public string Source { get; }
|
||||||
|
public string WaferStdDev { get; }
|
||||||
|
public string Text { get; }
|
||||||
|
//
|
||||||
|
public string MeanThickness { get; }
|
||||||
|
public string StdDev { get; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||||
|
[JsonSerializable(typeof(Row))]
|
||||||
|
internal partial class RowSourceGenerationContext : JsonSerializerContext
|
||||||
|
{
|
||||||
|
}
|
151
Adaptation/FileHandlers/Stratus/Run.cs
Normal file
151
Adaptation/FileHandlers/Stratus/Run.cs
Normal file
@ -0,0 +1,151 @@
|
|||||||
|
using Adaptation.Shared;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace Adaptation.FileHandlers.Stratus;
|
||||||
|
|
||||||
|
#nullable enable
|
||||||
|
|
||||||
|
internal class Run
|
||||||
|
{
|
||||||
|
|
||||||
|
public Run(Header header, ReadOnlyCollection<Wafer> wafers, Footer footer)
|
||||||
|
{
|
||||||
|
Header = header;
|
||||||
|
Wafers = wafers;
|
||||||
|
Footer = footer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Header Header { get; }
|
||||||
|
public ReadOnlyCollection<Wafer> Wafers { get; }
|
||||||
|
public Footer Footer { get; }
|
||||||
|
|
||||||
|
private static void WriteJson(Logistics logistics, List<FileInfo> fileInfoCollection, Run? result)
|
||||||
|
{
|
||||||
|
FileInfo fileInfo = new($"{logistics.ReportFullPath}.json");
|
||||||
|
string json = JsonSerializer.Serialize(result, RunSourceGenerationContext.Default.Run);
|
||||||
|
File.WriteAllText(fileInfo.FullName, json);
|
||||||
|
File.SetLastWriteTime(fileInfo.FullName, logistics.DateTimeFromSequence);
|
||||||
|
fileInfoCollection.Add(fileInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static ReadOnlyCollection<string> GetLines(JsonElement[]? jsonElements)
|
||||||
|
{
|
||||||
|
List<string> results = new();
|
||||||
|
int columns = 0;
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
for (int i = 0; i < jsonElements?.Length;)
|
||||||
|
{
|
||||||
|
foreach (JsonProperty jsonProperty in jsonElements[0].EnumerateObject())
|
||||||
|
{
|
||||||
|
columns += 1;
|
||||||
|
_ = stringBuilder.Append('"').Append(jsonProperty.Name).Append('"').Append('\t');
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (jsonElements?.Length != 0)
|
||||||
|
_ = stringBuilder.Remove(stringBuilder.Length - 1, 1);
|
||||||
|
results.Add(stringBuilder.ToString());
|
||||||
|
for (int i = 0; i < jsonElements?.Length; i++)
|
||||||
|
{
|
||||||
|
_ = stringBuilder.Clear();
|
||||||
|
foreach (JsonProperty jsonProperty in jsonElements[i].EnumerateObject())
|
||||||
|
{
|
||||||
|
if (jsonProperty.Value.ValueKind == JsonValueKind.Object)
|
||||||
|
_ = stringBuilder.Append('\t');
|
||||||
|
else if (jsonProperty.Value.ValueKind != JsonValueKind.String)
|
||||||
|
_ = stringBuilder.Append(jsonProperty.Value).Append('\t');
|
||||||
|
else
|
||||||
|
_ = stringBuilder.Append('"').Append(jsonProperty.Value).Append('"').Append('\t');
|
||||||
|
}
|
||||||
|
_ = stringBuilder.Remove(stringBuilder.Length - 1, 1);
|
||||||
|
results.Add(stringBuilder.ToString());
|
||||||
|
}
|
||||||
|
return results.AsReadOnly();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static ReadOnlyCollection<string> GetLines(JsonElement jsonElement) =>
|
||||||
|
GetLines(new JsonElement[] { jsonElement });
|
||||||
|
|
||||||
|
private static void WriteTabSeparatedValues(Logistics logistics, List<FileInfo> fileInfoCollection, Run run)
|
||||||
|
{
|
||||||
|
List<Row> results = new();
|
||||||
|
Row row;
|
||||||
|
FileInfo fileInfo = new($"{logistics.ReportFullPath}.tsv");
|
||||||
|
for (int i = 0; i < run.Wafers.Count; i++)
|
||||||
|
{
|
||||||
|
for (int j = 0; j < run.Wafers[i].Sites.Count; j++)
|
||||||
|
{
|
||||||
|
row = new(run, i, j);
|
||||||
|
results.Add(row);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string json = JsonSerializer.Serialize(results);
|
||||||
|
JsonElement[]? jsonElements = JsonSerializer.Deserialize<JsonElement[]>(json);
|
||||||
|
ReadOnlyCollection<string> lines = GetLines(jsonElements);
|
||||||
|
File.WriteAllText(fileInfo.FullName, string.Join(Environment.NewLine, lines));
|
||||||
|
File.SetLastWriteTime(fileInfo.FullName, logistics.DateTimeFromSequence);
|
||||||
|
fileInfoCollection.Add(fileInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void WriteException(Logistics logistics, Exception ex)
|
||||||
|
{
|
||||||
|
FileInfo fileInfo = new($"{logistics.ReportFullPath}.{nameof(Exception)}.txt");
|
||||||
|
File.WriteAllText(fileInfo.FullName, $"{ex.Message}{Environment.NewLine}{ex.StackTrace}");
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static Run? Get(Logistics logistics, List<FileInfo> fileInfoCollection)
|
||||||
|
{
|
||||||
|
Run? result;
|
||||||
|
Constant constant = new();
|
||||||
|
int[] i = new int[] { 0 };
|
||||||
|
string text = File.ReadAllText(logistics.ReportFullPath);
|
||||||
|
Header? header = Header.Get(text, constant, i);
|
||||||
|
if (header is null)
|
||||||
|
result = null;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ReadOnlyCollection<string> groups = Wafer.GetGroups(text, constant, i);
|
||||||
|
if (groups.Count == 0)
|
||||||
|
result = null;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ReadOnlyCollection<Wafer> wafers = Wafer.Get(constant, groups);
|
||||||
|
if (wafers.Count == 0)
|
||||||
|
result = null;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Footer? footer = Footer.Get(constant, groups);
|
||||||
|
if (footer is null)
|
||||||
|
result = null;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result = new(header, wafers, footer);
|
||||||
|
WriteJson(logistics, fileInfoCollection, result);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
WriteTabSeparatedValues(logistics, fileInfoCollection, result);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
WriteException(logistics, ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||||
|
[JsonSerializable(typeof(Run))]
|
||||||
|
internal partial class RunSourceGenerationContext : JsonSerializerContext
|
||||||
|
{
|
||||||
|
}
|
@ -9,7 +9,7 @@ namespace Adaptation.FileHandlers.Stratus;
|
|||||||
public class Wafer
|
public class Wafer
|
||||||
{
|
{
|
||||||
|
|
||||||
public Wafer(string destination, string mean, string passFail, string recipe, string reference, List<string> sites, string slot, string source, string stdDev, string waferText)
|
public Wafer(string destination, string mean, string passFail, string recipe, string reference, ReadOnlyCollection<string> sites, string slot, string source, string stdDev, string waferText)
|
||||||
{
|
{
|
||||||
Destination = destination;
|
Destination = destination;
|
||||||
Mean = mean;
|
Mean = mean;
|
||||||
@ -28,7 +28,7 @@ public class Wafer
|
|||||||
public string PassFail { get; }
|
public string PassFail { get; }
|
||||||
public string Recipe { get; }
|
public string Recipe { get; }
|
||||||
public string Reference { get; }
|
public string Reference { get; }
|
||||||
public List<string> Sites { get; }
|
public ReadOnlyCollection<string> Sites { get; }
|
||||||
public string Slot { get; }
|
public string Slot { get; }
|
||||||
public string Source { get; }
|
public string Source { get; }
|
||||||
public string StdDev { get; }
|
public string StdDev { get; }
|
||||||
@ -216,7 +216,7 @@ public class Wafer
|
|||||||
passFail: passFail,
|
passFail: passFail,
|
||||||
recipe: recipe,
|
recipe: recipe,
|
||||||
reference: reference,
|
reference: reference,
|
||||||
sites: sites,
|
sites: sites.AsReadOnly(),
|
||||||
slot: slot,
|
slot: slot,
|
||||||
source: source,
|
source: source,
|
||||||
stdDev: stdDev,
|
stdDev: stdDev,
|
||||||
|
@ -226,7 +226,7 @@ public partial class ProcessData : IProcessData
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Stratus.Complete? complete = null;
|
Stratus.Run? complete = null;
|
||||||
processData = new Stratus.ProcessData(fileRead, logistics, fileInfoCollection, originalDataBioRad, complete, dataText: dataText);
|
processData = new Stratus.ProcessData(fileRead, logistics, fileInfoCollection, originalDataBioRad, complete, dataText: dataText);
|
||||||
iProcessData = processData;
|
iProcessData = processData;
|
||||||
if (iProcessData.Details.Count == 0)
|
if (iProcessData.Details.Count == 0)
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<RuntimeHostConfigurationOption Include="AssemblyName" Value="MET08THFTIRSTRATUS" />
|
<RuntimeHostConfigurationOption Include="AssemblyName" Value="MET08THFTIRSTRATUS" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="coverlet.collector" Version="6.0.2" />
|
<PackageReference Include="coverlet.collector" Version="6.0.3" />
|
||||||
<PackageReference Include="FFMpegCore" Version="5.1.0" />
|
<PackageReference Include="FFMpegCore" Version="5.1.0" />
|
||||||
<PackageReference Include="IKVM.AWT.WinForms" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="IKVM.AWT.WinForms" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
||||||
<PackageReference Include="IKVM.OpenJDK.Core" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="IKVM.OpenJDK.Core" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
||||||
@ -44,41 +44,39 @@
|
|||||||
<PackageReference Include="IKVM.OpenJDK.Util" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="IKVM.OpenJDK.Util" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
||||||
<PackageReference Include="IKVM.OpenJDK.XML.API" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="IKVM.OpenJDK.XML.API" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
||||||
<PackageReference Include="IKVM.Runtime" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="IKVM.Runtime" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
|
||||||
<PackageReference Include="Instances" Version="3.0.0" />
|
<PackageReference Include="Instances" Version="3.0.1" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
|
<PackageReference Include="log4net" Version="3.0.3"></PackageReference>
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.1" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.json" Version="8.0.1" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.json" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.1" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" />
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.1" />
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="8.0.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
|
||||||
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
|
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="9.0.0" />
|
||||||
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
|
<PackageReference Include="MSTest.TestAdapter" Version="3.7.0" />
|
||||||
|
<PackageReference Include="MSTest.TestFramework" Version="3.7.0" />
|
||||||
<PackageReference Include="Pdfbox" Version="1.1.1"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="Pdfbox" Version="1.1.1"><NoWarn>NU1701</NoWarn></PackageReference>
|
||||||
<PackageReference Include="RoboSharp" Version="1.5.3" />
|
<PackageReference Include="RoboSharp" Version="1.6.0" />
|
||||||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.1" />
|
<PackageReference Include="System.Configuration.ConfigurationManager" Version="9.0.0" />
|
||||||
<PackageReference Include="System.Data.OleDb" Version="8.0.1" />
|
<PackageReference Include="System.Data.OleDb" Version="9.0.0" />
|
||||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
|
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
|
||||||
<PackageReference Include="System.Drawing.Common" Version="8.0.10" />
|
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
|
||||||
<PackageReference Include="System.Text.Json" Version="8.0.5" />
|
<PackageReference Include="System.Text.Json" Version="9.0.0" />
|
||||||
<PackageReference Include="Tesseract" Version="5.2.0" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Tibco.Rendezvous.DotNetCore" Version="8.5.0" />
|
|
||||||
<PackageReference Include="Infineon.Yoda.DotNetCore" Version="5.4.1" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Infineon.Mesa.PDF.Text.Stripper" Version="4.8.0.1"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="Infineon.Mesa.PDF.Text.Stripper" Version="4.8.0.1"><NoWarn>NU1701</NoWarn></PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="External.Common.Logging.Core" Version="3.3.1"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="Infineon.Yoda.DotNetCore" Version="5.4.3" />
|
||||||
<PackageReference Include="External.Common.Logging" Version="3.3.1"><NoWarn>NU1701</NoWarn></PackageReference>
|
<PackageReference Include="Tibco.Rendezvous.DotNetCore" Version="8.5.0" />
|
||||||
<PackageReference Include="External.log4net" Version="2.0.8"><NoWarn>NU1701</NoWarn></PackageReference>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Tesseract" Version="5.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="appsettings.json">
|
<None Include="appsettings.json">
|
||||||
|
@ -1,87 +0,0 @@
|
|||||||
#if v2_56_0
|
|
||||||
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();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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
|
|
@ -1,87 +0,0 @@
|
|||||||
#if v2_56_0
|
|
||||||
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();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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
|
|
@ -1,162 +0,0 @@
|
|||||||
#if v2_56_0
|
|
||||||
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();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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"));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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
|
|
@ -1,93 +0,0 @@
|
|||||||
#if true
|
|
||||||
using Adaptation._Tests.Shared;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
||||||
using System;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
|
|
||||||
|
|
||||||
[TestClass]
|
|
||||||
public class 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_57_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_57_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_57_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
|
|
@ -1,93 +0,0 @@
|
|||||||
#if true
|
|
||||||
using Adaptation._Tests.Shared;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
||||||
using System;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
|
|
||||||
|
|
||||||
[TestClass]
|
|
||||||
public class 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_57_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_57_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_57_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
|
|
@ -1,182 +0,0 @@
|
|||||||
#if true
|
|
||||||
using Adaptation._Tests.Shared;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
||||||
using System;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_57_0;
|
|
||||||
|
|
||||||
[TestClass]
|
|
||||||
public class 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_57_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_57_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_57_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_57_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_57_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_57_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_57_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_57_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_57_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_57_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
|
|
@ -1,171 +0,0 @@
|
|||||||
#if v2_56_0
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__BIORAD4__txt() => _BIORAD4.Staging__v2_56_0__BIORAD4__txt();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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]);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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]);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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]);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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]);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_56_0__BIORAD4__Stratus();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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]);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_56_0__BIORAD4__QS408M();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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
|
|
@ -1,102 +0,0 @@
|
|||||||
#if v2_56_0
|
|
||||||
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) { }
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__BIORAD5__txt() => _BIORAD5.Staging__v2_56_0__BIORAD5__txt();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_56_0__BIORAD5__Stratus();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_56_0__BIORAD5__QS408M();
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
@ -1,120 +0,0 @@
|
|||||||
#if v2_56_0
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__MoveMatchingFiles();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__IQSSi();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsight();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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]);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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]);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[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);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__APC();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__SPaCe();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__Processed();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__Archive();
|
|
||||||
|
|
||||||
[Ignore]
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_56_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_56_0__MET08THFTIRSTRATUS__Dummy();
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
@ -1,195 +0,0 @@
|
|||||||
#if true
|
|
||||||
using Adaptation.Shared;
|
|
||||||
using Adaptation.Shared.Methods;
|
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
||||||
using System;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
|
|
||||||
|
|
||||||
[TestClass]
|
|
||||||
public class BIORAD4
|
|
||||||
{
|
|
||||||
|
|
||||||
#pragma warning disable CA2254
|
|
||||||
#pragma warning disable IDE0060
|
|
||||||
|
|
||||||
private static CreateSelfDescription.Staging.v2_57_0.BIORAD4 _BIORAD4;
|
|
||||||
|
|
||||||
[ClassInitialize]
|
|
||||||
public static void ClassInitialize(TestContext testContext)
|
|
||||||
{
|
|
||||||
CreateSelfDescription.Staging.v2_57_0.BIORAD4.ClassInitialize(testContext);
|
|
||||||
_BIORAD4 = CreateSelfDescription.Staging.v2_57_0.BIORAD4.EAFLoggingUnitTesting;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__BIORAD4__txt() => _BIORAD4.Staging__v2_57_0__BIORAD4__txt();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__BIORAD4__txt637730081979221342__Normal()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "*DataBioRad.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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_57_0__BIORAD4__txt637818036815840307__ProcessFailed()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "*DataBioRad.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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_57_0__BIORAD4__txt637746296480404920__Failure()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "*DataBioRad.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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_57_0__BIORAD4__txt638187028378748930__THigh()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "*DataBioRad.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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_57_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_57_0__BIORAD4__Stratus();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__BIORAD4__Stratus637730081979221342__RDS()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "CassetteDataBioRad_*.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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_57_0__BIORAD4__Stratus637730081979221342__1TRDS()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "CassetteDataBioRad_*.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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_57_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
|
|
||||||
{
|
|
||||||
DateTime dateTime;
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "CassetteDataBioRad_*.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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_57_0__BIORAD4__Stratus637818036815840307__ProcessFailed()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "CassetteDataBioRad_*.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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_57_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_57_0__BIORAD4__QS408M();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__BIORAD4__Stratus638010209430211312__MissingRecipe()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "CassetteDataBioRad_*.txt";
|
|
||||||
_BIORAD4.Staging__v2_57_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
|
|
@ -1,114 +0,0 @@
|
|||||||
#if true
|
|
||||||
using Adaptation.Shared;
|
|
||||||
using Adaptation.Shared.Methods;
|
|
||||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
||||||
using System;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Adaptation._Tests.Extract.Staging.v2_57_0;
|
|
||||||
|
|
||||||
[TestClass]
|
|
||||||
public class BIORAD5
|
|
||||||
{
|
|
||||||
|
|
||||||
#pragma warning disable CA2254
|
|
||||||
#pragma warning disable IDE0060
|
|
||||||
|
|
||||||
private static CreateSelfDescription.Staging.v2_57_0.BIORAD5 _BIORAD5;
|
|
||||||
|
|
||||||
[ClassInitialize]
|
|
||||||
public static void ClassInitialize(TestContext testContext)
|
|
||||||
{
|
|
||||||
CreateSelfDescription.Staging.v2_57_0.BIORAD5.ClassInitialize(testContext);
|
|
||||||
_BIORAD5 = CreateSelfDescription.Staging.v2_57_0.BIORAD5.EAFLoggingUnitTesting;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void NonThrowTryCatch()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{ throw new Exception(); }
|
|
||||||
catch (Exception) { }
|
|
||||||
}
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__BIORAD5__txt() => _BIORAD5.Staging__v2_57_0__BIORAD5__txt();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__BIORAD5__txt638221788953480284__MorePoints()
|
|
||||||
{
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "*DataBioRad.txt";
|
|
||||||
_BIORAD5.Staging__v2_57_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_57_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_57_0__BIORAD5__Stratus();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
|
|
||||||
{
|
|
||||||
DateTime dateTime;
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "CassetteDataBioRad_*.txt";
|
|
||||||
_BIORAD5.Staging__v2_57_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_57_0__BIORAD5__Stratus637805172599370243__Why()
|
|
||||||
{
|
|
||||||
DateTime dateTime;
|
|
||||||
bool validatePDSF = false;
|
|
||||||
string check = "CassetteDataBioRad_*.txt";
|
|
||||||
_BIORAD5.Staging__v2_57_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_57_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_57_0__BIORAD5__QS408M();
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
@ -1,148 +0,0 @@
|
|||||||
#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_57_0;
|
|
||||||
|
|
||||||
[TestClass]
|
|
||||||
public class MET08THFTIRSTRATUS
|
|
||||||
{
|
|
||||||
|
|
||||||
#pragma warning disable CA2254
|
|
||||||
#pragma warning disable IDE0060
|
|
||||||
|
|
||||||
private static CreateSelfDescription.Staging.v2_57_0.MET08THFTIRSTRATUS _MET08THFTIRSTRATUS;
|
|
||||||
|
|
||||||
[ClassInitialize]
|
|
||||||
public static void ClassInitialize(TestContext testContext)
|
|
||||||
{
|
|
||||||
CreateSelfDescription.Staging.v2_57_0.MET08THFTIRSTRATUS.ClassInitialize(testContext);
|
|
||||||
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_57_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__MoveMatchingFiles();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__IQSSi();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__OpenInsight();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__OpenInsight638014829236768047__Normal()
|
|
||||||
{
|
|
||||||
string check = "*.pdsf";
|
|
||||||
_MET08THFTIRSTRATUS.Staging__v2_57_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_57_0__MET08THFTIRSTRATUS__OpenInsight638015284160909324__WO()
|
|
||||||
{
|
|
||||||
string check = "*.pdsf";
|
|
||||||
_MET08THFTIRSTRATUS.Staging__v2_57_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_57_0__MET08THFTIRSTRATUS__OpenInsight638054540026319596__IqsSql()
|
|
||||||
{
|
|
||||||
string check = "*.pdsf";
|
|
||||||
bool validatePDSF = false;
|
|
||||||
MethodBase methodBase = new StackFrame().GetMethod();
|
|
||||||
_MET08THFTIRSTRATUS.Staging__v2_57_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_57_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments638131299562362655__Normal()
|
|
||||||
{
|
|
||||||
string check = "*.pdsf";
|
|
||||||
bool validatePDSF = false;
|
|
||||||
MethodBase methodBase = new StackFrame().GetMethod();
|
|
||||||
_MET08THFTIRSTRATUS.Staging__v2_57_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_57_0__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__APC();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__SPaCe();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__Processed();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__Archive();
|
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
[Ignore]
|
|
||||||
#endif
|
|
||||||
[TestMethod]
|
|
||||||
public void Staging__v2_57_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_57_0__MET08THFTIRSTRATUS__Dummy();
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
@ -119,7 +119,6 @@
|
|||||||
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewerAttachments\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\OpenInsightMetrologyViewerAttachments\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Processed\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\Processed\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\SPaCe\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\SPaCe\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Complete.cs" />
|
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Constant.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Constant.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Description.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Description.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Descriptor.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Descriptor.cs" />
|
||||||
@ -129,6 +128,8 @@
|
|||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Header.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Header.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Point.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Point.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\ProcessData.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\ProcessData.cs" />
|
||||||
|
<Compile Include="Adaptation\FileHandlers\Stratus\Row.cs" />
|
||||||
|
<Compile Include="Adaptation\FileHandlers\Stratus\Run.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Wafer.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Wafer.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\txt\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\txt\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\txt\ProcessData.cs" />
|
<Compile Include="Adaptation\FileHandlers\txt\ProcessData.cs" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user