MET08THFTIRSTRATUS - v2.43.4 - Builtin MonA, Run with layer and
1T
This commit is contained in:
parent
081513e457
commit
8e16a0bae9
2
.gitignore
vendored
2
.gitignore
vendored
@ -336,3 +336,5 @@ ASALocalRun/
|
|||||||
!.vscode/tasks.json
|
!.vscode/tasks.json
|
||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
|
|
||||||
|
*.lnk
|
||||||
|
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": 90560
|
"processId": 19120
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
3
Adaptation/.vscode/settings.json
vendored
3
Adaptation/.vscode/settings.json
vendored
@ -37,7 +37,8 @@
|
|||||||
"titleBar.activeBackground": "#d0a46f",
|
"titleBar.activeBackground": "#d0a46f",
|
||||||
"titleBar.activeForeground": "#15202b",
|
"titleBar.activeForeground": "#15202b",
|
||||||
"titleBar.inactiveBackground": "#d0a46f99",
|
"titleBar.inactiveBackground": "#d0a46f99",
|
||||||
"titleBar.inactiveForeground": "#15202b99"
|
"titleBar.inactiveForeground": "#15202b99",
|
||||||
|
"commandCenter.border": "#15202b99"
|
||||||
},
|
},
|
||||||
"peacock.color": "#d0a46f",
|
"peacock.color": "#d0a46f",
|
||||||
"cSpell.enabled": false
|
"cSpell.enabled": false
|
||||||
|
21
Adaptation/FileHandlers/Stratus/Descriptor.cs
Normal file
21
Adaptation/FileHandlers/Stratus/Descriptor.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
namespace Adaptation.FileHandlers.Stratus;
|
||||||
|
|
||||||
|
public class Descriptor
|
||||||
|
{
|
||||||
|
|
||||||
|
public string Cassette { get; private set; }
|
||||||
|
public string Employee { get; private set; }
|
||||||
|
public string PSN { get; private set; }
|
||||||
|
public string RDS { get; private set; }
|
||||||
|
public string Reactor { get; private set; }
|
||||||
|
|
||||||
|
public Descriptor(string cassette, string employee, string psn, string rds, string reactor)
|
||||||
|
{
|
||||||
|
Cassette = cassette;
|
||||||
|
Employee = employee;
|
||||||
|
PSN = psn;
|
||||||
|
RDS = rds;
|
||||||
|
Reactor = reactor;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -101,22 +101,27 @@ public class FileRead : Shared.FileRead, IFileRead
|
|||||||
Tuple<string, Test[], JsonElement[], List<FileInfo>> results = new(string.Empty, null, null, new List<FileInfo>());
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> results = new(string.Empty, null, null, new List<FileInfo>());
|
||||||
_Logistics = new Logistics(this, reportFullPath, useSplitForMID: true);
|
_Logistics = new Logistics(this, reportFullPath, useSplitForMID: true);
|
||||||
SetFileParameterLotIDToLogisticsMID();
|
SetFileParameterLotIDToLogisticsMID();
|
||||||
if (reportFullPath.Length < _MinFileLength)
|
if (_Logistics.FileInfo.Length < _MinFileLength)
|
||||||
results.Item4.Add(new FileInfo(reportFullPath));
|
results.Item4.Add(_Logistics.FileInfo);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
IProcessData iProcessData = new ProcessData(this, _Logistics, results.Item4, _OriginalDataBioRad, dataText: string.Empty);
|
IProcessData iProcessData = new ProcessData(this, _Logistics, results.Item4, _OriginalDataBioRad, dataText: string.Empty);
|
||||||
if (iProcessData is not ProcessData processData)
|
if (iProcessData is not ProcessData processData)
|
||||||
throw new Exception(string.Concat("A) No Data - ", dateTime.Ticks));
|
throw new Exception(string.Concat("A) No Data - ", dateTime.Ticks));
|
||||||
string mid = string.Concat(processData.Reactor, "-", processData.RDS, "-", processData.PSN);
|
string mid;
|
||||||
|
if (!string.IsNullOrEmpty(processData.Employee) && string.IsNullOrEmpty(processData.Reactor) && string.IsNullOrEmpty(processData.RDS) && string.IsNullOrEmpty(processData.PSN))
|
||||||
|
mid = processData.Employee;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
mid = string.Concat(processData.Reactor, "-", processData.RDS, "-", processData.PSN);
|
||||||
mid = Regex.Replace(mid, @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
|
mid = Regex.Replace(mid, @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
|
||||||
_Logistics.MID = mid;
|
}
|
||||||
SetFileParameterLotID(mid);
|
SetFileParameterLotID(mid);
|
||||||
_Logistics.ProcessJobID = processData.Reactor;
|
_Logistics.Update(mid, processData.Reactor);
|
||||||
if (!iProcessData.Details.Any())
|
if (!iProcessData.Details.Any())
|
||||||
throw new Exception(string.Concat("B) No Data - ", dateTime.Ticks));
|
throw new Exception(string.Concat("B) No Data - ", dateTime.Ticks));
|
||||||
if (iProcessData.Details[0] is Detail detail && string.IsNullOrEmpty(detail.PassFail))
|
if (iProcessData.Details[0] is Detail detail && string.IsNullOrEmpty(detail.PassFail))
|
||||||
results.Item4.Add(new FileInfo(reportFullPath));
|
results.Item4.Add(_Logistics.FileInfo);
|
||||||
else
|
else
|
||||||
results = iProcessData.GetResults(this, _Logistics, results.Item4);
|
results = iProcessData.GetResults(this, _Logistics, results.Item4);
|
||||||
}
|
}
|
||||||
|
@ -245,6 +245,123 @@ public partial class ProcessData : IProcessData
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Descriptor GetDescriptor(string text)
|
||||||
|
{
|
||||||
|
Descriptor result;
|
||||||
|
string psn;
|
||||||
|
string rds;
|
||||||
|
string reactor;
|
||||||
|
string cassette;
|
||||||
|
string employee;
|
||||||
|
string[] segments;
|
||||||
|
const string defaultPSN = "0000";
|
||||||
|
const string defaultRDS = "000000";
|
||||||
|
const string defaultReactor = "00";
|
||||||
|
if (text.Length is 2 or 3)
|
||||||
|
{
|
||||||
|
cassette = text;
|
||||||
|
rds = defaultRDS;
|
||||||
|
psn = defaultPSN;
|
||||||
|
employee = cassette;
|
||||||
|
reactor = defaultReactor;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Remove illegal characters \/:*?"<>| found in the Cassette.
|
||||||
|
cassette = Regex.Replace(text, @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
|
||||||
|
if (cassette.StartsWith("1T") || cassette.StartsWith("1t"))
|
||||||
|
cassette = cassette.Substring(2);
|
||||||
|
if (cassette.Contains('-'))
|
||||||
|
segments = cassette.Split(new char[] { '-' });
|
||||||
|
else if (!cassette.Contains('\u005F'))
|
||||||
|
segments = cassette.Split(new char[] { ' ' });
|
||||||
|
else if (cassette.Contains('.'))
|
||||||
|
segments = cassette.Split(new char[] { '.' });
|
||||||
|
else
|
||||||
|
segments = cassette.Split(new char[] { '\u005F' });
|
||||||
|
if (segments.Length == 0)
|
||||||
|
reactor = defaultReactor;
|
||||||
|
else
|
||||||
|
reactor = segments[0];
|
||||||
|
if (segments.Length <= 1)
|
||||||
|
rds = defaultRDS;
|
||||||
|
else
|
||||||
|
rds = segments[1];
|
||||||
|
if (reactor.Length > 3)
|
||||||
|
{
|
||||||
|
rds = reactor;
|
||||||
|
reactor = defaultReactor;
|
||||||
|
}
|
||||||
|
if (segments.Length <= 2)
|
||||||
|
psn = defaultPSN;
|
||||||
|
else
|
||||||
|
psn = segments[2].Split('.')[0];
|
||||||
|
if (segments.Length <= 3)
|
||||||
|
employee = string.Empty;
|
||||||
|
else
|
||||||
|
employee = segments[3];
|
||||||
|
}
|
||||||
|
result = new(cassette, employee, psn, rds, reactor);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Set(Logistics logistics)
|
||||||
|
{
|
||||||
|
string psn;
|
||||||
|
string rds;
|
||||||
|
string date;
|
||||||
|
string text;
|
||||||
|
string batch;
|
||||||
|
string title;
|
||||||
|
string reactor;
|
||||||
|
string cassette;
|
||||||
|
string employee;
|
||||||
|
const string batchKey = "Batch";
|
||||||
|
const string startedKey = "started";
|
||||||
|
const string cassetteKey = "Cassette";
|
||||||
|
const string startedAtKey = "started at";
|
||||||
|
if (!_Data.Contains(batchKey) || !_Data.Contains(startedKey))
|
||||||
|
batch = string.Empty;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for (int z = 0; z < int.MaxValue; z++)
|
||||||
|
{
|
||||||
|
ScanPast(batchKey);
|
||||||
|
if (!_Data.Substring(_I).Contains(batchKey))
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
batch = GetToText(startedKey);
|
||||||
|
ScanPast(startedAtKey);
|
||||||
|
}
|
||||||
|
ScanPast(cassetteKey);
|
||||||
|
if (!_Data.Substring(_I).Contains(startedKey))
|
||||||
|
text = string.Empty;
|
||||||
|
else
|
||||||
|
text = GetToText(startedKey);
|
||||||
|
ScanPast(startedAtKey);
|
||||||
|
string dateTimeText = GetToEOL();
|
||||||
|
if (dateTimeText.EndsWith("."))
|
||||||
|
dateTimeText = dateTimeText.Remove(dateTimeText.Length - 1, 1);
|
||||||
|
DateTime dateTime = GetDateTime(logistics, dateTimeText);
|
||||||
|
date = dateTime.ToString();
|
||||||
|
Descriptor descriptor = GetDescriptor(text);
|
||||||
|
cassette = descriptor.Cassette;
|
||||||
|
psn = descriptor.PSN;
|
||||||
|
rds = descriptor.RDS;
|
||||||
|
reactor = descriptor.Reactor;
|
||||||
|
employee = descriptor.Employee;
|
||||||
|
title = !string.IsNullOrEmpty(batch) ? batch : cassette;
|
||||||
|
PSN = psn;
|
||||||
|
RDS = rds;
|
||||||
|
Date = date;
|
||||||
|
Batch = batch;
|
||||||
|
Title = title;
|
||||||
|
Reactor = reactor;
|
||||||
|
Cassette = cassette;
|
||||||
|
Employee = employee;
|
||||||
|
UniqueId = string.Concat("StratusBioRad_", reactor, "_", rds, "_", psn, "_", logistics.DateTimeFromSequence.ToString("yyyyMMddHHmmssffff"));
|
||||||
|
}
|
||||||
|
|
||||||
private void Parse(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string originalDataBioRad, string receivedData)
|
private void Parse(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, string originalDataBioRad, string receivedData)
|
||||||
{
|
{
|
||||||
if (fileRead is null)
|
if (fileRead is null)
|
||||||
@ -263,68 +380,14 @@ public partial class ProcessData : IProcessData
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int num;
|
int num;
|
||||||
int num1;
|
|
||||||
int num2;
|
int num2;
|
||||||
Point point;
|
Point point;
|
||||||
|
int num1 = 0;
|
||||||
Detail detail;
|
Detail detail;
|
||||||
string[] segments;
|
|
||||||
string batch = "Batch";
|
|
||||||
string started = "started";
|
|
||||||
string cassette = "Cassette";
|
|
||||||
string startedAt = "started at";
|
|
||||||
_I = 0;
|
_I = 0;
|
||||||
_Data = receivedData;
|
_Data = receivedData;
|
||||||
if (!_Data.Contains(batch) || !_Data.Contains(started))
|
Set(logistics);
|
||||||
Batch = string.Empty;
|
string cassette = Cassette;
|
||||||
else
|
|
||||||
{
|
|
||||||
for (int z = 0; z < int.MaxValue; z++)
|
|
||||||
{
|
|
||||||
ScanPast(batch);
|
|
||||||
if (!_Data.Substring(_I).Contains(batch))
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
Batch = GetToText(started);
|
|
||||||
ScanPast(startedAt);
|
|
||||||
}
|
|
||||||
ScanPast(cassette);
|
|
||||||
if (!_Data.Substring(_I).Contains(started))
|
|
||||||
Cassette = string.Empty;
|
|
||||||
else
|
|
||||||
Cassette = GetToText(started);
|
|
||||||
// Remove illegal characters \/:*?"<>| found in the Cassette.
|
|
||||||
Cassette = Regex.Replace(Cassette, @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
|
|
||||||
if (Cassette.StartsWith("1T") || Cassette.StartsWith("1t"))
|
|
||||||
Cassette = Cassette.Substring(2);
|
|
||||||
Title = !string.IsNullOrEmpty(Batch) ? Batch : Cassette;
|
|
||||||
ScanPast(startedAt);
|
|
||||||
string dateTimeText = GetToEOL();
|
|
||||||
if (dateTimeText.EndsWith("."))
|
|
||||||
dateTimeText = dateTimeText.Remove(dateTimeText.Length - 1, 1);
|
|
||||||
DateTime dateTime = GetDateTime(logistics, dateTimeText);
|
|
||||||
Date = dateTime.ToString();
|
|
||||||
if (Cassette.Contains('.'))
|
|
||||||
segments = Cassette.Split(new char[] { '.' });
|
|
||||||
else if (Cassette.Contains('-'))
|
|
||||||
segments = Cassette.Split(new char[] { '-' });
|
|
||||||
else if (!Cassette.Contains('\u005F'))
|
|
||||||
segments = Cassette.Split(new char[] { ' ' });
|
|
||||||
else
|
|
||||||
segments = Cassette.Split(new char[] { '\u005F' });
|
|
||||||
if (segments.Length >= 1)
|
|
||||||
Reactor = segments[0];
|
|
||||||
if (segments.Length >= 2)
|
|
||||||
RDS = segments[1];
|
|
||||||
if (segments.Length >= 3)
|
|
||||||
PSN = segments[2];
|
|
||||||
if (segments.Length >= 4)
|
|
||||||
Employee = segments[3];
|
|
||||||
if (Reactor.Length > 3)
|
|
||||||
{
|
|
||||||
RDS = Reactor;
|
|
||||||
Reactor = string.Empty;
|
|
||||||
}
|
|
||||||
num1 = 0;
|
|
||||||
if (PeekNextLine().Contains("Wafer"))
|
if (PeekNextLine().Contains("Wafer"))
|
||||||
{
|
{
|
||||||
_Log.Debug("****ProcessData Contains Wafer");
|
_Log.Debug("****ProcessData Contains Wafer");
|
||||||
@ -432,7 +495,6 @@ public partial class ProcessData : IProcessData
|
|||||||
details.Add(new());
|
details.Add(new());
|
||||||
}
|
}
|
||||||
StringBuilder stringBuilder = new();
|
StringBuilder stringBuilder = new();
|
||||||
UniqueId = string.Concat("StratusBioRad_", Reactor, "_", RDS, "_", PSN, "_", logistics.DateTimeFromSequence.ToString("yyyyMMddHHmmssffff"));
|
|
||||||
foreach (Detail detail in details)
|
foreach (Detail detail in details)
|
||||||
{
|
{
|
||||||
detail.HeaderUniqueId = UniqueId;
|
detail.HeaderUniqueId = UniqueId;
|
||||||
@ -457,7 +519,7 @@ public partial class ProcessData : IProcessData
|
|||||||
_ = stringBuilder.Remove(stringBuilder.Length - 1, 1);
|
_ = stringBuilder.Remove(stringBuilder.Length - 1, 1);
|
||||||
detail.Position = stringBuilder.ToString();
|
detail.Position = stringBuilder.ToString();
|
||||||
}
|
}
|
||||||
fileInfoCollection.Add(new FileInfo(logistics.ReportFullPath));
|
fileInfoCollection.Add(logistics.FileInfo);
|
||||||
_Details.AddRange(details);
|
_Details.AddRange(details);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,8 +101,9 @@ public class FileRead : Shared.FileRead, IFileRead
|
|||||||
Tuple<string, Test[], JsonElement[], List<FileInfo>> results = new(string.Empty, null, null, new List<FileInfo>());
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> results = new(string.Empty, null, null, new List<FileInfo>());
|
||||||
_Logistics = new Logistics(this, reportFullPath, useSplitForMID: false);
|
_Logistics = new Logistics(this, reportFullPath, useSplitForMID: false);
|
||||||
SetFileParameterLotID(_Logistics.MID);
|
SetFileParameterLotID(_Logistics.MID);
|
||||||
if (reportFullPath.Length < _MinFileLength)
|
FileInfo fileInfo = new(reportFullPath);
|
||||||
results.Item4.Add(new FileInfo(reportFullPath));
|
if (fileInfo.Length < _MinFileLength)
|
||||||
|
results.Item4.Add(fileInfo);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bool isBioRad;
|
bool isBioRad;
|
||||||
|
20
Adaptation/Infineon/Monitoring/MonA/ExtWebClient.cs
Normal file
20
Adaptation/Infineon/Monitoring/MonA/ExtWebClient.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net;
|
||||||
|
|
||||||
|
namespace Infineon.Monitoring.MonA;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
#pragma warning disable SYSLIB0014
|
||||||
|
|
||||||
|
public class ExtWebClient : WebClient
|
||||||
|
{
|
||||||
|
protected override WebRequest GetWebRequest(Uri address)
|
||||||
|
{
|
||||||
|
WebRequest webRequest = base.GetWebRequest(address);
|
||||||
|
if (webRequest != null)
|
||||||
|
webRequest.PreAuthenticate = PreAuthenticate;
|
||||||
|
return webRequest;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool PreAuthenticate { get; set; }
|
||||||
|
}
|
167
Adaptation/Infineon/Monitoring/MonA/IMonIn.cs
Normal file
167
Adaptation/Infineon/Monitoring/MonA/IMonIn.cs
Normal file
@ -0,0 +1,167 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Infineon.Monitoring.MonA;
|
||||||
|
|
||||||
|
public interface IMonIn
|
||||||
|
{
|
||||||
|
string SendStatus(string site, string resource, string stateName, State state);
|
||||||
|
|
||||||
|
string SendStatus(
|
||||||
|
string site,
|
||||||
|
DateTime timeStamp,
|
||||||
|
string resource,
|
||||||
|
string stateName,
|
||||||
|
State state);
|
||||||
|
|
||||||
|
string SendStatus(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string stateName,
|
||||||
|
State state,
|
||||||
|
string description);
|
||||||
|
|
||||||
|
string SendStatus(
|
||||||
|
string site,
|
||||||
|
DateTime timeStamp,
|
||||||
|
string resource,
|
||||||
|
string stateName,
|
||||||
|
State state,
|
||||||
|
string description);
|
||||||
|
|
||||||
|
string SendStatus(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
State state);
|
||||||
|
|
||||||
|
string SendStatus(
|
||||||
|
string site,
|
||||||
|
DateTime timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
State state);
|
||||||
|
|
||||||
|
string SendStatus(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
State state,
|
||||||
|
string description);
|
||||||
|
|
||||||
|
string SendStatus(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
State state,
|
||||||
|
string description);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
int? interval);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string unit);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string unit,
|
||||||
|
int? interval);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
int? interval);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string unit);
|
||||||
|
|
||||||
|
string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description,
|
||||||
|
string unit,
|
||||||
|
int? interval);
|
||||||
|
}
|
292
Adaptation/Infineon/Monitoring/MonA/MonIn.cs
Normal file
292
Adaptation/Infineon/Monitoring/MonA/MonIn.cs
Normal file
@ -0,0 +1,292 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace Infineon.Monitoring.MonA;
|
||||||
|
|
||||||
|
public class MonIn : IMonIn, IDisposable
|
||||||
|
{
|
||||||
|
private static readonly DateTime _Utc1970DateTime = new(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
|
||||||
|
public const string MonInUrl = "http://moninhttp.{0}.infineon.com/input/text";
|
||||||
|
private static readonly Dictionary<string, MonIn> _Instances = new();
|
||||||
|
private readonly ExtWebClient _WebClient;
|
||||||
|
private readonly string _MonInUrl;
|
||||||
|
private static CultureInfo _CultureInfo;
|
||||||
|
|
||||||
|
public static MonIn GetInstance(string url = "http://moninhttp.{0}.infineon.com/input/text")
|
||||||
|
{
|
||||||
|
MonIn instance;
|
||||||
|
if (_Instances.ContainsKey(url))
|
||||||
|
{
|
||||||
|
instance = _Instances[url];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
lock (_Instances)
|
||||||
|
{
|
||||||
|
if (!_Instances.ContainsKey(url))
|
||||||
|
{
|
||||||
|
instance = new MonIn(url);
|
||||||
|
_Instances.Add(url, instance);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
instance = _Instances[url];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return instance;
|
||||||
|
}
|
||||||
|
|
||||||
|
private MonIn(string url)
|
||||||
|
{
|
||||||
|
_WebClient = new ExtWebClient();
|
||||||
|
_WebClient.Headers[HttpRequestHeader.ContentType] = "application/text";
|
||||||
|
_WebClient.Encoding = Encoding.UTF8;
|
||||||
|
_CultureInfo = new CultureInfo("en-US");
|
||||||
|
_MonInUrl = url;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetBasicAuthentication(string username, string password)
|
||||||
|
{
|
||||||
|
_WebClient.PreAuthenticate = true;
|
||||||
|
_WebClient.Headers[HttpRequestHeader.Authorization] = "Basic " + Convert.ToBase64String(Encoding.ASCII.GetBytes(username + ":" + password));
|
||||||
|
}
|
||||||
|
|
||||||
|
public string SendStatus(string site, string resource, string stateName, State state) => SendStatus(site, new DateTime?(), resource, string.Empty, stateName, state, string.Empty);
|
||||||
|
|
||||||
|
public string SendStatus(
|
||||||
|
string site,
|
||||||
|
DateTime timeStamp,
|
||||||
|
string resource,
|
||||||
|
string stateName,
|
||||||
|
State state) => SendStatus(site, new DateTime?(timeStamp), resource, string.Empty, stateName, state, string.Empty);
|
||||||
|
|
||||||
|
public string SendStatus(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string stateName,
|
||||||
|
State state,
|
||||||
|
string description) => SendStatus(site, new DateTime?(), resource, string.Empty, stateName, state, description);
|
||||||
|
|
||||||
|
public string SendStatus(
|
||||||
|
string site,
|
||||||
|
DateTime timeStamp,
|
||||||
|
string resource,
|
||||||
|
string stateName,
|
||||||
|
State state,
|
||||||
|
string description) => SendStatus(site, new DateTime?(timeStamp), resource, string.Empty, stateName, state, description);
|
||||||
|
|
||||||
|
public string SendStatus(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
State state) => SendStatus(site, new DateTime?(), resource, subresource, stateName, state, string.Empty);
|
||||||
|
|
||||||
|
public string SendStatus(
|
||||||
|
string site,
|
||||||
|
DateTime timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
State state) => SendStatus(site, new DateTime?(timeStamp), resource, subresource, stateName, state, string.Empty);
|
||||||
|
|
||||||
|
public string SendStatus(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
State state,
|
||||||
|
string description) => SendStatus(site, new DateTime?(), resource, subresource, stateName, state, description);
|
||||||
|
|
||||||
|
public string SendStatus(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
State state,
|
||||||
|
string description)
|
||||||
|
{
|
||||||
|
string statusMessage = CreateStatusMessage(site, timeStamp, resource, subresource, stateName, state.ToString(), description);
|
||||||
|
lock (_WebClient)
|
||||||
|
return _WebClient.UploadString(string.Format(_MonInUrl, site), statusMessage);
|
||||||
|
}
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value) => SendPerformanceMessage(site, new DateTime?(), resource, string.Empty, performanceName, value, string.Empty, string.Empty, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value) => SendPerformanceMessage(site, timeStamp, resource, string.Empty, performanceName, value, string.Empty, string.Empty, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description) => SendPerformanceMessage(site, new DateTime?(), resource, string.Empty, performanceName, value, description, string.Empty, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description) => SendPerformanceMessage(site, timeStamp, resource, string.Empty, performanceName, value, description, string.Empty, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
int? interval) => SendPerformanceMessage(site, timeStamp, resource, string.Empty, performanceName, value, string.Empty, string.Empty, interval);
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string unit) => SendPerformanceMessage(site, timeStamp, resource, string.Empty, performanceName, value, string.Empty, unit, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string unit,
|
||||||
|
int? interval) => SendPerformanceMessage(site, timeStamp, resource, string.Empty, performanceName, value, string.Empty, unit, interval);
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value) => SendPerformanceMessage(site, new DateTime?(), resource, subresource, performanceName, value, string.Empty, string.Empty, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value) => SendPerformanceMessage(site, timeStamp, resource, subresource, performanceName, value, string.Empty, string.Empty, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description) => SendPerformanceMessage(site, new DateTime?(), resource, subresource, performanceName, value, description, string.Empty, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
int? interval) => SendPerformanceMessage(site, timeStamp, resource, subresource, performanceName, value, string.Empty, string.Empty, interval);
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string unit) => SendPerformanceMessage(site, timeStamp, resource, subresource, performanceName, value, string.Empty, unit, new int?());
|
||||||
|
|
||||||
|
public string SendPerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description,
|
||||||
|
string unit,
|
||||||
|
int? interval)
|
||||||
|
{
|
||||||
|
string performanceMessage = CreatePerformanceMessage(site, timeStamp, resource, subresource, performanceName, value, description, unit, interval);
|
||||||
|
lock (_WebClient)
|
||||||
|
return _WebClient.UploadString(string.Format(_MonInUrl, site), performanceMessage);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string CreateStatusMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string stateName,
|
||||||
|
string state,
|
||||||
|
string description)
|
||||||
|
{
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
if (string.IsNullOrEmpty(subresource))
|
||||||
|
_ = stringBuilder.AppendFormat(_CultureInfo, "> {0} {1} \"{2}\" \"{3}\" {4} \n{5}", site.Trim(), timeStamp.HasValue ? GetDateTimeNowAsPosix(timeStamp.Value) : (object)"now", resource.Trim(), stateName.Trim(), state.Trim(), description.Trim());
|
||||||
|
else
|
||||||
|
_ = stringBuilder.AppendFormat(_CultureInfo, "> {0} {1} \"{2}\" \"{3}\" \"{4}\" {5} \n{6}", site.Trim(), timeStamp.HasValue ? GetDateTimeNowAsPosix(timeStamp.Value) : (object)"now", resource.Trim(), subresource.Trim(), stateName.Trim(), state.Trim(), description.Trim());
|
||||||
|
return stringBuilder.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string CreatePerformanceMessage(
|
||||||
|
string site,
|
||||||
|
DateTime? timeStamp,
|
||||||
|
string resource,
|
||||||
|
string subresource,
|
||||||
|
string performanceName,
|
||||||
|
double value,
|
||||||
|
string description,
|
||||||
|
string unit,
|
||||||
|
int? interval)
|
||||||
|
{
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
if (string.IsNullOrEmpty(subresource))
|
||||||
|
{
|
||||||
|
if (unit.Equals(string.Empty) && !interval.HasValue)
|
||||||
|
_ = stringBuilder.AppendFormat(_CultureInfo, "> {0} {1} \"{2}\" \"{3}\" {4} \n{5}", site.Trim(), timeStamp.HasValue ? GetDateTimeNowAsPosix(timeStamp.Value) : (object)"now", resource.Trim(), performanceName.Trim(), value, description.Trim());
|
||||||
|
else
|
||||||
|
_ = stringBuilder.AppendFormat(_CultureInfo, "> {0} {1} \"{2}\" \"{3}\" {4} {5} {{interval={6}, unit={7}}}\n", site.Trim(), timeStamp.HasValue ? GetDateTimeNowAsPosix(timeStamp.Value) : (object)"now", resource.Trim(), performanceName.Trim(), value, description.Trim(), interval.HasValue ? interval.Value.ToString() : (object)string.Empty, unit.Trim());
|
||||||
|
}
|
||||||
|
else if (unit.Equals(string.Empty) && !interval.HasValue)
|
||||||
|
_ = stringBuilder.AppendFormat(_CultureInfo, "> {0} {1} \"{2}\" \"{3}\" \"{4}\" {5} \n{6}", site.Trim(), timeStamp.HasValue ? GetDateTimeNowAsPosix(timeStamp.Value) : (object)"now", resource.Trim(), subresource.Trim(), performanceName.Trim(), value, description.Trim());
|
||||||
|
else
|
||||||
|
_ = stringBuilder.AppendFormat(_CultureInfo, "> {0} {1} \"{2}\" \"{3}\" \"{4}\" {5} {6} {{interval={7}, unit={8}}}\n", site.Trim(), timeStamp.HasValue ? GetDateTimeNowAsPosix(timeStamp.Value) : (object)"now", resource.Trim(), subresource.Trim(), performanceName.Trim(), value, description.Trim(), interval.HasValue ? interval.Value.ToString() : (object)string.Empty, unit.Trim());
|
||||||
|
return stringBuilder.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string GetDateTimeNowAsPosix(DateTime timeStamp)
|
||||||
|
{
|
||||||
|
if (timeStamp > DateTime.Now)
|
||||||
|
timeStamp = DateTime.Now;
|
||||||
|
return ((int)timeStamp.ToUniversalTime().Subtract(_Utc1970DateTime).TotalSeconds).ToString(CultureInfo.InvariantCulture);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
KeyValuePair<string, MonIn> keyValuePair = new();
|
||||||
|
foreach (KeyValuePair<string, MonIn> instance in _Instances)
|
||||||
|
{
|
||||||
|
if (instance.Value == this)
|
||||||
|
{
|
||||||
|
keyValuePair = instance;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_ = _Instances.Remove(keyValuePair.Key);
|
||||||
|
_WebClient?.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
11
Adaptation/Infineon/Monitoring/MonA/State.cs
Normal file
11
Adaptation/Infineon/Monitoring/MonA/State.cs
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
namespace Infineon.Monitoring.MonA;
|
||||||
|
|
||||||
|
public enum State
|
||||||
|
{
|
||||||
|
Up,
|
||||||
|
Ok,
|
||||||
|
Warning,
|
||||||
|
Critical,
|
||||||
|
Down,
|
||||||
|
Unknown,
|
||||||
|
}
|
@ -15,6 +15,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<VSTestLogger>trx</VSTestLogger>
|
<VSTestLogger>trx</VSTestLogger>
|
||||||
|
<VSTestCollect>XPlat Code Coverage</VSTestCollect>
|
||||||
<VSTestResultsDirectory>../../../../MET08THFTIRSTRATUS/05_TestResults/TestResults</VSTestResultsDirectory>
|
<VSTestResultsDirectory>../../../../MET08THFTIRSTRATUS/05_TestResults/TestResults</VSTestResultsDirectory>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
@ -62,7 +63,6 @@
|
|||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="FFMpegCore" Version="4.8.0" />
|
<PackageReference Include="FFMpegCore" Version="4.8.0" />
|
||||||
<PackageReference Include="Infineon.Monitoring.MonA" Version="2.0.0" />
|
|
||||||
<PackageReference Include="Infineon.Yoda" Version="5.4.1" />
|
<PackageReference Include="Infineon.Yoda" Version="5.4.1" />
|
||||||
<PackageReference Include="Instances" Version="2.0.0" />
|
<PackageReference Include="Instances" Version="2.0.0" />
|
||||||
<PackageReference Include="RoboSharp" Version="1.2.7" />
|
<PackageReference Include="RoboSharp" Version="1.2.7" />
|
||||||
|
@ -54,6 +54,7 @@ public class FileRead : Properties.IFileRead
|
|||||||
string Properties.IFileRead.EventName => _EventName;
|
string Properties.IFileRead.EventName => _EventName;
|
||||||
string Properties.IFileRead.MesEntity => _MesEntity;
|
string Properties.IFileRead.MesEntity => _MesEntity;
|
||||||
bool Properties.IFileRead.IsEAFHosted => _IsEAFHosted;
|
bool Properties.IFileRead.IsEAFHosted => _IsEAFHosted;
|
||||||
|
bool Properties.IFileRead.IsDuplicator => _IsDuplicator;
|
||||||
string Properties.IFileRead.EquipmentType => _EquipmentType;
|
string Properties.IFileRead.EquipmentType => _EquipmentType;
|
||||||
string Properties.IFileRead.ReportFullPath => _ReportFullPath;
|
string Properties.IFileRead.ReportFullPath => _ReportFullPath;
|
||||||
string Properties.IFileRead.CellInstanceName => _CellInstanceName;
|
string Properties.IFileRead.CellInstanceName => _CellInstanceName;
|
||||||
|
@ -9,34 +9,46 @@ namespace Adaptation.Shared;
|
|||||||
public class Logistics : ILogistics
|
public class Logistics : ILogistics
|
||||||
{
|
{
|
||||||
|
|
||||||
public object NullData { get; private set; }
|
protected readonly DateTime _DateTimeFromSequence;
|
||||||
public string JobID { get; private set; } //CellName
|
protected readonly FileInfo _FileInfo;
|
||||||
public long Sequence { get; private set; } //Ticks
|
protected readonly string _JobID;
|
||||||
public DateTime DateTimeFromSequence { get; private set; }
|
protected readonly List<string> _Logistics1;
|
||||||
public double TotalSecondsSinceLastWriteTimeFromSequence { get; private set; }
|
protected readonly List<Logistics2> _Logistics2;
|
||||||
public string MesEntity { get; private set; } //SPC
|
protected string _MID;
|
||||||
public string ReportFullPath { get; private set; } //Extract file
|
protected readonly string _MesEntity;
|
||||||
public string ProcessJobID { get; set; } //Reactor (duplicate but I want it in the logistics)
|
protected readonly object _NullData;
|
||||||
public string MID { get; set; } //Lot & Pocket || Lot
|
protected string _ProcessJobID;
|
||||||
public List<string> Tags { get; set; }
|
protected readonly string _ReportFullPath;
|
||||||
public List<string> Logistics1 { get; set; }
|
protected readonly long _Sequence;
|
||||||
public List<Logistics2> Logistics2 { get; set; }
|
protected readonly double _TotalSecondsSinceLastWriteTimeFromSequence;
|
||||||
|
|
||||||
|
public DateTime DateTimeFromSequence => _DateTimeFromSequence;
|
||||||
|
public FileInfo FileInfo => _FileInfo;
|
||||||
|
public string JobID => _JobID;
|
||||||
|
public List<string> Logistics1 => _Logistics1;
|
||||||
|
public List<Logistics2> Logistics2 => _Logistics2;
|
||||||
|
public string MID => _MID;
|
||||||
|
public string MesEntity => _MesEntity;
|
||||||
|
public object NullData => _NullData;
|
||||||
|
public string ProcessJobID => _ProcessJobID;
|
||||||
|
public string ReportFullPath => _ReportFullPath;
|
||||||
|
public long Sequence => _Sequence;
|
||||||
|
public double TotalSecondsSinceLastWriteTimeFromSequence => _TotalSecondsSinceLastWriteTimeFromSequence;
|
||||||
|
|
||||||
public Logistics(IFileRead fileRead)
|
public Logistics(IFileRead fileRead)
|
||||||
{
|
{
|
||||||
DateTime dateTime = DateTime.Now;
|
DateTime dateTime = DateTime.Now;
|
||||||
NullData = null;
|
_NullData = null;
|
||||||
Sequence = dateTime.Ticks;
|
_Sequence = dateTime.Ticks;
|
||||||
DateTimeFromSequence = dateTime;
|
_DateTimeFromSequence = dateTime;
|
||||||
JobID = fileRead.CellInstanceName;
|
_JobID = fileRead.CellInstanceName;
|
||||||
TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTime).TotalSeconds;
|
_TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTime).TotalSeconds;
|
||||||
MesEntity = DefaultMesEntity(dateTime);
|
_MesEntity = DefaultMesEntity(dateTime);
|
||||||
ReportFullPath = string.Empty;
|
_ReportFullPath = string.Empty;
|
||||||
ProcessJobID = nameof(ProcessJobID);
|
_ProcessJobID = nameof(ProcessJobID);
|
||||||
MID = nameof(MID);
|
_MID = nameof(MID);
|
||||||
Tags = new List<string>();
|
_Logistics1 = new string[] { string.Concat("LOGISTICS_1", '\t', "A_JOBID=", JobID, ";A_MES_ENTITY=", MesEntity, ";") }.ToList();
|
||||||
Logistics1 = new string[] { string.Concat("LOGISTICS_1", '\t', "A_JOBID=", JobID, ";A_MES_ENTITY=", MesEntity, ";") }.ToList();
|
_Logistics2 = new List<Logistics2>();
|
||||||
Logistics2 = new List<Logistics2>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Logistics(IFileRead fileRead, string reportFullPath, bool useSplitForMID, int? fileInfoLength = null)
|
public Logistics(IFileRead fileRead, string reportFullPath, bool useSplitForMID, int? fileInfoLength = null)
|
||||||
@ -45,19 +57,19 @@ public class Logistics : ILogistics
|
|||||||
throw new Exception();
|
throw new Exception();
|
||||||
if (string.IsNullOrEmpty(fileRead.MesEntity))
|
if (string.IsNullOrEmpty(fileRead.MesEntity))
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
NullData = fileRead.NullData;
|
_NullData = fileRead.NullData;
|
||||||
FileInfo fileInfo = new(reportFullPath);
|
_FileInfo = new(reportFullPath);
|
||||||
DateTime dateTime = fileInfo.LastWriteTime;
|
DateTime dateTime = _FileInfo.LastWriteTime;
|
||||||
if (fileInfoLength.HasValue && fileInfo.Length < fileInfoLength.Value)
|
if (fileInfoLength.HasValue && _FileInfo.Length < fileInfoLength.Value)
|
||||||
dateTime = dateTime.AddTicks(-1);
|
dateTime = dateTime.AddTicks(-1);
|
||||||
JobID = fileRead.CellInstanceName;
|
_JobID = fileRead.CellInstanceName;
|
||||||
Sequence = dateTime.Ticks;
|
_Sequence = dateTime.Ticks;
|
||||||
DateTimeFromSequence = dateTime;
|
_DateTimeFromSequence = dateTime;
|
||||||
TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTime).TotalSeconds;
|
_TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTime).TotalSeconds;
|
||||||
MesEntity = fileRead.MesEntity;
|
_MesEntity = fileRead.MesEntity;
|
||||||
ReportFullPath = fileInfo.FullName;
|
_ReportFullPath = _FileInfo.FullName;
|
||||||
ProcessJobID = nameof(ProcessJobID);
|
_ProcessJobID = nameof(ProcessJobID);
|
||||||
string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(fileInfo.FullName);
|
string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(_FileInfo.FullName);
|
||||||
if (useSplitForMID)
|
if (useSplitForMID)
|
||||||
{
|
{
|
||||||
if (fileNameWithoutExtension.IndexOf(".") > -1)
|
if (fileNameWithoutExtension.IndexOf(".") > -1)
|
||||||
@ -67,10 +79,9 @@ public class Logistics : ILogistics
|
|||||||
if (fileNameWithoutExtension.IndexOf("-") > -1)
|
if (fileNameWithoutExtension.IndexOf("-") > -1)
|
||||||
fileNameWithoutExtension = fileNameWithoutExtension.Split('-')[0].Trim();
|
fileNameWithoutExtension = fileNameWithoutExtension.Split('-')[0].Trim();
|
||||||
}
|
}
|
||||||
MID = string.Concat(fileNameWithoutExtension.Substring(0, 1).ToUpper(), fileNameWithoutExtension.Substring(1).ToLower());
|
_MID = string.Concat(fileNameWithoutExtension.Substring(0, 1).ToUpper(), fileNameWithoutExtension.Substring(1).ToLower());
|
||||||
Tags = new List<string>();
|
_Logistics1 = new string[] { string.Concat("LOGISTICS_1", '\t', "A_JOBID=", JobID, ";A_MES_ENTITY=", MesEntity, ";") }.ToList();
|
||||||
Logistics1 = new string[] { string.Concat("LOGISTICS_1", '\t', "A_JOBID=", JobID, ";A_MES_ENTITY=", MesEntity, ";") }.ToList();
|
_Logistics2 = new List<Logistics2>();
|
||||||
Logistics2 = new List<Logistics2>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Logistics(string reportFullPath, string logistics)
|
public Logistics(string reportFullPath, string logistics)
|
||||||
@ -78,57 +89,57 @@ public class Logistics : ILogistics
|
|||||||
string key;
|
string key;
|
||||||
DateTime dateTime;
|
DateTime dateTime;
|
||||||
string[] segments;
|
string[] segments;
|
||||||
Logistics1 = logistics.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries).ToList();
|
_FileInfo = new(reportFullPath);
|
||||||
|
_Logistics1 = logistics.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||||
if (!Logistics1.Any() || !Logistics1[0].StartsWith("LOGISTICS_1"))
|
if (!Logistics1.Any() || !Logistics1[0].StartsWith("LOGISTICS_1"))
|
||||||
{
|
{
|
||||||
NullData = null;
|
_NullData = null;
|
||||||
JobID = "null";
|
_JobID = "null";
|
||||||
dateTime = new FileInfo(reportFullPath).LastWriteTime;
|
dateTime = _FileInfo.LastWriteTime;
|
||||||
Sequence = dateTime.Ticks;
|
_Sequence = dateTime.Ticks;
|
||||||
DateTimeFromSequence = dateTime;
|
_DateTimeFromSequence = dateTime;
|
||||||
TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTime).TotalSeconds;
|
_TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTime).TotalSeconds;
|
||||||
MesEntity = DefaultMesEntity(dateTime);
|
_MesEntity = DefaultMesEntity(dateTime);
|
||||||
ReportFullPath = reportFullPath;
|
_ReportFullPath = reportFullPath;
|
||||||
ProcessJobID = "R##";
|
_ProcessJobID = "R##";
|
||||||
MID = "null";
|
_MID = "null";
|
||||||
Tags = new List<string>();
|
_Logistics1 = new string[] { string.Concat("LOGISTICS_1", '\t', "A_JOBID=", JobID, ";A_MES_ENTITY=", MesEntity, ";") }.ToList();
|
||||||
Logistics1 = new string[] { string.Concat("LOGISTICS_1", '\t', "A_JOBID=", JobID, ";A_MES_ENTITY=", MesEntity, ";") }.ToList();
|
_Logistics2 = new List<Logistics2>();
|
||||||
Logistics2 = new List<Logistics2>();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
string logistics1Line1 = Logistics1[0];
|
string logistics1Line1 = Logistics1[0];
|
||||||
key = "NULL_DATA=";
|
key = "NULL_DATA=";
|
||||||
if (!logistics1Line1.Contains(key))
|
if (!logistics1Line1.Contains(key))
|
||||||
NullData = null;
|
_NullData = null;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
NullData = segments[1].Split(';')[0];
|
_NullData = segments[1].Split(';')[0];
|
||||||
}
|
}
|
||||||
key = "JOBID=";
|
key = "JOBID=";
|
||||||
if (!logistics1Line1.Contains(key))
|
if (!logistics1Line1.Contains(key))
|
||||||
JobID = "null";
|
_JobID = "null";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
JobID = segments[1].Split(';')[0];
|
_JobID = segments[1].Split(';')[0];
|
||||||
}
|
}
|
||||||
key = "SEQUENCE=";
|
key = "SEQUENCE=";
|
||||||
if (!logistics1Line1.Contains(key))
|
if (!logistics1Line1.Contains(key))
|
||||||
dateTime = new FileInfo(reportFullPath).LastWriteTime;
|
dateTime = _FileInfo.LastWriteTime;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
if (!long.TryParse(segments[1].Split(';')[0].Split('.')[0], out long sequence) || sequence < new DateTime(1999, 1, 1).Ticks)
|
if (!long.TryParse(segments[1].Split(';')[0].Split('.')[0], out long sequence) || sequence < new DateTime(1999, 1, 1).Ticks)
|
||||||
dateTime = new FileInfo(reportFullPath).LastWriteTime;
|
dateTime = _FileInfo.LastWriteTime;
|
||||||
else
|
else
|
||||||
dateTime = new DateTime(sequence);
|
dateTime = new DateTime(sequence);
|
||||||
}
|
}
|
||||||
Sequence = dateTime.Ticks;
|
_Sequence = dateTime.Ticks;
|
||||||
DateTimeFromSequence = dateTime;
|
_DateTimeFromSequence = dateTime;
|
||||||
TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTime).TotalSeconds;
|
_TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTime).TotalSeconds;
|
||||||
DateTime lastWriteTime = new FileInfo(reportFullPath).LastWriteTime;
|
DateTime lastWriteTime = _FileInfo.LastWriteTime;
|
||||||
if (TotalSecondsSinceLastWriteTimeFromSequence > 600)
|
if (TotalSecondsSinceLastWriteTimeFromSequence > 600)
|
||||||
{
|
{
|
||||||
if (lastWriteTime != dateTime)
|
if (lastWriteTime != dateTime)
|
||||||
@ -138,33 +149,32 @@ public class Logistics : ILogistics
|
|||||||
}
|
}
|
||||||
key = "MES_ENTITY=";
|
key = "MES_ENTITY=";
|
||||||
if (!logistics1Line1.Contains(key))
|
if (!logistics1Line1.Contains(key))
|
||||||
MesEntity = DefaultMesEntity(dateTime);
|
_MesEntity = DefaultMesEntity(dateTime);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
MesEntity = segments[1].Split(';')[0];
|
_MesEntity = segments[1].Split(';')[0];
|
||||||
}
|
}
|
||||||
ReportFullPath = reportFullPath;
|
_ReportFullPath = reportFullPath;
|
||||||
key = "PROCESS_JOBID=";
|
key = "PROCESS_JOBID=";
|
||||||
if (!logistics1Line1.Contains(key))
|
if (!logistics1Line1.Contains(key))
|
||||||
ProcessJobID = "R##";
|
_ProcessJobID = "R##";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
ProcessJobID = segments[1].Split(';')[0];
|
_ProcessJobID = segments[1].Split(';')[0];
|
||||||
}
|
}
|
||||||
key = "MID=";
|
key = "MID=";
|
||||||
if (!logistics1Line1.Contains(key))
|
if (!logistics1Line1.Contains(key))
|
||||||
MID = "null";
|
_MID = "null";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
segments = logistics1Line1.Split(new string[] { key }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
MID = segments[1].Split(';')[0];
|
_MID = segments[1].Split(';')[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Logistics2 logistics2;
|
Logistics2 logistics2;
|
||||||
Tags = new List<string>();
|
_Logistics2 = new List<Logistics2>();
|
||||||
Logistics2 = new List<Logistics2>();
|
|
||||||
for (int i = 1; i < Logistics1.Count; i++)
|
for (int i = 1; i < Logistics1.Count; i++)
|
||||||
{
|
{
|
||||||
if (Logistics1[i].StartsWith("LOGISTICS_2"))
|
if (Logistics1[i].StartsWith("LOGISTICS_2"))
|
||||||
@ -180,29 +190,12 @@ public class Logistics : ILogistics
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Logistics ShallowCopy() => (Logistics)MemberwiseClone();
|
|
||||||
|
|
||||||
private static string DefaultMesEntity(DateTime dateTime) => string.Concat(dateTime.Ticks, "_MES_ENTITY");
|
private static string DefaultMesEntity(DateTime dateTime) => string.Concat(dateTime.Ticks, "_MES_ENTITY");
|
||||||
|
|
||||||
internal string GetLotViaMostCommonMethod() => MID.Substring(0, MID.Length - 2);
|
internal void Update(string mid, string processJobID)
|
||||||
|
|
||||||
internal string GetPocketNumberViaMostCommonMethod() => MID.Substring(MID.Length - 2);
|
|
||||||
|
|
||||||
internal void Update(string dateTime, string processJobID, string mid)
|
|
||||||
{
|
{
|
||||||
if (!DateTime.TryParse(dateTime, out DateTime dateTimeCasted))
|
_MID = mid;
|
||||||
dateTimeCasted = DateTime.Now;
|
_ProcessJobID = processJobID;
|
||||||
NullData = null;
|
|
||||||
//JobID = Description.GetCellName();
|
|
||||||
Sequence = dateTimeCasted.Ticks;
|
|
||||||
DateTimeFromSequence = dateTimeCasted;
|
|
||||||
TotalSecondsSinceLastWriteTimeFromSequence = (DateTime.Now - dateTimeCasted).TotalSeconds;
|
|
||||||
//MesEntity = DefaultMesEntity(dateTime);
|
|
||||||
//ReportFullPath = string.Empty;
|
|
||||||
ProcessJobID = processJobID;
|
|
||||||
MID = mid;
|
|
||||||
Tags = new List<string>();
|
|
||||||
Logistics1 = new string[] { string.Concat("LOGISTICS_1", '\t', "A_JOBID=", JobID, ";A_MES_ENTITY=", MesEntity, ";") }.ToList();
|
|
||||||
Logistics2 = new List<Logistics2>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -12,8 +12,6 @@ namespace Adaptation.Shared;
|
|||||||
public class ProcessDataStandardFormat
|
public class ProcessDataStandardFormat
|
||||||
{
|
{
|
||||||
|
|
||||||
public const string RecordStart = "RECORD_START";
|
|
||||||
|
|
||||||
public enum SearchFor
|
public enum SearchFor
|
||||||
{
|
{
|
||||||
EquipmentIntegration = 1,
|
EquipmentIntegration = 1,
|
||||||
|
@ -7,6 +7,7 @@ public interface IFileRead
|
|||||||
string MesEntity { get; }
|
string MesEntity { get; }
|
||||||
bool IsEAFHosted { get; }
|
bool IsEAFHosted { get; }
|
||||||
string EventName { get; }
|
string EventName { get; }
|
||||||
|
bool IsDuplicator { get; }
|
||||||
string EquipmentType { get; }
|
string EquipmentType { get; }
|
||||||
string ReportFullPath { get; }
|
string ReportFullPath { get; }
|
||||||
string CellInstanceName { get; }
|
string CellInstanceName { get; }
|
||||||
|
@ -1,22 +1,23 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
namespace Adaptation.Shared.Properties;
|
namespace Adaptation.Shared.Properties;
|
||||||
|
|
||||||
public interface ILogistics
|
public interface ILogistics
|
||||||
{
|
{
|
||||||
|
|
||||||
public object NullData { get; }
|
|
||||||
public string JobID { get; } //CellName
|
|
||||||
public long Sequence { get; } //Ticks
|
|
||||||
public DateTime DateTimeFromSequence { get; }
|
public DateTime DateTimeFromSequence { get; }
|
||||||
|
public FileInfo FileInfo { get; }
|
||||||
|
public string JobID { get; }
|
||||||
|
public List<string> Logistics1 { get; }
|
||||||
|
public List<Logistics2> Logistics2 { get; }
|
||||||
|
public string MID { get; }
|
||||||
|
public string MesEntity { get; }
|
||||||
|
public object NullData { get; }
|
||||||
|
public string ProcessJobID { get; }
|
||||||
|
public string ReportFullPath { get; }
|
||||||
|
public long Sequence { get; }
|
||||||
public double TotalSecondsSinceLastWriteTimeFromSequence { get; }
|
public double TotalSecondsSinceLastWriteTimeFromSequence { get; }
|
||||||
public string MesEntity { get; } //SPC
|
|
||||||
public string ReportFullPath { get; } //Extract file
|
|
||||||
public string ProcessJobID { get; set; } //Reactor (duplicate but I want it in the logistics)
|
|
||||||
public string MID { get; set; } //Lot & Pocket || Lot
|
|
||||||
public List<string> Tags { get; set; }
|
|
||||||
public List<string> Logistics1 { get; set; }
|
|
||||||
public List<Logistics2> Logistics2 { get; set; }
|
|
||||||
|
|
||||||
}
|
}
|
@ -15,15 +15,16 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static BIORAD4 EAFLoggingUnitTesting { get; private set; }
|
internal static BIORAD4 EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public BIORAD4() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public BIORAD4() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public BIORAD4(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public BIORAD4(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__txt()
|
public void Staging__v2_36_3__BIORAD4__txt()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__Stratus()
|
public void Staging__v2_36_3__BIORAD4__Stratus()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__QS408M()
|
public void Staging__v2_36_3__BIORAD4__QS408M()
|
||||||
{
|
{
|
||||||
|
@ -15,15 +15,16 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static BIORAD5 EAFLoggingUnitTesting { get; private set; }
|
internal static BIORAD5 EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public BIORAD5() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public BIORAD5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public BIORAD5(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public BIORAD5(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD5__txt()
|
public void Staging__v2_36_3__BIORAD5__txt()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD5__Stratus()
|
public void Staging__v2_36_3__BIORAD5__Stratus()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD5__QS408M()
|
public void Staging__v2_36_3__BIORAD5__QS408M()
|
||||||
{
|
{
|
||||||
|
@ -15,15 +15,16 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static MET08THFTIRSTRATUS EAFLoggingUnitTesting { get; private set; }
|
internal static MET08THFTIRSTRATUS EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public MET08THFTIRSTRATUS() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public MET08THFTIRSTRATUS() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public MET08THFTIRSTRATUS(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public MET08THFTIRSTRATUS(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__()
|
||||||
{
|
{
|
||||||
@ -77,6 +87,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___()
|
||||||
{
|
{
|
||||||
@ -87,6 +100,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____()
|
||||||
{
|
{
|
||||||
@ -97,6 +113,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____()
|
||||||
{
|
{
|
||||||
@ -107,6 +126,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______()
|
||||||
{
|
{
|
||||||
@ -117,6 +139,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______()
|
||||||
{
|
{
|
||||||
@ -127,6 +152,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________()
|
||||||
{
|
{
|
||||||
|
@ -15,15 +15,16 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static BIORAD4 EAFLoggingUnitTesting { get; private set; }
|
internal static BIORAD4 EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public BIORAD4() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public BIORAD4() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public BIORAD4(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public BIORAD4(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__txt()
|
public void Staging__v2_39_0__BIORAD4__txt()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__Stratus()
|
public void Staging__v2_39_0__BIORAD4__Stratus()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__QS408M()
|
public void Staging__v2_39_0__BIORAD4__QS408M()
|
||||||
{
|
{
|
||||||
|
@ -15,15 +15,16 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static BIORAD5 EAFLoggingUnitTesting { get; private set; }
|
internal static BIORAD5 EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public BIORAD5() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public BIORAD5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public BIORAD5(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public BIORAD5(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__txt()
|
public void Staging__v2_39_0__BIORAD5__txt()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__Stratus()
|
public void Staging__v2_39_0__BIORAD5__Stratus()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__QS408M()
|
public void Staging__v2_39_0__BIORAD5__QS408M()
|
||||||
{
|
{
|
||||||
|
@ -15,15 +15,16 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static MET08THFTIRSTRATUS EAFLoggingUnitTesting { get; private set; }
|
internal static MET08THFTIRSTRATUS EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public MET08THFTIRSTRATUS() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public MET08THFTIRSTRATUS() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public MET08THFTIRSTRATUS(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public MET08THFTIRSTRATUS(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__()
|
||||||
{
|
{
|
||||||
@ -77,6 +87,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___()
|
||||||
{
|
{
|
||||||
@ -87,6 +100,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____()
|
||||||
{
|
{
|
||||||
@ -97,6 +113,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____()
|
||||||
{
|
{
|
||||||
@ -107,6 +126,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______()
|
||||||
{
|
{
|
||||||
@ -117,6 +139,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______()
|
||||||
{
|
{
|
||||||
@ -127,6 +152,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________()
|
||||||
{
|
{
|
||||||
|
@ -15,15 +15,16 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static BIORAD4 EAFLoggingUnitTesting { get; private set; }
|
internal static BIORAD4 EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public BIORAD4() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public BIORAD4() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public BIORAD4(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public BIORAD4(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__txt()
|
public void Staging__v2_43_0__BIORAD4__txt()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__Stratus()
|
public void Staging__v2_43_0__BIORAD4__Stratus()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class BIORAD4 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__QS408M()
|
public void Staging__v2_43_0__BIORAD4__QS408M()
|
||||||
{
|
{
|
||||||
|
@ -15,15 +15,16 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static BIORAD5 EAFLoggingUnitTesting { get; private set; }
|
internal static BIORAD5 EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public BIORAD5() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public BIORAD5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public BIORAD5(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public BIORAD5(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__txt()
|
public void Staging__v2_43_0__BIORAD5__txt()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__Stratus()
|
public void Staging__v2_43_0__BIORAD5__Stratus()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class BIORAD5 : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__QS408M()
|
public void Staging__v2_43_0__BIORAD5__QS408M()
|
||||||
{
|
{
|
||||||
|
@ -15,15 +15,16 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
#pragma warning disable CA2254
|
#pragma warning disable CA2254
|
||||||
#pragma warning disable IDE0060
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static string DummyRoot { get; private set; }
|
||||||
internal static MET08THFTIRSTRATUS EAFLoggingUnitTesting { get; private set; }
|
internal static MET08THFTIRSTRATUS EAFLoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
public MET08THFTIRSTRATUS() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
public MET08THFTIRSTRATUS() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
if (EAFLoggingUnitTesting is null)
|
if (EAFLoggingUnitTesting is null)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
public MET08THFTIRSTRATUS(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
public MET08THFTIRSTRATUS(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Dispose();
|
EAFLoggingUnitTesting.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__MoveMatchingFiles()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__MoveMatchingFiles()
|
||||||
{
|
{
|
||||||
@ -57,6 +61,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer()
|
||||||
{
|
{
|
||||||
@ -67,6 +74,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__IQSSi()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__IQSSi()
|
||||||
{
|
{
|
||||||
@ -77,6 +87,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsight()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsight()
|
||||||
{
|
{
|
||||||
@ -87,6 +100,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments()
|
||||||
{
|
{
|
||||||
@ -97,6 +113,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__APC()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__APC()
|
||||||
{
|
{
|
||||||
@ -107,6 +126,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__SPaCe()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__SPaCe()
|
||||||
{
|
{
|
||||||
@ -117,6 +139,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Processed()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Processed()
|
||||||
{
|
{
|
||||||
@ -127,6 +152,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Archive()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Archive()
|
||||||
{
|
{
|
||||||
@ -137,6 +165,9 @@ public class MET08THFTIRSTRATUS : EAFLoggingUnitTesting
|
|||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Dummy()
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Dummy()
|
||||||
{
|
{
|
||||||
|
@ -23,9 +23,15 @@ public class BIORAD4
|
|||||||
_BIORAD4 = CreateSelfDescription.Staging.v2_36_3.BIORAD4.EAFLoggingUnitTesting;
|
_BIORAD4 = CreateSelfDescription.Staging.v2_36_3.BIORAD4.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__txt() => _BIORAD4.Staging__v2_36_3__BIORAD4__txt();
|
public void Staging__v2_36_3__BIORAD4__txt() => _BIORAD4.Staging__v2_36_3__BIORAD4__txt();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__txt637730081979221342__Normal()
|
public void Staging__v2_36_3__BIORAD4__txt637730081979221342__Normal()
|
||||||
{
|
{
|
||||||
@ -41,6 +47,9 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__txt637746296480404920__Failure()
|
public void Staging__v2_36_3__BIORAD4__txt637746296480404920__Failure()
|
||||||
{
|
{
|
||||||
@ -56,9 +65,15 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__Stratus() => _BIORAD4.Staging__v2_36_3__BIORAD4__Stratus();
|
public void Staging__v2_36_3__BIORAD4__Stratus() => _BIORAD4.Staging__v2_36_3__BIORAD4__Stratus();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__Stratus637730081979221342__RDS()
|
public void Staging__v2_36_3__BIORAD4__Stratus637730081979221342__RDS()
|
||||||
{
|
{
|
||||||
@ -71,6 +86,9 @@ public class BIORAD4
|
|||||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__Stratus637730081979221342__1TRDS()
|
public void Staging__v2_36_3__BIORAD4__Stratus637730081979221342__1TRDS()
|
||||||
{
|
{
|
||||||
@ -83,6 +101,9 @@ public class BIORAD4
|
|||||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
|
public void Staging__v2_36_3__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
|
||||||
{
|
{
|
||||||
@ -100,6 +121,9 @@ public class BIORAD4
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD4__QS408M() => _BIORAD4.Staging__v2_36_3__BIORAD4__QS408M();
|
public void Staging__v2_36_3__BIORAD4__QS408M() => _BIORAD4.Staging__v2_36_3__BIORAD4__QS408M();
|
||||||
|
|
||||||
|
@ -23,12 +23,21 @@ public class BIORAD5
|
|||||||
_BIORAD5 = CreateSelfDescription.Staging.v2_36_3.BIORAD5.EAFLoggingUnitTesting;
|
_BIORAD5 = CreateSelfDescription.Staging.v2_36_3.BIORAD5.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD5__txt() => _BIORAD5.Staging__v2_36_3__BIORAD5__txt();
|
public void Staging__v2_36_3__BIORAD5__txt() => _BIORAD5.Staging__v2_36_3__BIORAD5__txt();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD5__Stratus() => _BIORAD5.Staging__v2_36_3__BIORAD5__Stratus();
|
public void Staging__v2_36_3__BIORAD5__Stratus() => _BIORAD5.Staging__v2_36_3__BIORAD5__Stratus();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
|
public void Staging__v2_36_3__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
|
||||||
{
|
{
|
||||||
@ -46,6 +55,9 @@ public class BIORAD5
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__BIORAD5__QS408M() => _BIORAD5.Staging__v2_36_3__BIORAD5__QS408M();
|
public void Staging__v2_36_3__BIORAD5__QS408M() => _BIORAD5.Staging__v2_36_3__BIORAD5__QS408M();
|
||||||
|
|
||||||
|
@ -21,15 +21,27 @@ public class MET08THFTIRSTRATUS
|
|||||||
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_36_3.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
|
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_36_3.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__637745411457972777__First()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__637745411457972777__First()
|
||||||
{
|
{
|
||||||
@ -45,9 +57,15 @@ public class MET08THFTIRSTRATUS
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___637745411457972777__First()
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___637745411457972777__First()
|
||||||
{
|
{
|
||||||
@ -63,18 +81,33 @@ public class MET08THFTIRSTRATUS
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________();
|
public void Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________() => _MET08THFTIRSTRATUS.Staging__v2_36_3__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________();
|
||||||
|
|
||||||
|
@ -23,9 +23,15 @@ public class BIORAD4
|
|||||||
_BIORAD4 = CreateSelfDescription.Staging.v2_39_0.BIORAD4.EAFLoggingUnitTesting;
|
_BIORAD4 = CreateSelfDescription.Staging.v2_39_0.BIORAD4.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__txt() => _BIORAD4.Staging__v2_39_0__BIORAD4__txt();
|
public void Staging__v2_39_0__BIORAD4__txt() => _BIORAD4.Staging__v2_39_0__BIORAD4__txt();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__txt637730081979221342__Normal()
|
public void Staging__v2_39_0__BIORAD4__txt637730081979221342__Normal()
|
||||||
{
|
{
|
||||||
@ -41,6 +47,9 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__txt637818036815840307__ProcessFailed()
|
public void Staging__v2_39_0__BIORAD4__txt637818036815840307__ProcessFailed()
|
||||||
{
|
{
|
||||||
@ -53,6 +62,9 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__txt637746296480404920__Failure()
|
public void Staging__v2_39_0__BIORAD4__txt637746296480404920__Failure()
|
||||||
{
|
{
|
||||||
@ -65,9 +77,15 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_39_0__BIORAD4__Stratus();
|
public void Staging__v2_39_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_39_0__BIORAD4__Stratus();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__Stratus637730081979221342__RDS()
|
public void Staging__v2_39_0__BIORAD4__Stratus637730081979221342__RDS()
|
||||||
{
|
{
|
||||||
@ -80,6 +98,9 @@ public class BIORAD4
|
|||||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__Stratus637730081979221342__1TRDS()
|
public void Staging__v2_39_0__BIORAD4__Stratus637730081979221342__1TRDS()
|
||||||
{
|
{
|
||||||
@ -92,6 +113,9 @@ public class BIORAD4
|
|||||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
|
public void Staging__v2_39_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
|
||||||
{
|
{
|
||||||
@ -109,6 +133,9 @@ public class BIORAD4
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__Stratus637818036815840307__ProcessFailed()
|
public void Staging__v2_39_0__BIORAD4__Stratus637818036815840307__ProcessFailed()
|
||||||
{
|
{
|
||||||
@ -121,6 +148,9 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_39_0__BIORAD4__QS408M();
|
public void Staging__v2_39_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_39_0__BIORAD4__QS408M();
|
||||||
|
|
||||||
|
@ -23,9 +23,15 @@ public class BIORAD5
|
|||||||
_BIORAD5 = CreateSelfDescription.Staging.v2_39_0.BIORAD5.EAFLoggingUnitTesting;
|
_BIORAD5 = CreateSelfDescription.Staging.v2_39_0.BIORAD5.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__txt() => _BIORAD5.Staging__v2_39_0__BIORAD5__txt();
|
public void Staging__v2_39_0__BIORAD5__txt() => _BIORAD5.Staging__v2_39_0__BIORAD5__txt();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__txt637805172599370243__Why()
|
public void Staging__v2_39_0__BIORAD5__txt637805172599370243__Why()
|
||||||
{
|
{
|
||||||
@ -43,9 +49,15 @@ public class BIORAD5
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_39_0__BIORAD5__Stratus();
|
public void Staging__v2_39_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_39_0__BIORAD5__Stratus();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
|
public void Staging__v2_39_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
|
||||||
{
|
{
|
||||||
@ -63,6 +75,9 @@ public class BIORAD5
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__Stratus637805172599370243__Why()
|
public void Staging__v2_39_0__BIORAD5__Stratus637805172599370243__Why()
|
||||||
{
|
{
|
||||||
@ -80,6 +95,9 @@ public class BIORAD5
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_39_0__BIORAD5__QS408M();
|
public void Staging__v2_39_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_39_0__BIORAD5__QS408M();
|
||||||
|
|
||||||
|
@ -21,15 +21,27 @@ public class MET08THFTIRSTRATUS
|
|||||||
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_39_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
|
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_39_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__637745411457972777__First()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS__637745411457972777__First()
|
||||||
{
|
{
|
||||||
@ -45,9 +57,15 @@ public class MET08THFTIRSTRATUS
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___637745411457972777__First()
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___637745411457972777__First()
|
||||||
{
|
{
|
||||||
@ -63,18 +81,33 @@ public class MET08THFTIRSTRATUS
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS____();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_____();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS______();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS_______();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________();
|
public void Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________() => _MET08THFTIRSTRATUS.Staging__v2_39_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS________();
|
||||||
|
|
||||||
|
@ -23,9 +23,15 @@ public class BIORAD4
|
|||||||
_BIORAD4 = CreateSelfDescription.Staging.v2_43_0.BIORAD4.EAFLoggingUnitTesting;
|
_BIORAD4 = CreateSelfDescription.Staging.v2_43_0.BIORAD4.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__txt() => _BIORAD4.Staging__v2_43_0__BIORAD4__txt();
|
public void Staging__v2_43_0__BIORAD4__txt() => _BIORAD4.Staging__v2_43_0__BIORAD4__txt();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__txt637730081979221342__Normal()
|
public void Staging__v2_43_0__BIORAD4__txt637730081979221342__Normal()
|
||||||
{
|
{
|
||||||
@ -41,6 +47,9 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__txt637818036815840307__ProcessFailed()
|
public void Staging__v2_43_0__BIORAD4__txt637818036815840307__ProcessFailed()
|
||||||
{
|
{
|
||||||
@ -53,6 +62,9 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__txt637746296480404920__Failure()
|
public void Staging__v2_43_0__BIORAD4__txt637746296480404920__Failure()
|
||||||
{
|
{
|
||||||
@ -65,9 +77,15 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_43_0__BIORAD4__Stratus();
|
public void Staging__v2_43_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_43_0__BIORAD4__Stratus();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__Stratus637730081979221342__RDS()
|
public void Staging__v2_43_0__BIORAD4__Stratus637730081979221342__RDS()
|
||||||
{
|
{
|
||||||
@ -80,6 +98,9 @@ public class BIORAD4
|
|||||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__Stratus637730081979221342__1TRDS()
|
public void Staging__v2_43_0__BIORAD4__Stratus637730081979221342__1TRDS()
|
||||||
{
|
{
|
||||||
@ -92,6 +113,9 @@ public class BIORAD4
|
|||||||
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
|
public void Staging__v2_43_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
|
||||||
{
|
{
|
||||||
@ -109,6 +133,9 @@ public class BIORAD4
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__Stratus637818036815840307__ProcessFailed()
|
public void Staging__v2_43_0__BIORAD4__Stratus637818036815840307__ProcessFailed()
|
||||||
{
|
{
|
||||||
@ -121,6 +148,9 @@ public class BIORAD4
|
|||||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_43_0__BIORAD4__QS408M();
|
public void Staging__v2_43_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_43_0__BIORAD4__QS408M();
|
||||||
|
|
||||||
|
@ -23,9 +23,15 @@ public class BIORAD5
|
|||||||
_BIORAD5 = CreateSelfDescription.Staging.v2_43_0.BIORAD5.EAFLoggingUnitTesting;
|
_BIORAD5 = CreateSelfDescription.Staging.v2_43_0.BIORAD5.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__txt() => _BIORAD5.Staging__v2_43_0__BIORAD5__txt();
|
public void Staging__v2_43_0__BIORAD5__txt() => _BIORAD5.Staging__v2_43_0__BIORAD5__txt();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__txt637805172599370243__Why()
|
public void Staging__v2_43_0__BIORAD5__txt637805172599370243__Why()
|
||||||
{
|
{
|
||||||
@ -43,9 +49,15 @@ public class BIORAD5
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_43_0__BIORAD5__Stratus();
|
public void Staging__v2_43_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_43_0__BIORAD5__Stratus();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
|
public void Staging__v2_43_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
|
||||||
{
|
{
|
||||||
@ -63,6 +75,9 @@ public class BIORAD5
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__Stratus637805172599370243__Why()
|
public void Staging__v2_43_0__BIORAD5__Stratus637805172599370243__Why()
|
||||||
{
|
{
|
||||||
@ -80,6 +95,9 @@ public class BIORAD5
|
|||||||
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_43_0__BIORAD5__QS408M();
|
public void Staging__v2_43_0__BIORAD5__QS408M() => _BIORAD5.Staging__v2_43_0__BIORAD5__QS408M();
|
||||||
|
|
||||||
|
@ -18,33 +18,63 @@ public class MET08THFTIRSTRATUS
|
|||||||
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_43_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
|
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_43_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__MoveMatchingFiles();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__MoveMatchingFiles();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__IQSSi();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__IQSSi();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsight();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsight();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__APC();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__APC();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__SPaCe();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__SPaCe();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Processed();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Processed();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Archive();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Archive();
|
||||||
|
|
||||||
|
#if true
|
||||||
|
[Ignore]
|
||||||
|
#endif
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Dummy();
|
public void Staging__v2_43_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_43_0__MET08THFTIRSTRATUS__Dummy();
|
||||||
|
|
||||||
|
@ -26,10 +26,13 @@ namespace Adaptation._Tests.Shared;
|
|||||||
public class AdaptationTesting : ISMTP
|
public class AdaptationTesting : ISMTP
|
||||||
{
|
{
|
||||||
|
|
||||||
|
protected readonly string _DummyRoot;
|
||||||
protected readonly string _Environment;
|
protected readonly string _Environment;
|
||||||
protected readonly string _HostNameAndPort;
|
protected readonly string _HostNameAndPort;
|
||||||
|
protected readonly bool _HasWaitForProperty;
|
||||||
protected readonly TestContext _TestContext;
|
protected readonly TestContext _TestContext;
|
||||||
protected readonly bool _SkipEquipmentDictionary;
|
protected readonly bool _SkipEquipmentDictionary;
|
||||||
|
protected readonly string _TestContextPropertiesAsJson;
|
||||||
protected readonly Dictionary<string, CellInstanceVersion> _CellInstanceVersions;
|
protected readonly Dictionary<string, CellInstanceVersion> _CellInstanceVersions;
|
||||||
protected readonly Dictionary<string, EquipmentTypeVersion> _EquipmentTypeVersions;
|
protected readonly Dictionary<string, EquipmentTypeVersion> _EquipmentTypeVersions;
|
||||||
protected readonly Dictionary<string, string> _ParameterizedModelObjectDefinitionTypes;
|
protected readonly Dictionary<string, string> _ParameterizedModelObjectDefinitionTypes;
|
||||||
@ -38,10 +41,13 @@ public class AdaptationTesting : ISMTP
|
|||||||
protected readonly Dictionary<string, IList<ModelObjectParameterDefinition>> _ModelObjectParameters;
|
protected readonly Dictionary<string, IList<ModelObjectParameterDefinition>> _ModelObjectParameters;
|
||||||
protected readonly Dictionary<string, List<Tuple<string, string>>> _EquipmentDictionaryEventDescriptions;
|
protected readonly Dictionary<string, List<Tuple<string, string>>> _EquipmentDictionaryEventDescriptions;
|
||||||
|
|
||||||
|
public string DummyRoot => _DummyRoot;
|
||||||
public string Environment => _Environment;
|
public string Environment => _Environment;
|
||||||
public TestContext TestContext => _TestContext;
|
public TestContext TestContext => _TestContext;
|
||||||
public string HostNameAndPort => _HostNameAndPort;
|
public string HostNameAndPort => _HostNameAndPort;
|
||||||
|
public bool HasWaitForProperty => _HasWaitForProperty;
|
||||||
public bool SkipEquipmentDictionary => _SkipEquipmentDictionary;
|
public bool SkipEquipmentDictionary => _SkipEquipmentDictionary;
|
||||||
|
public string TestContextPropertiesAsJson => _TestContextPropertiesAsJson;
|
||||||
public Dictionary<string, CellInstanceVersion> CellInstanceVersions => _CellInstanceVersions;
|
public Dictionary<string, CellInstanceVersion> CellInstanceVersions => _CellInstanceVersions;
|
||||||
public Dictionary<string, EquipmentTypeVersion> EquipmentTypeVersions => _EquipmentTypeVersions;
|
public Dictionary<string, EquipmentTypeVersion> EquipmentTypeVersions => _EquipmentTypeVersions;
|
||||||
public Dictionary<string, IList<ModelObjectParameterDefinition>> ModelObjectParameters => _ModelObjectParameters;
|
public Dictionary<string, IList<ModelObjectParameterDefinition>> ModelObjectParameters => _ModelObjectParameters;
|
||||||
@ -56,17 +62,22 @@ public class AdaptationTesting : ISMTP
|
|||||||
|
|
||||||
void ISMTP.SendNormalPriorityEmailMessage(string subject, string body) => throw new NotImplementedException();
|
void ISMTP.SendNormalPriorityEmailMessage(string subject, string body) => throw new NotImplementedException();
|
||||||
|
|
||||||
public AdaptationTesting(TestContext testContext, bool skipEquipmentDictionary)
|
public AdaptationTesting(string dummyRoot, TestContext testContext, bool skipEquipmentDictionary, string testContextPropertiesAsJson, bool hasWaitForProperty)
|
||||||
{
|
{
|
||||||
|
|
||||||
string environment = GetEnvironment(testContext);
|
string environment = GetEnvironment(testContext);
|
||||||
string hostNameAndPort = GetHostNameAndPort(environment);
|
string hostNameAndPort = GetHostNameAndPort(environment);
|
||||||
|
_DummyRoot = dummyRoot;
|
||||||
_TestContext = testContext;
|
_TestContext = testContext;
|
||||||
_Environment = environment;
|
_Environment = environment;
|
||||||
_HostNameAndPort = hostNameAndPort;
|
_HostNameAndPort = hostNameAndPort;
|
||||||
|
_HasWaitForProperty = hasWaitForProperty;
|
||||||
_SkipEquipmentDictionary = skipEquipmentDictionary;
|
_SkipEquipmentDictionary = skipEquipmentDictionary;
|
||||||
|
_TestContextPropertiesAsJson = testContextPropertiesAsJson;
|
||||||
_CellInstanceVersions = new Dictionary<string, CellInstanceVersion>();
|
_CellInstanceVersions = new Dictionary<string, CellInstanceVersion>();
|
||||||
_EquipmentTypeVersions = new Dictionary<string, EquipmentTypeVersion>();
|
_EquipmentTypeVersions = new Dictionary<string, EquipmentTypeVersion>();
|
||||||
|
_EquipmentTypeVersions = new Dictionary<string, EquipmentTypeVersion>();
|
||||||
|
_ParameterizedModelObjectDefinitionTypes = new Dictionary<string, string>();
|
||||||
_ParameterizedModelObjectDefinitionTypes = new Dictionary<string, string>();
|
_ParameterizedModelObjectDefinitionTypes = new Dictionary<string, string>();
|
||||||
_EquipmentDictionaryVersions = new Dictionary<string, EquipmentDictionaryVersion>();
|
_EquipmentDictionaryVersions = new Dictionary<string, EquipmentDictionaryVersion>();
|
||||||
_FileConnectorConfigurations = new Dictionary<string, FileConnectorConfiguration>();
|
_FileConnectorConfigurations = new Dictionary<string, FileConnectorConfiguration>();
|
||||||
@ -94,13 +105,17 @@ public class AdaptationTesting : ISMTP
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected string GetTestResultsDirectory()
|
public static string GetTestResultsDirectory(string testContextTestResultsDirectory, bool hasWaitForProperty)
|
||||||
{
|
{
|
||||||
string result = string.Empty;
|
string result = string.Empty;
|
||||||
string testResults = "05_TestResults";
|
string testResults = "05_TestResults";
|
||||||
string checkDirectory = _TestContext.TestResultsDirectory;
|
string checkDirectory = testContextTestResultsDirectory;
|
||||||
if (string.IsNullOrEmpty(checkDirectory) || !checkDirectory.Contains(testResults))
|
if (hasWaitForProperty && (string.IsNullOrEmpty(checkDirectory) || !checkDirectory.Contains(testResults)))
|
||||||
throw new Exception();
|
throw new Exception($"A:{checkDirectory}; B:{testResults};");
|
||||||
|
else if (!hasWaitForProperty && (string.IsNullOrEmpty(checkDirectory) || !checkDirectory.Contains(testResults)))
|
||||||
|
result = testContextTestResultsDirectory;
|
||||||
|
else
|
||||||
|
{
|
||||||
string rootDirectory = Path.GetPathRoot(checkDirectory);
|
string rootDirectory = Path.GetPathRoot(checkDirectory);
|
||||||
for (int i = 0; i < int.MaxValue; i++)
|
for (int i = 0; i < int.MaxValue; i++)
|
||||||
{
|
{
|
||||||
@ -113,11 +128,18 @@ public class AdaptationTesting : ISMTP
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (string.IsNullOrEmpty(result))
|
if (string.IsNullOrEmpty(result))
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private string GetTestResultsDirectory(bool hasWaitForProperty)
|
||||||
|
{
|
||||||
|
string result = GetTestResultsDirectory(_TestContext.TestResultsDirectory, hasWaitForProperty);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
protected static string GetCellInstanceConnectionName(string cellInstanceConnectionName)
|
protected static string GetCellInstanceConnectionName(string cellInstanceConnectionName)
|
||||||
{
|
{
|
||||||
string result;
|
string result;
|
||||||
@ -170,28 +192,29 @@ public class AdaptationTesting : ISMTP
|
|||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal string[] GetSegments(string methodBaseName)
|
public static MethodBaseName GetMethodBaseName(string dummyRoot, string environment, bool hasWaitForProperty, string methodBaseName, string testResultsDirectory)
|
||||||
{
|
{
|
||||||
List<string> results;
|
MethodBaseName result;
|
||||||
string fileFullName;
|
|
||||||
string comment;
|
string comment;
|
||||||
string[] textFiles;
|
string fileFullName;
|
||||||
|
string dummyDirectory;
|
||||||
|
string withActualCICN;
|
||||||
string separator = "__";
|
string separator = "__";
|
||||||
|
string textFileDirectory;
|
||||||
string connectionNameAndTicks;
|
string connectionNameAndTicks;
|
||||||
string cellInstanceConnectionName;
|
string cellInstanceConnectionName;
|
||||||
string ticks = DateTime.Now.Ticks.ToString();
|
string ticks = DateTime.Now.Ticks.ToString();
|
||||||
string cellInstanceConnectionNameFromMethodBaseName;
|
string cellInstanceConnectionNameFromMethodBaseName;
|
||||||
string testResultsDirectory = GetTestResultsDirectory();
|
|
||||||
string[] segments = methodBaseName.Split(new string[] { separator }, StringSplitOptions.None);
|
string[] segments = methodBaseName.Split(new string[] { separator }, StringSplitOptions.None);
|
||||||
if (segments[0] != _Environment)
|
if (segments[0] != environment)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
string rawVersionName = segments[1];
|
string rawVersionName = segments[1];
|
||||||
string rawCellInstanceName = segments[2];
|
string rawCellInstanceName = segments[2];
|
||||||
string cellInstanceVersionName = segments[1].Replace('_', '.');
|
string cellInstanceVersionName = segments[1].Replace('_', '.');
|
||||||
string cellInstanceName = segments[2].Replace('_', '-').Replace("_EQPT", "-EQPT");
|
string cellInstanceName = segments[2].Replace('_', '-').Replace("_EQPT", "-EQPT");
|
||||||
string before = string.Concat(_Environment, separator, rawVersionName, separator, cellInstanceName, separator);
|
string before = string.Concat(environment, separator, rawVersionName, separator, cellInstanceName, separator);
|
||||||
string after = methodBaseName.Substring(before.Length);
|
string after = methodBaseName.Substring(before.Length);
|
||||||
string versionDirectory = Path.Combine(testResultsDirectory, _Environment, cellInstanceName, cellInstanceVersionName);
|
string versionDirectory = Path.Combine(testResultsDirectory, environment, cellInstanceName, cellInstanceVersionName);
|
||||||
if (!Directory.Exists(versionDirectory))
|
if (!Directory.Exists(versionDirectory))
|
||||||
_ = Directory.CreateDirectory(versionDirectory);
|
_ = Directory.CreateDirectory(versionDirectory);
|
||||||
comment = segments[segments.Length - 1];
|
comment = segments[segments.Length - 1];
|
||||||
@ -221,87 +244,76 @@ public class AdaptationTesting : ISMTP
|
|||||||
cellInstanceConnectionNameFromMethodBaseName = after;
|
cellInstanceConnectionNameFromMethodBaseName = after;
|
||||||
}
|
}
|
||||||
cellInstanceConnectionName = GetCellInstanceConnectionName(cellInstanceConnectionNameFromMethodBaseName);
|
cellInstanceConnectionName = GetCellInstanceConnectionName(cellInstanceConnectionNameFromMethodBaseName);
|
||||||
string methodBaseNameWithActualCICN = GetMethodBaseNameWithActualCICN(methodBaseName, rawCellInstanceName, cellInstanceConnectionNameFromMethodBaseName, cellInstanceConnectionName, ticks);
|
withActualCICN = GetMethodBaseNameWithActualCICN(methodBaseName, rawCellInstanceName, cellInstanceConnectionNameFromMethodBaseName, cellInstanceConnectionName, ticks);
|
||||||
|
if (hasWaitForProperty)
|
||||||
|
dummyDirectory = string.Empty;
|
||||||
|
else if (string.IsNullOrEmpty(ticks))
|
||||||
|
dummyDirectory = string.Empty;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(dummyRoot))
|
||||||
|
throw new Exception($"{nameof(dummyRoot)} is empty!");
|
||||||
|
if (!withActualCICN.Contains(ticks))
|
||||||
|
throw new Exception($"{withActualCICN} doesn't contain {ticks}!");
|
||||||
|
segments = withActualCICN.Split(new string[] { ticks }, StringSplitOptions.None);
|
||||||
|
dummyDirectory = Path.Combine(dummyRoot, cellInstanceName, ticks, string.Join(null, segments));
|
||||||
|
if (!Directory.Exists(dummyDirectory))
|
||||||
|
_ = Directory.CreateDirectory(dummyDirectory);
|
||||||
|
}
|
||||||
if (string.IsNullOrEmpty(ticks))
|
if (string.IsNullOrEmpty(ticks))
|
||||||
{
|
{
|
||||||
textFiles = Array.Empty<string>();
|
textFileDirectory = string.Empty;
|
||||||
fileFullName = Path.Combine(versionDirectory, methodBaseNameWithActualCICN, $"{cellInstanceConnectionNameFromMethodBaseName}.json");
|
fileFullName = Path.Combine(versionDirectory, withActualCICN, $"{cellInstanceConnectionNameFromMethodBaseName}.json");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
segments = methodBaseNameWithActualCICN.Split(new string[] { ticks }, StringSplitOptions.None);
|
segments = withActualCICN.Split(new string[] { ticks }, StringSplitOptions.None);
|
||||||
string textDirectory = Path.Combine(versionDirectory, segments[0], string.Concat(ticks, segments[1]));
|
textFileDirectory = Path.Combine(versionDirectory, segments[0], string.Concat(ticks, segments[1]));
|
||||||
fileFullName = Path.Combine(versionDirectory, segments[0], $"{cellInstanceConnectionNameFromMethodBaseName}.json");
|
fileFullName = Path.Combine(versionDirectory, segments[0], $"{cellInstanceConnectionNameFromMethodBaseName}.json");
|
||||||
if (!Directory.Exists(textDirectory))
|
}
|
||||||
|
result = new(after, before, cellInstanceConnectionName, cellInstanceConnectionNameFromMethodBaseName, cellInstanceName, cellInstanceVersionName, comment, dummyDirectory, fileFullName, rawCellInstanceName, rawVersionName, separator, testResultsDirectory, textFileDirectory, ticks, versionDirectory, withActualCICN);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private MethodBaseName GetMethodBaseName(MethodBase methodBase)
|
||||||
{
|
{
|
||||||
textFiles = Array.Empty<string>();
|
MethodBaseName result;
|
||||||
string renameDirectory = Path.Combine(Path.GetDirectoryName(textDirectory), $"_Rename - {Path.GetFileName(textDirectory)}");
|
string testResultsDirectory = GetTestResultsDirectory(_HasWaitForProperty);
|
||||||
|
result = GetMethodBaseName(_DummyRoot, _Environment, _HasWaitForProperty, methodBase.Name, testResultsDirectory);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private string[] GetTextFiles(MethodBaseName mbn)
|
||||||
|
{
|
||||||
|
string[] results;
|
||||||
|
if (string.IsNullOrEmpty(mbn.TextFileDirectory))
|
||||||
|
results = Array.Empty<string>();
|
||||||
|
else if (!Directory.Exists(mbn.TextFileDirectory))
|
||||||
|
{
|
||||||
|
results = Array.Empty<string>();
|
||||||
|
if (!_HasWaitForProperty)
|
||||||
|
_ = Directory.CreateDirectory(mbn.TextFileDirectory);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
string renameDirectory = Path.Combine(Path.GetDirectoryName(mbn.TextFileDirectory), $"_Rename - {Path.GetFileName(mbn.TextFileDirectory)}");
|
||||||
_ = Directory.CreateDirectory(renameDirectory);
|
_ = Directory.CreateDirectory(renameDirectory);
|
||||||
_ = Process.Start("explorer.exe", renameDirectory);
|
_ = Process.Start("explorer.exe", renameDirectory);
|
||||||
File.WriteAllText(Path.Combine(renameDirectory, $"{nameof(FileConnectorConfiguration.SourceFileFilter)}.txt"), string.Empty);
|
File.WriteAllText(Path.Combine(renameDirectory, $"{nameof(FileConnectorConfiguration.SourceFileFilter)}.txt"), string.Empty);
|
||||||
File.WriteAllText(Path.Combine(renameDirectory, $"{nameof(FileConnectorConfiguration.SourceFileLocation)}.txt"), string.Empty);
|
File.WriteAllText(Path.Combine(renameDirectory, $"{nameof(FileConnectorConfiguration.SourceFileLocation)}.txt"), string.Empty);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
textFiles = Directory.GetFiles(textDirectory, "*.txt", SearchOption.TopDirectoryOnly);
|
results = Directory.GetFiles(mbn.TextFileDirectory, "*.txt", SearchOption.TopDirectoryOnly);
|
||||||
if (!textFiles.Any())
|
if (!string.IsNullOrEmpty(mbn.Ticks) && _HasWaitForProperty && !results.Any())
|
||||||
{
|
{
|
||||||
_ = Process.Start("explorer.exe", textDirectory);
|
_ = Process.Start("explorer.exe", mbn.TextFileDirectory);
|
||||||
File.WriteAllText(Path.Combine(textDirectory, "_ Why.why"), string.Empty);
|
File.WriteAllText(Path.Combine(mbn.TextFileDirectory, "_ Why.why"), string.Empty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
results = new List<string>
|
|
||||||
{
|
|
||||||
_Environment,
|
|
||||||
rawCellInstanceName,
|
|
||||||
cellInstanceName,
|
|
||||||
cellInstanceVersionName,
|
|
||||||
cellInstanceConnectionNameFromMethodBaseName,
|
|
||||||
cellInstanceConnectionName,
|
|
||||||
ticks,
|
|
||||||
comment,
|
|
||||||
fileFullName
|
|
||||||
};
|
|
||||||
results.AddRange(textFiles);
|
|
||||||
return results.ToArray();
|
|
||||||
}
|
|
||||||
|
|
||||||
internal string[] GetSegments(MethodBase methodBase)
|
|
||||||
{
|
|
||||||
string[] results = GetSegments(methodBase.Name);
|
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static string GetEnvironment(string[] segments) => segments[0];
|
|
||||||
|
|
||||||
internal static string GetRawCellInstanceName(string[] segments) => segments[1];
|
|
||||||
|
|
||||||
internal static string GetCellInstanceName(string[] segments) => segments[2];
|
|
||||||
|
|
||||||
internal static string GetCellInstanceVersionName(string[] segments) => segments[3];
|
|
||||||
|
|
||||||
internal static string GetCellInstanceConnectionNameFromMethodBaseName(string[] segments) => segments[4];
|
|
||||||
|
|
||||||
internal static string GetCellInstanceConnectionName(string[] segments) => segments[5];
|
|
||||||
|
|
||||||
internal static string GetTicks(string[] segments) => segments[6];
|
|
||||||
|
|
||||||
internal static string GetComment(string[] segments) => segments[7];
|
|
||||||
|
|
||||||
internal static FileInfo GetFileName(string[] segments) => new(segments[8]);
|
|
||||||
|
|
||||||
internal static string[] GetTextFiles(string[] segments)
|
|
||||||
{
|
|
||||||
List<string> results = new();
|
|
||||||
if (segments.Length > 8)
|
|
||||||
{
|
|
||||||
for (int i = 9; i < segments.Length; i++)
|
|
||||||
results.Add(segments[i]);
|
|
||||||
}
|
|
||||||
return results.ToArray();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected static Stream ToStream(string @this)
|
protected static Stream ToStream(string @this)
|
||||||
{
|
{
|
||||||
MemoryStream memoryStream = new();
|
MemoryStream memoryStream = new();
|
||||||
@ -466,6 +478,7 @@ public class AdaptationTesting : ISMTP
|
|||||||
AppendLine("#pragma warning disable CA2254").
|
AppendLine("#pragma warning disable CA2254").
|
||||||
AppendLine("#pragma warning disable IDE0060").
|
AppendLine("#pragma warning disable IDE0060").
|
||||||
AppendLine().
|
AppendLine().
|
||||||
|
AppendLine("internal static string DummyRoot { get; private set; }").
|
||||||
Append("internal static ").Append(cellInstanceNameWithoutHyphen).AppendLine(" EAFLoggingUnitTesting { get; private set; }");
|
Append("internal static ").Append(cellInstanceNameWithoutHyphen).AppendLine(" EAFLoggingUnitTesting { get; private set; }");
|
||||||
else
|
else
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
@ -474,13 +487,15 @@ public class AdaptationTesting : ISMTP
|
|||||||
else if (i == 1)
|
else if (i == 1)
|
||||||
_ = stringBuilder.
|
_ = stringBuilder.
|
||||||
AppendLine().
|
AppendLine().
|
||||||
Append("public ").Append(cellInstanceNameWithoutHyphen).AppendLine("() : base(testContext: null, declaringType: null, skipEquipmentDictionary: false)").
|
Append("static ").Append(cellInstanceNameWithoutHyphen).AppendLine("() => DummyRoot = @\"\\\\messv02ecc1.ec.local\\EC_Characterization_Si\\Dummy\";").
|
||||||
|
AppendLine().
|
||||||
|
Append("public ").Append(cellInstanceNameWithoutHyphen).AppendLine("() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)").
|
||||||
AppendLine("{").
|
AppendLine("{").
|
||||||
AppendLine("if (EAFLoggingUnitTesting is null)").
|
AppendLine("if (EAFLoggingUnitTesting is null)").
|
||||||
AppendLine("throw new Exception();").
|
AppendLine("throw new Exception();").
|
||||||
AppendLine("}").
|
AppendLine("}").
|
||||||
AppendLine().
|
AppendLine().
|
||||||
Append("public ").Append(cellInstanceNameWithoutHyphen).AppendLine("(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)").
|
Append("public ").Append(cellInstanceNameWithoutHyphen).AppendLine("(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)").
|
||||||
AppendLine("{").
|
AppendLine("{").
|
||||||
AppendLine("}").
|
AppendLine("}").
|
||||||
AppendLine();
|
AppendLine();
|
||||||
@ -541,6 +556,9 @@ public class AdaptationTesting : ISMTP
|
|||||||
if (i == 2)
|
if (i == 2)
|
||||||
{
|
{
|
||||||
_ = stringBuilder.
|
_ = stringBuilder.
|
||||||
|
AppendLine("#if true").
|
||||||
|
AppendLine("[Ignore]").
|
||||||
|
AppendLine("#endif").
|
||||||
AppendLine("[TestMethod]").
|
AppendLine("[TestMethod]").
|
||||||
Append("public void ").Append(methodName).Append("() => ").Append('_').Append(cellInstanceNameWithoutHyphen).Append('.').Append(methodName).AppendLine("();").AppendLine();
|
Append("public void ").Append(methodName).Append("() => ").Append('_').Append(cellInstanceNameWithoutHyphen).Append('.').Append(methodName).AppendLine("();").AppendLine();
|
||||||
}
|
}
|
||||||
@ -550,13 +568,16 @@ public class AdaptationTesting : ISMTP
|
|||||||
throw new Exception("Versions should match!");
|
throw new Exception("Versions should match!");
|
||||||
equipmentTypeName = componentsCellComponentCellComponent.Equipment.EquipmentType.Name;
|
equipmentTypeName = componentsCellComponentCellComponent.Equipment.EquipmentType.Name;
|
||||||
_ = stringBuilder.
|
_ = stringBuilder.
|
||||||
|
AppendLine("#if true").
|
||||||
|
AppendLine("[Ignore]").
|
||||||
|
AppendLine("#endif").
|
||||||
AppendLine("[TestMethod]").
|
AppendLine("[TestMethod]").
|
||||||
Append("public void ").Append(methodName).AppendLine("()").
|
Append("public void ").Append(methodName).AppendLine("()").
|
||||||
AppendLine("{").
|
AppendLine("{").
|
||||||
Append("string check = \"").Append(check.Split('\\').Last()).AppendLine("\";").
|
Append("string check = \"").Append(check.Split('\\').Last()).AppendLine("\";").
|
||||||
AppendLine("MethodBase methodBase = new StackFrame().GetMethod();").
|
AppendLine("MethodBase methodBase = new StackFrame().GetMethod();").
|
||||||
AppendLine("EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, \" - Getting configuration\"));").
|
AppendLine("EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, \" - Getting configuration\"));").
|
||||||
AppendLine("_ = Shared.AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);").
|
AppendLine("_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);").
|
||||||
AppendLine("EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, \" - Exit\"));").
|
AppendLine("EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, \" - Exit\"));").
|
||||||
AppendLine("}").
|
AppendLine("}").
|
||||||
AppendLine();
|
AppendLine();
|
||||||
@ -879,32 +900,26 @@ public class AdaptationTesting : ISMTP
|
|||||||
public string[] GetCSharpText(string testName)
|
public string[] GetCSharpText(string testName)
|
||||||
{
|
{
|
||||||
string[] results;
|
string[] results;
|
||||||
string[] segments = GetSegments(testName);
|
string testResultsDirectory = GetTestResultsDirectory(_HasWaitForProperty);
|
||||||
FileInfo fileInfo = GetFileName(segments);
|
MethodBaseName mbn = GetMethodBaseName(_DummyRoot, _Environment, _HasWaitForProperty, testName, testResultsDirectory);
|
||||||
string cellInstanceName = GetCellInstanceName(segments);
|
FileInfo fileInfo = new(mbn.FileFullName);
|
||||||
string cellInstanceVersionName = GetCellInstanceVersionName(segments);
|
if (!string.IsNullOrEmpty(mbn.CellInstanceConnectionName) && !Directory.Exists(fileInfo.DirectoryName))
|
||||||
string cellInstanceConnectionName = GetCellInstanceConnectionName(segments);
|
|
||||||
if (!string.IsNullOrEmpty(cellInstanceConnectionName) && !Directory.Exists(fileInfo.DirectoryName))
|
|
||||||
_ = Directory.CreateDirectory(fileInfo.Directory.FullName);
|
_ = Directory.CreateDirectory(fileInfo.Directory.FullName);
|
||||||
Tuple<string, CellInstanceVersion> cellInstanceVersionTuple = GetCellInstanceVersionTuple(cellInstanceName, cellInstanceVersionName);
|
Tuple<string, CellInstanceVersion> cellInstanceVersionTuple = GetCellInstanceVersionTuple(mbn.CellInstanceName, mbn.CellInstanceVersionName);
|
||||||
results = GetCSharpTextB(fileInfo, cellInstanceName, cellInstanceVersionName, cellInstanceVersionTuple.Item2);
|
results = GetCSharpTextB(fileInfo, mbn.CellInstanceName, mbn.CellInstanceVersionName, cellInstanceVersionTuple.Item2);
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string[] GetConfiguration(MethodBase methodBase)
|
public string[] GetConfiguration(MethodBase methodBase)
|
||||||
{
|
{
|
||||||
string[] results;
|
string[] results;
|
||||||
string[] segments = GetSegments(methodBase.Name);
|
MethodBaseName mbn = GetMethodBaseName(methodBase);
|
||||||
string ticks = GetTicks(segments);
|
FileInfo fileInfo = new(mbn.FileFullName);
|
||||||
FileInfo fileInfo = GetFileName(segments);
|
if (!string.IsNullOrEmpty(mbn.CellInstanceConnectionName) && !Directory.Exists(fileInfo.DirectoryName))
|
||||||
string cellInstanceName = GetCellInstanceName(segments);
|
|
||||||
string cellInstanceVersionName = GetCellInstanceVersionName(segments);
|
|
||||||
string cellInstanceConnectionName = GetCellInstanceConnectionName(segments);
|
|
||||||
if (!string.IsNullOrEmpty(cellInstanceConnectionName) && !Directory.Exists(fileInfo.DirectoryName))
|
|
||||||
_ = Directory.CreateDirectory(fileInfo.Directory.FullName);
|
_ = Directory.CreateDirectory(fileInfo.Directory.FullName);
|
||||||
Tuple<string, CellInstanceVersion> cellInstanceVersionTuple = GetCellInstanceVersionTuple(cellInstanceName, cellInstanceVersionName);
|
Tuple<string, CellInstanceVersion> cellInstanceVersionTuple = GetCellInstanceVersionTuple(mbn.CellInstanceName, mbn.CellInstanceVersionName);
|
||||||
Tuple<string, FileConnectorConfiguration> fileConnectorConfigurationTuple = GetFileConnectorConfigurationTuple(cellInstanceVersionTuple, cellInstanceConnectionName);
|
Tuple<string, FileConnectorConfiguration> fileConnectorConfigurationTuple = GetFileConnectorConfigurationTuple(cellInstanceVersionTuple, mbn.CellInstanceConnectionName);
|
||||||
if (string.IsNullOrEmpty(ticks) && fileConnectorConfigurationTuple.Item2?.FileScanningIntervalInSeconds is not null)
|
if (string.IsNullOrEmpty(mbn.Ticks) && fileConnectorConfigurationTuple.Item2?.FileScanningIntervalInSeconds is not null)
|
||||||
{
|
{
|
||||||
string fileScanningIntervalInSecondsLine;
|
string fileScanningIntervalInSecondsLine;
|
||||||
string versionDirectory = Path.GetDirectoryName(fileInfo.DirectoryName);
|
string versionDirectory = Path.GetDirectoryName(fileInfo.DirectoryName);
|
||||||
@ -914,12 +929,12 @@ public class AdaptationTesting : ISMTP
|
|||||||
fileScanningIntervalInSecondsLine = $"+\t{fileConnectorConfigurationTuple.Item2.FileScanningIntervalInSeconds.Value:+0000}\t{Path.GetFileName(fileInfo.DirectoryName)}";
|
fileScanningIntervalInSecondsLine = $"+\t{fileConnectorConfigurationTuple.Item2.FileScanningIntervalInSeconds.Value:+0000}\t{Path.GetFileName(fileInfo.DirectoryName)}";
|
||||||
File.AppendAllLines(Path.Combine(versionDirectory, "FileScanningIntervalInSeconds.txt"), new string[] { fileScanningIntervalInSecondsLine });
|
File.AppendAllLines(Path.Combine(versionDirectory, "FileScanningIntervalInSeconds.txt"), new string[] { fileScanningIntervalInSecondsLine });
|
||||||
}
|
}
|
||||||
Tuple<string, string, string, EquipmentTypeVersion> equipmentTypeVersionTuple = GetEquipmentTypeVersionTuple(cellInstanceVersionTuple.Item2, cellInstanceConnectionName);
|
Tuple<string, string, string, EquipmentTypeVersion> equipmentTypeVersionTuple = GetEquipmentTypeVersionTuple(cellInstanceVersionTuple.Item2, mbn.CellInstanceConnectionName);
|
||||||
Tuple<string, string> parameterizedModelObjectDefinitionTypeTuple = GetParameterizedModelObjectDefinitionTypeTuple(equipmentTypeVersionTuple);
|
Tuple<string, string> parameterizedModelObjectDefinitionTypeTuple = GetParameterizedModelObjectDefinitionTypeTuple(equipmentTypeVersionTuple);
|
||||||
Tuple<string, IList<ModelObjectParameterDefinition>> modelObjectParametersTuple = GetModelObjectParameters(equipmentTypeVersionTuple);
|
Tuple<string, IList<ModelObjectParameterDefinition>> modelObjectParametersTuple = GetModelObjectParameters(equipmentTypeVersionTuple);
|
||||||
Tuple<string, string, string, EquipmentDictionaryVersion> equipmentDictionaryVersionTuple = GetEquipmentDictionaryVersionTuple(cellInstanceVersionTuple.Item2, cellInstanceConnectionName, equipmentTypeVersionTuple.Item4);
|
Tuple<string, string, string, EquipmentDictionaryVersion> equipmentDictionaryVersionTuple = GetEquipmentDictionaryVersionTuple(cellInstanceVersionTuple.Item2, mbn.CellInstanceConnectionName, equipmentTypeVersionTuple.Item4);
|
||||||
Tuple<string, List<Tuple<string, string>>> equipmentDictionaryIsAlwaysEnabledEventsTuple = GetEquipmentDictionaryIsAlwaysEnabledEventsTuple(equipmentDictionaryVersionTuple);
|
Tuple<string, List<Tuple<string, string>>> equipmentDictionaryIsAlwaysEnabledEventsTuple = GetEquipmentDictionaryIsAlwaysEnabledEventsTuple(equipmentDictionaryVersionTuple);
|
||||||
Dictionary<string, object> objects = GetKeyValuePairs(cellInstanceName, cellInstanceVersionName, cellInstanceConnectionName, fileConnectorConfigurationTuple.Item2, equipmentTypeVersionTuple.Item2, parameterizedModelObjectDefinitionTypeTuple.Item2, modelObjectParametersTuple.Item2, equipmentDictionaryVersionTuple.Item2, equipmentDictionaryIsAlwaysEnabledEventsTuple.Item2);
|
Dictionary<string, object> objects = GetKeyValuePairs(mbn.CellInstanceName, mbn.CellInstanceVersionName, mbn.CellInstanceConnectionName, fileConnectorConfigurationTuple.Item2, equipmentTypeVersionTuple.Item2, parameterizedModelObjectDefinitionTypeTuple.Item2, modelObjectParametersTuple.Item2, equipmentDictionaryVersionTuple.Item2, equipmentDictionaryIsAlwaysEnabledEventsTuple.Item2);
|
||||||
string json = JsonSerializer.Serialize(objects, new JsonSerializerOptions { WriteIndented = true });
|
string json = JsonSerializer.Serialize(objects, new JsonSerializerOptions { WriteIndented = true });
|
||||||
results = new string[] { fileInfo.FullName, json };
|
results = new string[] { fileInfo.FullName, json };
|
||||||
return results;
|
return results;
|
||||||
@ -928,22 +943,19 @@ public class AdaptationTesting : ISMTP
|
|||||||
public IFileRead Get(MethodBase methodBase, string sourceFileLocation, string sourceFileFilter, bool useCyclicalForDescription)
|
public IFileRead Get(MethodBase methodBase, string sourceFileLocation, string sourceFileFilter, bool useCyclicalForDescription)
|
||||||
{
|
{
|
||||||
IFileRead result;
|
IFileRead result;
|
||||||
string[] segments = GetSegments(methodBase.Name);
|
MethodBaseName mbn = GetMethodBaseName(methodBase);
|
||||||
FileInfo fileInfo = GetFileName(segments);
|
FileInfo fileInfo = new(mbn.FileFullName);
|
||||||
string cellInstanceName = GetCellInstanceName(segments);
|
|
||||||
string cellInstanceVersionName = GetCellInstanceVersionName(segments);
|
|
||||||
Dictionary<string, string> fileParameter = new();
|
Dictionary<string, string> fileParameter = new();
|
||||||
string cellInstanceConnectionName = GetCellInstanceConnectionName(segments);
|
if (!string.IsNullOrEmpty(mbn.CellInstanceConnectionName) && !Directory.Exists(fileInfo.DirectoryName))
|
||||||
if (!string.IsNullOrEmpty(cellInstanceConnectionName) && !Directory.Exists(fileInfo.DirectoryName))
|
|
||||||
_ = Directory.CreateDirectory(fileInfo.Directory.FullName);
|
_ = Directory.CreateDirectory(fileInfo.Directory.FullName);
|
||||||
Dictionary<string, List<long>> dummyRuns = new();
|
Dictionary<string, List<long>> dummyRuns = new();
|
||||||
Dictionary<long, List<string>> staticRuns = new();
|
Dictionary<long, List<string>> staticRuns = new();
|
||||||
Tuple<string, CellInstanceVersion> cellInstanceVersionTuple = GetCellInstanceVersionTuple(cellInstanceName, cellInstanceVersionName);
|
Tuple<string, CellInstanceVersion> cellInstanceVersionTuple = GetCellInstanceVersionTuple(mbn.CellInstanceName, mbn.CellInstanceVersionName);
|
||||||
Tuple<string, FileConnectorConfiguration> fileConnectorConfigurationTuple = GetFileConnectorConfigurationTuple(cellInstanceVersionTuple, cellInstanceConnectionName);
|
Tuple<string, FileConnectorConfiguration> fileConnectorConfigurationTuple = GetFileConnectorConfigurationTuple(cellInstanceVersionTuple, mbn.CellInstanceConnectionName);
|
||||||
Tuple<string, string, string, EquipmentTypeVersion> equipmentTypeVersionTuple = GetEquipmentTypeVersionTuple(cellInstanceVersionTuple.Item2, cellInstanceConnectionName);
|
Tuple<string, string, string, EquipmentTypeVersion> equipmentTypeVersionTuple = GetEquipmentTypeVersionTuple(cellInstanceVersionTuple.Item2, mbn.CellInstanceConnectionName);
|
||||||
Tuple<string, string> parameterizedModelObjectDefinitionTypeTuple = GetParameterizedModelObjectDefinitionTypeTuple(equipmentTypeVersionTuple);
|
Tuple<string, string> parameterizedModelObjectDefinitionTypeTuple = GetParameterizedModelObjectDefinitionTypeTuple(equipmentTypeVersionTuple);
|
||||||
Tuple<string, IList<ModelObjectParameterDefinition>> modelObjectParametersTuple = GetModelObjectParameters(equipmentTypeVersionTuple);
|
Tuple<string, IList<ModelObjectParameterDefinition>> modelObjectParametersTuple = GetModelObjectParameters(equipmentTypeVersionTuple);
|
||||||
Tuple<string, string, string, EquipmentDictionaryVersion> equipmentDictionaryVersionTuple = GetEquipmentDictionaryVersionTuple(cellInstanceVersionTuple.Item2, cellInstanceConnectionName, equipmentTypeVersionTuple.Item4);
|
Tuple<string, string, string, EquipmentDictionaryVersion> equipmentDictionaryVersionTuple = GetEquipmentDictionaryVersionTuple(cellInstanceVersionTuple.Item2, mbn.CellInstanceConnectionName, equipmentTypeVersionTuple.Item4);
|
||||||
_ = GetEquipmentDictionaryIsAlwaysEnabledEventsTuple(equipmentDictionaryVersionTuple);
|
_ = GetEquipmentDictionaryIsAlwaysEnabledEventsTuple(equipmentDictionaryVersionTuple);
|
||||||
if (!string.IsNullOrEmpty(sourceFileLocation) && sourceFileLocation != fileConnectorConfigurationTuple.Item2.SourceFileLocation)
|
if (!string.IsNullOrEmpty(sourceFileLocation) && sourceFileLocation != fileConnectorConfigurationTuple.Item2.SourceFileLocation)
|
||||||
fileConnectorConfigurationTuple.Item2.SourceFileLocation = sourceFileLocation;
|
fileConnectorConfigurationTuple.Item2.SourceFileLocation = sourceFileLocation;
|
||||||
@ -975,33 +987,29 @@ public class AdaptationTesting : ISMTP
|
|||||||
_ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.AlternateTargetFolder);
|
_ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.AlternateTargetFolder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
result = FileHandlers.CellInstanceConnectionName.Get(this, fileParameter, cellInstanceName, cellInstanceConnectionName, fileConnectorConfigurationTuple.Item2, equipmentTypeVersionTuple.Item2, parameterizedModelObjectDefinitionTypeTuple.Item2, modelObjectParametersTuple.Item2, equipmentDictionaryVersionTuple.Item2, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: false);
|
result = FileHandlers.CellInstanceConnectionName.Get(this, fileParameter, mbn.CellInstanceName, mbn.CellInstanceConnectionName, fileConnectorConfigurationTuple.Item2, equipmentTypeVersionTuple.Item2, parameterizedModelObjectDefinitionTypeTuple.Item2, modelObjectParametersTuple.Item2, equipmentDictionaryVersionTuple.Item2, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: false);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string[] GetVariables(MethodBase methodBase, string check)
|
public string[] GetVariables(MethodBase methodBase, string check, bool validatePDSF = true)
|
||||||
{
|
{
|
||||||
string[] results;
|
string[] results;
|
||||||
string[] lines;
|
string[] lines;
|
||||||
string ipdsfFile;
|
string ipdsfFile;
|
||||||
string textFileDirectory;
|
string[] segments;
|
||||||
string fileNameWithoutExtension;
|
string fileNameWithoutExtension;
|
||||||
string searchPattern = "*.ipdsf";
|
string searchPattern = "*.ipdsf";
|
||||||
|
string methodBaseNameWithActualCICN;
|
||||||
string sourceFileFilter = string.Empty;
|
string sourceFileFilter = string.Empty;
|
||||||
string sourceFileLocation = string.Empty;
|
string sourceFileLocation = string.Empty;
|
||||||
string[] segments = GetSegments(methodBase);
|
MethodBaseName mbn = GetMethodBaseName(methodBase);
|
||||||
string ticks = GetTicks(segments);
|
string[] textFiles = GetTextFiles(mbn);
|
||||||
FileInfo fileInfo = GetFileName(segments);
|
|
||||||
string[] textFiles = GetTextFiles(segments);
|
|
||||||
string cellInstanceName = GetCellInstanceName(segments);
|
|
||||||
string rawCellInstanceName = GetRawCellInstanceName(segments);
|
|
||||||
string cellInstanceConnectionName = GetCellInstanceConnectionName(segments);
|
|
||||||
string cellInstanceConnectionNameFromMethodBaseName = GetCellInstanceConnectionNameFromMethodBaseName(segments);
|
|
||||||
string methodBaseNameWithActualCICN = GetMethodBaseNameWithActualCICN(methodBase.Name, rawCellInstanceName, cellInstanceConnectionNameFromMethodBaseName, cellInstanceConnectionName, ticks);
|
|
||||||
if (!textFiles.Any())
|
if (!textFiles.Any())
|
||||||
textFileDirectory = string.Empty;
|
{
|
||||||
else
|
if (_HasWaitForProperty)
|
||||||
textFileDirectory = Path.GetDirectoryName(textFiles[0]);
|
throw new Exception("Set text file!");
|
||||||
|
sourceFileLocation = mbn.DummyDirectory;
|
||||||
|
}
|
||||||
foreach (string textFile in textFiles)
|
foreach (string textFile in textFiles)
|
||||||
{
|
{
|
||||||
lines = File.ReadAllLines(textFile);
|
lines = File.ReadAllLines(textFile);
|
||||||
@ -1012,18 +1020,20 @@ public class AdaptationTesting : ISMTP
|
|||||||
sourceFileFilter = lines[0];
|
sourceFileFilter = lines[0];
|
||||||
else if (fileNameWithoutExtension == nameof(FileConnectorConfiguration.SourceFileLocation))
|
else if (fileNameWithoutExtension == nameof(FileConnectorConfiguration.SourceFileLocation))
|
||||||
{
|
{
|
||||||
segments = lines[0].Split(new string[] { ticks }, StringSplitOptions.None);
|
methodBaseNameWithActualCICN = GetMethodBaseNameWithActualCICN(methodBase.Name, mbn.RawCellInstanceName, mbn.CellInstanceConnectionNameFromMethodBaseName, mbn.CellInstanceConnectionName, mbn.Ticks);
|
||||||
|
segments = lines[0].Split(new string[] { mbn.Ticks }, StringSplitOptions.None);
|
||||||
if (segments.Length > 2)
|
if (segments.Length > 2)
|
||||||
throw new Exception("Ticks should only appear once in source file location!");
|
throw new Exception("Ticks should only appear once in source file location!");
|
||||||
if (segments.Length != 2)
|
if (segments.Length != 2)
|
||||||
throw new Exception("Ticks missing from source file location!");
|
throw new Exception("Ticks missing from source file location!");
|
||||||
if (segments[1].Contains(ticks))
|
if (segments[1].Contains(mbn.Ticks))
|
||||||
throw new Exception("From source file location path should not contain ticks!");
|
throw new Exception("From source file location path should not contain ticks!");
|
||||||
if (!segments[1].EndsWith(methodBaseNameWithActualCICN.Replace(ticks, string.Empty)))
|
if (!segments[1].EndsWith(methodBaseNameWithActualCICN.Replace(mbn.Ticks, string.Empty)))
|
||||||
throw new Exception("Method name missing from source file location!");
|
throw new Exception("Method name missing from source file location!");
|
||||||
sourceFileLocation = lines[0];
|
sourceFileLocation = lines[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
FileInfo fileInfo = new(mbn.FileFullName);
|
||||||
if (!Directory.Exists(fileInfo.Directory.FullName))
|
if (!Directory.Exists(fileInfo.Directory.FullName))
|
||||||
_ = Directory.CreateDirectory(fileInfo.Directory.FullName);
|
_ = Directory.CreateDirectory(fileInfo.Directory.FullName);
|
||||||
if (!fileInfo.Exists)
|
if (!fileInfo.Exists)
|
||||||
@ -1044,6 +1054,10 @@ public class AdaptationTesting : ISMTP
|
|||||||
fileConnectorConfiguration.SourceFileFilter = sourceFileFilter;
|
fileConnectorConfiguration.SourceFileFilter = sourceFileFilter;
|
||||||
if (!string.IsNullOrEmpty(sourceFileLocation))
|
if (!string.IsNullOrEmpty(sourceFileLocation))
|
||||||
fileConnectorConfiguration.SourceFileLocation = sourceFileLocation;
|
fileConnectorConfiguration.SourceFileLocation = sourceFileLocation;
|
||||||
|
if (!validatePDSF)
|
||||||
|
ipdsfFile = string.Empty;
|
||||||
|
else
|
||||||
|
{
|
||||||
if (string.IsNullOrEmpty(sourceFileLocation))
|
if (string.IsNullOrEmpty(sourceFileLocation))
|
||||||
ipdsfFile = searchPattern;
|
ipdsfFile = searchPattern;
|
||||||
else
|
else
|
||||||
@ -1062,7 +1076,8 @@ public class AdaptationTesting : ISMTP
|
|||||||
}
|
}
|
||||||
if (ipdsfFile == searchPattern)
|
if (ipdsfFile == searchPattern)
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
results = new string[] { fileInfo.FullName, json, fileConnectorConfiguration.SourceFileLocation, fileConnectorConfiguration.SourceFileFilter, ipdsfFile, textFileDirectory };
|
}
|
||||||
|
results = new string[] { fileInfo.FullName, json, fileConnectorConfiguration.SourceFileLocation, fileConnectorConfiguration.SourceFileFilter, ipdsfFile, mbn.TextFileDirectory };
|
||||||
if (string.IsNullOrEmpty(results[0]))
|
if (string.IsNullOrEmpty(results[0]))
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
if (string.IsNullOrEmpty(results[1]))
|
if (string.IsNullOrEmpty(results[1]))
|
||||||
@ -1071,7 +1086,7 @@ public class AdaptationTesting : ISMTP
|
|||||||
throw new Exception();
|
throw new Exception();
|
||||||
if (string.IsNullOrEmpty(results[3]))
|
if (string.IsNullOrEmpty(results[3]))
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
if (string.IsNullOrEmpty(results[4]))
|
if (validatePDSF && string.IsNullOrEmpty(results[4]))
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
if (string.IsNullOrEmpty(results[5]))
|
if (string.IsNullOrEmpty(results[5]))
|
||||||
throw new Exception();
|
throw new Exception();
|
||||||
@ -1232,13 +1247,16 @@ public class AdaptationTesting : ISMTP
|
|||||||
{
|
{
|
||||||
string result;
|
string result;
|
||||||
Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResult = fileRead.ReExtract();
|
Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResult = fileRead.ReExtract();
|
||||||
|
if (!fileRead.IsDuplicator)
|
||||||
|
{
|
||||||
Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1));
|
Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1));
|
||||||
Assert.IsTrue(extractResult.Item3.Length > 0, "extractResult Array Length check!");
|
Assert.IsNotNull(extractResult.Item3);
|
||||||
Assert.IsNotNull(extractResult.Item4);
|
Assert.IsNotNull(extractResult.Item4);
|
||||||
if (!validatePDSF)
|
if (!validatePDSF)
|
||||||
_ = GetLogisticsColumnsAndBody(fileRead, logistics, extractResult, new(string.Empty, Array.Empty<string>(), Array.Empty<string>()));
|
_ = GetLogisticsColumnsAndBody(fileRead, logistics, extractResult, new(string.Empty, Array.Empty<string>(), Array.Empty<string>()));
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Assert.IsTrue(extractResult.Item3.Length > 0, "extractResult Array Length check!");
|
||||||
Tuple<string, string[], string[]> pdsf = GetLogisticsColumnsAndBody(variables[2], variables[4]);
|
Tuple<string, string[], string[]> pdsf = GetLogisticsColumnsAndBody(variables[2], variables[4]);
|
||||||
Tuple<string, string[], string[]> pdsfNew = GetLogisticsColumnsAndBody(fileRead, logistics, extractResult, pdsf);
|
Tuple<string, string[], string[]> pdsfNew = GetLogisticsColumnsAndBody(fileRead, logistics, extractResult, pdsf);
|
||||||
CompareSave(variables[5], pdsf, pdsfNew);
|
CompareSave(variables[5], pdsf, pdsfNew);
|
||||||
@ -1251,10 +1269,11 @@ public class AdaptationTesting : ISMTP
|
|||||||
Assert.IsTrue(join[0] == join[1], "Item3 (Join) check!");
|
Assert.IsTrue(join[0] == join[1], "Item3 (Join) check!");
|
||||||
}
|
}
|
||||||
UpdatePassDirectory(variables[2]);
|
UpdatePassDirectory(variables[2]);
|
||||||
|
}
|
||||||
result = extractResult.Item1;
|
result = extractResult.Item1;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// namespace Adaptation._Tests.Helpers { public class AdaptationTesting { } }
|
// namespace Adaptation._Tests.Helpers { public class AdaptationTesting { } }
|
||||||
// 2022-05-12 -> AdaptationTesting
|
// 2022-08-05 -> AdaptationTesting
|
@ -10,13 +10,13 @@ public class EAFLoggingUnitTesting : LoggingUnitTesting, IDisposable
|
|||||||
|
|
||||||
public AdaptationTesting AdaptationTesting => _AdaptationTesting;
|
public AdaptationTesting AdaptationTesting => _AdaptationTesting;
|
||||||
|
|
||||||
public EAFLoggingUnitTesting(TestContext testContext, Type declaringType, bool skipEquipmentDictionary) :
|
public EAFLoggingUnitTesting(string dummyRoot, TestContext testContext, Type declaringType, bool skipEquipmentDictionary) :
|
||||||
base(testContext, declaringType)
|
base(testContext, declaringType)
|
||||||
{
|
{
|
||||||
if (testContext is null || declaringType is null)
|
if (testContext is null || declaringType is null)
|
||||||
_AdaptationTesting = null;
|
_AdaptationTesting = null;
|
||||||
else
|
else
|
||||||
_AdaptationTesting = new AdaptationTesting(testContext, skipEquipmentDictionary);
|
_AdaptationTesting = new AdaptationTesting(dummyRoot, testContext, skipEquipmentDictionary, _TestContextPropertiesAsJson, _HasWaitForProperty);
|
||||||
}
|
}
|
||||||
|
|
||||||
public new void Dispose()
|
public new void Dispose()
|
||||||
|
45
Adaptation/_Tests/Shared/MethodBaseName.cs
Normal file
45
Adaptation/_Tests/Shared/MethodBaseName.cs
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
namespace Adaptation._Tests.Shared;
|
||||||
|
|
||||||
|
public class MethodBaseName
|
||||||
|
{
|
||||||
|
|
||||||
|
public string After { get; private set; }
|
||||||
|
public string Before { get; private set; }
|
||||||
|
public string CellInstanceConnectionName { get; private set; }
|
||||||
|
public string CellInstanceConnectionNameFromMethodBaseName { get; private set; }
|
||||||
|
public string CellInstanceName { get; private set; }
|
||||||
|
public string CellInstanceVersionName { get; private set; }
|
||||||
|
public string Comment { get; private set; }
|
||||||
|
public string DummyDirectory { get; private set; }
|
||||||
|
public string FileFullName { get; private set; }
|
||||||
|
public string RawCellInstanceName { get; private set; }
|
||||||
|
public string RawVersionName { get; private set; }
|
||||||
|
public string Separator { get; private set; }
|
||||||
|
public string TestResultsDirectory { get; private set; }
|
||||||
|
public string TextFileDirectory { get; private set; }
|
||||||
|
public string Ticks { get; private set; }
|
||||||
|
public string VersionDirectory { get; private set; }
|
||||||
|
public string WithActualCICN { get; private set; }
|
||||||
|
|
||||||
|
public MethodBaseName(string after, string before, string cellInstanceConnectionName, string cellInstanceConnectionNameFromMethodBaseName, string cellInstanceName, string cellInstanceVersionName, string comment, string dummyDirectory, string fileFullName, string rawCellInstanceName, string rawVersionName, string separator, string testResultsDirectory, string textFileDirectory, string ticks, string versionDirectory, string withActualCICN)
|
||||||
|
{
|
||||||
|
After = after;
|
||||||
|
Before = before;
|
||||||
|
CellInstanceConnectionName = cellInstanceConnectionName;
|
||||||
|
CellInstanceConnectionNameFromMethodBaseName = cellInstanceConnectionNameFromMethodBaseName;
|
||||||
|
CellInstanceName = cellInstanceName;
|
||||||
|
CellInstanceVersionName = cellInstanceVersionName;
|
||||||
|
Comment = comment;
|
||||||
|
DummyDirectory = dummyDirectory;
|
||||||
|
FileFullName = fileFullName;
|
||||||
|
RawCellInstanceName = rawCellInstanceName;
|
||||||
|
RawVersionName = rawVersionName;
|
||||||
|
Separator = separator;
|
||||||
|
TestResultsDirectory = testResultsDirectory;
|
||||||
|
TextFileDirectory = textFileDirectory;
|
||||||
|
Ticks = ticks;
|
||||||
|
VersionDirectory = versionDirectory;
|
||||||
|
WithActualCICN = withActualCICN;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -13,9 +13,13 @@ namespace Adaptation._Tests.Shared;
|
|||||||
public class UnitTesting
|
public class UnitTesting
|
||||||
{
|
{
|
||||||
|
|
||||||
|
protected readonly bool _HasWaitForProperty;
|
||||||
protected readonly IsEnvironment _IsEnvironment;
|
protected readonly IsEnvironment _IsEnvironment;
|
||||||
|
protected readonly string _TestContextPropertiesAsJson;
|
||||||
|
|
||||||
public IsEnvironment IsEnvironment => _IsEnvironment;
|
public IsEnvironment IsEnvironment => _IsEnvironment;
|
||||||
|
public bool HasWaitForProperty => _HasWaitForProperty;
|
||||||
|
public string TestContextPropertiesAsJson => _TestContextPropertiesAsJson;
|
||||||
|
|
||||||
public UnitTesting(TestContext testContext, Type declaringType)
|
public UnitTesting(TestContext testContext, Type declaringType)
|
||||||
{
|
{
|
||||||
@ -23,19 +27,24 @@ public class UnitTesting
|
|||||||
_IsEnvironment = null;
|
_IsEnvironment = null;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
string waitFor = "\"WaitFor\":";
|
||||||
string projectDirectory = GetProjectDirectory(testContext);
|
string projectDirectory = GetProjectDirectory(testContext);
|
||||||
string json = JsonSerializer.Serialize(testContext.Properties);
|
_TestContextPropertiesAsJson = JsonSerializer.Serialize(testContext.Properties, new JsonSerializerOptions { WriteIndented = true });
|
||||||
|
_HasWaitForProperty = _TestContextPropertiesAsJson.Contains(waitFor);
|
||||||
string vsCodeDirectory = Path.Combine(projectDirectory, ".vscode");
|
string vsCodeDirectory = Path.Combine(projectDirectory, ".vscode");
|
||||||
if (!Directory.Exists(vsCodeDirectory))
|
if (!Directory.Exists(vsCodeDirectory))
|
||||||
_ = Directory.CreateDirectory(vsCodeDirectory);
|
_ = Directory.CreateDirectory(vsCodeDirectory);
|
||||||
string launchText = GetLaunchText();
|
string launchText = GetLaunchText();
|
||||||
File.WriteAllText(Path.Combine(vsCodeDirectory, "launch.json"), launchText);
|
File.WriteAllText(Path.Combine(vsCodeDirectory, "launch.json"), launchText);
|
||||||
|
if (_HasWaitForProperty)
|
||||||
|
{
|
||||||
for (int i = 0; i < int.MaxValue; i++)
|
for (int i = 0; i < int.MaxValue; i++)
|
||||||
{
|
{
|
||||||
if (!json.Contains("Debugger.IsAttached") || Debugger.IsAttached)
|
if (!_TestContextPropertiesAsJson.Contains($"{waitFor} \"Debugger.IsAttached\"") || Debugger.IsAttached)
|
||||||
break;
|
break;
|
||||||
Thread.Sleep(500);
|
Thread.Sleep(500);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
MethodBase methodBase = declaringType.GetMethod(testContext.TestName);
|
MethodBase methodBase = declaringType.GetMethod(testContext.TestName);
|
||||||
if (methodBase is not null)
|
if (methodBase is not null)
|
||||||
{
|
{
|
||||||
|
77
Adaptation/_Tests/Static/Stratus.cs
Normal file
77
Adaptation/_Tests/Static/Stratus.cs
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
using Adaptation._Tests.Shared;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
namespace Adaptation._Tests.Static;
|
||||||
|
|
||||||
|
[TestClass]
|
||||||
|
public class Stratus : LoggingUnitTesting, IDisposable
|
||||||
|
{
|
||||||
|
|
||||||
|
#pragma warning disable CA2254
|
||||||
|
#pragma warning disable IDE0060
|
||||||
|
|
||||||
|
internal static Stratus LoggingUnitTesting { get; private set; }
|
||||||
|
|
||||||
|
public Stratus() : base(testContext: null, declaringType: null)
|
||||||
|
{
|
||||||
|
if (LoggingUnitTesting is null)
|
||||||
|
throw new Exception();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Stratus(TestContext testContext) : base(testContext, new StackFrame().GetMethod().DeclaringType)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
[ClassInitialize]
|
||||||
|
public static void ClassInitialize(TestContext testContext)
|
||||||
|
{
|
||||||
|
if (LoggingUnitTesting is null)
|
||||||
|
LoggingUnitTesting = new Stratus(testContext);
|
||||||
|
}
|
||||||
|
|
||||||
|
[ClassCleanup()]
|
||||||
|
public static void ClassCleanup()
|
||||||
|
{
|
||||||
|
if (LoggingUnitTesting.Logger is not null)
|
||||||
|
LoggingUnitTesting.Logger.LogInformation("Cleanup");
|
||||||
|
if (LoggingUnitTesting is not null)
|
||||||
|
LoggingUnitTesting.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestMethod]
|
||||||
|
public void TestDescriptor()
|
||||||
|
{
|
||||||
|
FileHandlers.Stratus.Descriptor descriptor;
|
||||||
|
MethodBase methodBase = new StackFrame().GetMethod();
|
||||||
|
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||||
|
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("12-123456-1234");
|
||||||
|
Assert.IsTrue(descriptor.Reactor is "12");
|
||||||
|
Assert.IsTrue(descriptor.RDS is "123456");
|
||||||
|
Assert.IsTrue(descriptor.PSN is "1234");
|
||||||
|
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("123456");
|
||||||
|
Assert.IsTrue(descriptor.Reactor is "00");
|
||||||
|
Assert.IsTrue(descriptor.RDS is "123456");
|
||||||
|
Assert.IsTrue(descriptor.PSN is "0000");
|
||||||
|
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("1T123456");
|
||||||
|
Assert.IsTrue(descriptor.Reactor is "00");
|
||||||
|
Assert.IsTrue(descriptor.RDS is "123456");
|
||||||
|
Assert.IsTrue(descriptor.PSN is "0000");
|
||||||
|
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("MP");
|
||||||
|
Assert.IsTrue(descriptor.Reactor is "00");
|
||||||
|
Assert.IsTrue(descriptor.RDS is "000000");
|
||||||
|
Assert.IsTrue(descriptor.PSN is "0000");
|
||||||
|
Assert.IsTrue(descriptor.Employee is "MP");
|
||||||
|
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("12-123456-1234.2-1");
|
||||||
|
Assert.IsTrue(descriptor.Reactor is "12");
|
||||||
|
Assert.IsTrue(descriptor.RDS is "123456");
|
||||||
|
Assert.IsTrue(descriptor.PSN is "1234");
|
||||||
|
// Assert.IsTrue(descriptor.Layer is "2");
|
||||||
|
// Assert.IsTrue(descriptor.Zone is "1");
|
||||||
|
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,5 +1,21 @@
|
|||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"AA-CreateSelfDescription.Staging.v2_43_4-BIORAD4_EQPT": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4 & ClassName~BIORAD4_EQPT\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"AB-CreateSelfDescription.Staging.v2_43_4-BIORAD5_EQPT": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4 & ClassName~BIORAD5_EQPT\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"BA-CreateSelfDescription.Staging.v2_43_4-BIORAD4": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4 & ClassName~BIORAD4\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"BB-CreateSelfDescription.Staging.v2_43_4-BIORAD5": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4 & ClassName~BIORAD5\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"CA-CreateSelfDescription.Staging.v2_43_4-MET08THFTIRSTRATUS": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4 & ClassName~MET08THFTIRSTRATUS\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"DA-CreateSelfDescription.Staging.v2_43_4": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_4\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"EA-Extract.Staging.v2_43_4-BIORAD4_EQPT-Staging__v2_43_4__BIORAD4_EQPT__DownloadRsMFile637953072332628623__Normal": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD4_EQPT & Name~Staging__v2_43_4__BIORAD4_EQPT__DownloadRsMFile637953072332628623__Normal\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"EB-Extract.Staging.v2_43_4-BIORAD5_EQPT-Staging__v2_43_4__BIORAD5_EQPT__DownloadRsMFile637953072332628623__Normal": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD5_EQPT & Name~Staging__v2_43_4__BIORAD5_EQPT__DownloadRsMFile637953072332628623__Normal\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"FA-Extract.Staging.v2_43_4-BIORAD4-Staging__v2_43_4__BIORAD4__RsM643047560320000000__Normal": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD4 & Name~Staging__v2_43_4__BIORAD4__RsM643047560320000000__Normal\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"FB-Extract.Staging.v2_43_4-BIORAD5-Staging__v2_43_4__BIORAD5__RsM643047560320000000__Normal": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD5 & Name~Staging__v2_43_4__BIORAD5__RsM643047560320000000__Normal\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"GA-Extract.Staging.v2_43_4-MET08THFTIRSTRATUS-Staging__v2_43_4__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___637745411457972777__First": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~MET08THFTIRSTRATUS & Name~Staging__v2_43_4__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___637745411457972777__First\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"HA-Extract.Staging.v2_43_4-BIORAD4-Staging__v2_43_4__BIORAD4__pcl637812984345592512__MinFileLength": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD4 & Name~Staging__v2_43_4__BIORAD4__pcl637812984345592512__MinFileLength\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"IA-Extract.Staging.v2_43_4-BIORAD5-Staging__v2_43_4__BIORAD5__txt637805172599370243__Why": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD5 & Name~Staging__v2_43_4__BIORAD5__txt637805172599370243__Why\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"IB-Extract.Staging.v2_43_4-BIORAD5-Staging__v2_43_4__BIORAD5__Stratus637805172599370243__Why": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD5 & Name~Staging__v2_43_4__BIORAD5__Stratus637805172599370243__Why\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"IC-Extract.Staging.v2_43_4-BIORAD4-Staging__v2_43_4__BIORAD4__txt637818036815840307__ProcessFailed": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD4 & Name~Staging__v2_43_4__BIORAD4__txt637818036815840307__ProcessFailed\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
|
"ID-Extract.Staging.v2_43_4-BIORAD4-Staging__v2_43_4__BIORAD4__Stratus637818036815840307__ProcessFailed": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_4 & ClassName~BIORAD4 & Name~Staging__v2_43_4__BIORAD4__Stratus637818036815840307__ProcessFailed\" -- TestRunParameters.Parameter(name=\\\"WaitFor\\\", value=\\\"Debugger.IsAttached\\\")",
|
||||||
"Alpha": "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
"Alpha": "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||||
"nuget-clear": "dotnet nuget locals all --clear",
|
"nuget-clear": "dotnet nuget locals all --clear",
|
||||||
"build": "dotnet build --runtime win-x64 --self-contained",
|
"build": "dotnet build --runtime win-x64 --self-contained",
|
||||||
@ -9,25 +25,6 @@
|
|||||||
"dotnet-format": "dotnet format --report .vscode --verbosity detailed --severity warn",
|
"dotnet-format": "dotnet format --report .vscode --verbosity detailed --severity warn",
|
||||||
"MSBuild": "\"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe\" /target:Build /restore:True /p:RestoreSources=https://api.nuget.org/v3/index.json%3Bhttps://packagemanagement.eu.infineon.com:4430/api/v2/%3Bhttps://tfs.intra.infineon.com/tfs/ManufacturingIT/_packaging/eaf/nuget/v3/index.json /detailedsummary /consoleloggerparameters:PerformanceSummary;ErrorsOnly; /property:Configuration=Debug;TargetFrameworkVersion=v4.8 ../MET08THFTIRSTRATUS.csproj",
|
"MSBuild": "\"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe\" /target:Build /restore:True /p:RestoreSources=https://api.nuget.org/v3/index.json%3Bhttps://packagemanagement.eu.infineon.com:4430/api/v2/%3Bhttps://tfs.intra.infineon.com/tfs/ManufacturingIT/_packaging/eaf/nuget/v3/index.json /detailedsummary /consoleloggerparameters:PerformanceSummary;ErrorsOnly; /property:Configuration=Debug;TargetFrameworkVersion=v4.8 ../MET08THFTIRSTRATUS.csproj",
|
||||||
"pull": "git pull",
|
"pull": "git pull",
|
||||||
"garbage-collect": "git gc",
|
"garbage-collect": "git gc"
|
||||||
"AA-CreateSelfDescription.Staging.v2_43_0-BIORAD5_EQPT-Staging__v2_43_0__BIORAD5_EQPT__DownloadRsMFile": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0 & ClassName~BIORAD5_EQPT & Name~Staging__v2_43_0__BIORAD5_EQPT__DownloadRsMFile\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"AT-CreateSelfDescription.Staging.v2_43_0-MET08THFTIRSTRATUS": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0 & ClassName~MET08THFTIRSTRATUS\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"AV-CreateSelfDescription.Staging.v2_43_0-BIORAD4_EQPT": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0 & ClassName~BIORAD4_EQPT\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"AW-CreateSelfDescription.Staging.v2_43_0-BIORAD4": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0 & ClassName~BIORAD4\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"AX-CreateSelfDescription.Staging.v2_43_0-BIORAD5_EQPT": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0 & ClassName~BIORAD5_EQPT\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"AY-CreateSelfDescription.Staging.v2_43_0-BIORAD5": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0 & ClassName~BIORAD5\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"AZ-CreateSelfDescription.Staging.v2_43_0": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.CreateSelfDescription.Staging.v2_43_0\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BA-Extract.Staging.v2_43_0-BIORAD5-Staging__v2_43_0__BIORAD5__RsM643047560320000000__Normal": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD5 & Name~Staging__v2_43_0__BIORAD5__RsM643047560320000000__Normal\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BB-Extract.Staging.v2_43_0-MET08THFTIRSTRATUS-Staging__v2_43_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___637745411457972777__First": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~MET08THFTIRSTRATUS & Name~Staging__v2_43_0__MET08THFTIRSTRATUS__MET08THFTIRSTRATUS___637745411457972777__First\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BC-Extract.Staging.v2_43_0-BIORAD5-Staging__v2_43_0__BIORAD5__txt637805172599370243__Why": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD5 & Name~Staging__v2_43_0__BIORAD5__txt637805172599370243__Why\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BD-Extract.Staging.v2_43_0-BIORAD5-Staging__v2_43_0__BIORAD5__Stratus637805172599370243__Why": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD5 & Name~Staging__v2_43_0__BIORAD5__Stratus637805172599370243__Why\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BE-Extract.Staging.v2_43_0-BIORAD4-Staging__v2_43_0__BIORAD4__txt637818036815840307__ProcessFailed": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD4 & Name~Staging__v2_43_0__BIORAD4__txt637818036815840307__ProcessFailed\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BF-Extract.Staging.v2_43_0-BIORAD4-Staging__v2_43_0__BIORAD4__Stratus637818036815840307__ProcessFailed": "dotnet test --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD4 & Name~Staging__v2_43_0__BIORAD4__Stratus637818036815840307__ProcessFailed\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BT-Extract.Staging.v2_43_0-MET08THFTIRSTRATUS": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~MET08THFTIRSTRATUS\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BV-Extract.Staging.v2_43_0-BIORAD4_EQPT": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD4_EQPT\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BW-Extract.Staging.v2_43_0-BIORAD4": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD4\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BX-Extract.Staging.v2_43_0-BIORAD5_EQPT": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD5_EQPT\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BY-Extract.Staging.v2_43_0-BIORAD5": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0 & ClassName~BIORAD5\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")",
|
|
||||||
"BZ-Extract.Staging.v2_43_0": "dotnet test --runtime win-x64 --no-build --filter \"FullyQualifiedName~Adaptation._Tests.Extract.Staging.v2_43_0\" -- TestRunParameters.Parameter(name=\\\"Debug\\\", value=\\\"Debugger.IsAttached\\\")"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -109,6 +109,7 @@
|
|||||||
<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\Description.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Description.cs" />
|
||||||
|
<Compile Include="Adaptation\FileHandlers\Stratus\Descriptor.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Detail.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Detail.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\FileRead.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\FileRead.cs" />
|
||||||
<Compile Include="Adaptation\FileHandlers\Stratus\Point.cs" />
|
<Compile Include="Adaptation\FileHandlers\Stratus\Point.cs" />
|
||||||
@ -120,6 +121,12 @@
|
|||||||
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\Component\FilePathGenerator.cs" />
|
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\Component\FilePathGenerator.cs" />
|
||||||
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\Configuration\FileConnectorConfiguration.cs" />
|
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\Configuration\FileConnectorConfiguration.cs" />
|
||||||
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\SelfDescription\FileConnectorParameterTypeDefinitionProvider.cs" />
|
<Compile Include="Adaptation\Ifx\Eaf\EquipmentConnector\File\SelfDescription\FileConnectorParameterTypeDefinitionProvider.cs" />
|
||||||
|
<Compile Include="Adaptation\Infineon\Monitoring\MonA\ExtWebClient.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Adaptation\Infineon\Monitoring\MonA\IMonIn.cs" />
|
||||||
|
<Compile Include="Adaptation\Infineon\Monitoring\MonA\MonIn.cs" />
|
||||||
|
<Compile Include="Adaptation\Infineon\Monitoring\MonA\State.cs" />
|
||||||
<Compile Include="Adaptation\PeerGroup\GCL\Annotations\NotNullAttribute.cs" />
|
<Compile Include="Adaptation\PeerGroup\GCL\Annotations\NotNullAttribute.cs" />
|
||||||
<Compile Include="Adaptation\PeerGroup\GCL\SecsDriver\HsmsConnectionMode.cs" />
|
<Compile Include="Adaptation\PeerGroup\GCL\SecsDriver\HsmsConnectionMode.cs" />
|
||||||
<Compile Include="Adaptation\PeerGroup\GCL\SecsDriver\HsmsSessionMode.cs" />
|
<Compile Include="Adaptation\PeerGroup\GCL\SecsDriver\HsmsSessionMode.cs" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user