v2.49.2 40 Tests Passed

SRP and nuget server name
Date consistency
This commit is contained in:
Mike Phares 2023-05-31 08:52:43 -07:00
parent 13cac06321
commit de9d12019a
25 changed files with 724 additions and 88 deletions

View File

@ -117,7 +117,9 @@ public class FileRead : Shared.FileRead, IFileRead
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 mid;
if (!string.IsNullOrEmpty(processData.Employee) && string.IsNullOrEmpty(processData.Reactor) && string.IsNullOrEmpty(processData.RDS) && string.IsNullOrEmpty(processData.PSN)) if (!string.IsNullOrEmpty(processData.Lot) && string.IsNullOrEmpty(processData.Reactor) && string.IsNullOrEmpty(processData.RDS) && string.IsNullOrEmpty(processData.PSN))
mid = processData.Lot;
else if (!string.IsNullOrEmpty(processData.Employee) && string.IsNullOrEmpty(processData.Reactor) && string.IsNullOrEmpty(processData.RDS) && string.IsNullOrEmpty(processData.PSN))
mid = processData.Employee; mid = processData.Employee;
else else
{ {

View File

@ -85,12 +85,15 @@ public class ProcessData : IProcessData
_I = 0; _I = 0;
_Data = string.Empty; _Data = string.Empty;
JobID = logistics.JobID; JobID = logistics.JobID;
Date = GetDateTime(logistics);
MesEntity = logistics.MesEntity; MesEntity = logistics.MesEntity;
_Log = LogManager.GetLogger(typeof(ProcessData)); _Log = LogManager.GetLogger(typeof(ProcessData));
Date = DateTime.Now;
Parse(fileRead, logistics, fileInfoCollection, ghostPCLFileName, pdfTextStripperFileName); Parse(fileRead, logistics, fileInfoCollection, ghostPCLFileName, pdfTextStripperFileName);
} }
private static DateTime GetDateTime(Logistics logistics) =>
logistics.DateTimeFromSequence;
string IProcessData.GetCurrentReactor(IFileRead fileRead, Logistics logistics, Dictionary<string, string> reactors) => throw new Exception(string.Concat("See ", nameof(Parse))); string IProcessData.GetCurrentReactor(IFileRead fileRead, Logistics logistics, Dictionary<string, string> reactors) => throw new Exception(string.Concat("See ", nameof(Parse)));
Tuple<string, Test[], JsonElement[], List<FileInfo>> IProcessData.GetResults(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection) Tuple<string, Test[], JsonElement[], List<FileInfo>> IProcessData.GetResults(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection)
@ -293,7 +296,7 @@ public class ProcessData : IProcessData
string defaultLayer = string.Empty; string defaultLayer = string.Empty;
string defaultReactor = string.Empty; string defaultReactor = string.Empty;
string defaultEmployee = string.Empty; string defaultEmployee = string.Empty;
if (Regex.IsMatch(text, @"^[a-zA-z][0-9]{4}$")) if (Regex.IsMatch(text, @"^[a-zA-z][0-9]{2,4}$"))
{ {
lot = text.ToUpper(); lot = text.ToUpper();
psn = defaultPSN; psn = defaultPSN;
@ -456,7 +459,6 @@ public class ProcessData : IProcessData
Plan = GetBefore("G limit :"); Plan = GetBefore("G limit :");
//GLimit = GetBefore("S "); //GLimit = GetBefore("S ");
GLimit = GetBefore("S"); GLimit = GetBefore("S");
Date = DateTime.Now;
ScanPast("Setup File:"); ScanPast("Setup File:");
//SetupFile = GetBefore("O O"); //SetupFile = GetBefore("O O");
SetupFile = GetBefore("O O"); SetupFile = GetBefore("O O");

View File

@ -26,7 +26,7 @@ steps:
displayName: Configuration displayName: Configuration
- script: | - script: |
set nugetSource=https://messa017.infineon.com/v3/index.json set nugetSource=https://eaf-dev-reporting.mes.infineon.com/v3/index.json
echo %nugetSource% echo %nugetSource%
echo ##vso[task.setvariable variable=NugetSource;]%nugetSource% echo ##vso[task.setvariable variable=NugetSource;]%nugetSource%
echo $(NugetSource) echo $(NugetSource)

View File

@ -21,7 +21,7 @@ public enum Test
Denton = 9, Denton = 9,
DiffusionLength = 45, DiffusionLength = 45,
GRATXTCenter = 51, GRATXTCenter = 51,
GRATXTEdge = 52, //Largest GRATXTEdge = 52,
GrowthRateXML = 50, GrowthRateXML = 50,
Hall = 10, Hall = 10,
HgCV = 23, HgCV = 23,
@ -38,6 +38,7 @@ public enum Test
RPMPLRatio = 17, RPMPLRatio = 17,
RPMXY = 15, RPMXY = 15,
SP1 = 8, SP1 = 8,
SRP2100 = 53, //Largest
Tencor = 7, Tencor = 7,
UV = 35, UV = 35,
VerificationLehighton = 14, VerificationLehighton = 14,

View File

@ -47,9 +47,7 @@ public class HGCV1 : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose(); EAFLoggingUnitTesting?.Dispose();
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV1__pcl() public void Staging__v2_49_0__HGCV1__pcl()
{ {

View File

@ -47,9 +47,7 @@ public class HGCV2 : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose(); EAFLoggingUnitTesting?.Dispose();
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV2__pcl() public void Staging__v2_49_0__HGCV2__pcl()
{ {

View File

@ -47,9 +47,7 @@ public class HGCV3 : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose(); EAFLoggingUnitTesting?.Dispose();
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV3__pcl() public void Staging__v2_49_0__HGCV3__pcl()
{ {

View File

@ -47,9 +47,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose(); EAFLoggingUnitTesting?.Dispose();
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles() public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles()
{ {
@ -60,9 +58,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer() public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer()
{ {
@ -73,9 +69,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__IQSSi() public void Staging__v2_49_0__MET08RESIHGCV__IQSSi()
{ {
@ -86,9 +80,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight() public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight()
{ {
@ -99,9 +91,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments()
{ {
@ -112,9 +102,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__APC() public void Staging__v2_49_0__MET08RESIHGCV__APC()
{ {
@ -125,9 +113,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__SPaCe() public void Staging__v2_49_0__MET08RESIHGCV__SPaCe()
{ {
@ -138,9 +124,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__Processed() public void Staging__v2_49_0__MET08RESIHGCV__Processed()
{ {
@ -151,9 +135,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__Archive() public void Staging__v2_49_0__MET08RESIHGCV__Archive()
{ {
@ -164,9 +146,7 @@ public class MET08RESIHGCV : EAFLoggingUnitTesting
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__Dummy() public void Staging__v2_49_0__MET08RESIHGCV__Dummy()
{ {

View File

@ -0,0 +1,63 @@
using Adaptation._Tests.Shared;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_2;
[TestClass]
public class HGCV1 : EAFLoggingUnitTesting
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static HGCV1 EAFLoggingUnitTesting { get; private set; }
static HGCV1() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public HGCV1() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public HGCV1(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
EAFLoggingUnitTesting ??= new HGCV1(testContext);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
}
[ClassCleanup()]
public static void ClassCleanup()
{
EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup");
EAFLoggingUnitTesting?.Dispose();
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV1__pcl()
{
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
}

View File

@ -0,0 +1,63 @@
using Adaptation._Tests.Shared;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_2;
[TestClass]
public class HGCV2 : EAFLoggingUnitTesting
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static HGCV2 EAFLoggingUnitTesting { get; private set; }
static HGCV2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public HGCV2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public HGCV2(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
EAFLoggingUnitTesting ??= new HGCV2(testContext);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
}
[ClassCleanup()]
public static void ClassCleanup()
{
EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup");
EAFLoggingUnitTesting?.Dispose();
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV2__pcl()
{
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
}

View File

@ -0,0 +1,63 @@
using Adaptation._Tests.Shared;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_2;
[TestClass]
public class HGCV3 : EAFLoggingUnitTesting
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static HGCV3 EAFLoggingUnitTesting { get; private set; }
static HGCV3() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public HGCV3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public HGCV3(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
EAFLoggingUnitTesting ??= new HGCV3(testContext);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
}
[ClassCleanup()]
public static void ClassCleanup()
{
EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup");
EAFLoggingUnitTesting?.Dispose();
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV3__pcl()
{
string check = "*.pcl";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
}

View File

@ -0,0 +1,180 @@
using Adaptation._Tests.Shared;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_2;
[TestClass]
public class MET08RESIHGCV : EAFLoggingUnitTesting
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static MET08RESIHGCV EAFLoggingUnitTesting { get; private set; }
static MET08RESIHGCV() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public MET08RESIHGCV() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public MET08RESIHGCV(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
EAFLoggingUnitTesting ??= new MET08RESIHGCV(testContext);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
}
[ClassCleanup()]
public static void ClassCleanup()
{
EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup");
EAFLoggingUnitTesting?.Dispose();
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__IQSSi()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsight()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__APC()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__SPaCe()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__Processed()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__Archive()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__Dummy()
{
string check = "637400768625170000.zip";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
}

View File

@ -22,15 +22,11 @@ public class HGCV1
_HGCV1 = CreateSelfDescription.Staging.v2_49_0.HGCV1.EAFLoggingUnitTesting; _HGCV1 = CreateSelfDescription.Staging.v2_49_0.HGCV1.EAFLoggingUnitTesting;
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV1__pcl() => _HGCV1.Staging__v2_49_0__HGCV1__pcl(); public void Staging__v2_49_0__HGCV1__pcl() => _HGCV1.Staging__v2_49_0__HGCV1__pcl();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV1__pcl637955429602879992__Normal() public void Staging__v2_49_0__HGCV1__pcl637955429602879992__Normal()
{ {

View File

@ -22,15 +22,11 @@ public class HGCV2
_HGCV2 = CreateSelfDescription.Staging.v2_49_0.HGCV2.EAFLoggingUnitTesting; _HGCV2 = CreateSelfDescription.Staging.v2_49_0.HGCV2.EAFLoggingUnitTesting;
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV2__pcl() => _HGCV2.Staging__v2_49_0__HGCV2__pcl(); public void Staging__v2_49_0__HGCV2__pcl() => _HGCV2.Staging__v2_49_0__HGCV2__pcl();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV2__pcl637955471606299897__Normal() public void Staging__v2_49_0__HGCV2__pcl637955471606299897__Normal()
{ {

View File

@ -22,15 +22,11 @@ public class HGCV3
_HGCV3 = CreateSelfDescription.Staging.v2_49_0.HGCV3.EAFLoggingUnitTesting; _HGCV3 = CreateSelfDescription.Staging.v2_49_0.HGCV3.EAFLoggingUnitTesting;
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV3__pcl() => _HGCV3.Staging__v2_49_0__HGCV3__pcl(); public void Staging__v2_49_0__HGCV3__pcl() => _HGCV3.Staging__v2_49_0__HGCV3__pcl();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
[ExpectedException(typeof(AssertFailedException))] [ExpectedException(typeof(AssertFailedException))]
public void Staging__v2_49_0__HGCV3__pcl637812984345592512__MinFileLength() public void Staging__v2_49_0__HGCV3__pcl637812984345592512__MinFileLength()
@ -45,9 +41,7 @@ public class HGCV3
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV3__pcl637816384579205568__Normal() public void Staging__v2_49_0__HGCV3__pcl637816384579205568__Normal()
{ {
@ -61,9 +55,7 @@ public class HGCV3
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__HGCV3__pcl637955459372840332__Normal() public void Staging__v2_49_0__HGCV3__pcl637955459372840332__Normal()
{ {

View File

@ -22,15 +22,11 @@ public class MET08RESIHGCV
_MET08RESIHGCV = CreateSelfDescription.Staging.v2_49_0.MET08RESIHGCV.EAFLoggingUnitTesting; _MET08RESIHGCV = CreateSelfDescription.Staging.v2_49_0.MET08RESIHGCV.EAFLoggingUnitTesting;
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles(); public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal() public void Staging__v2_49_0__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal()
{ {
@ -44,15 +40,11 @@ public class MET08RESIHGCV
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer(); public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal() public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal()
{ {
@ -66,21 +58,15 @@ public class MET08RESIHGCV
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__IQSSi(); public void Staging__v2_49_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__IQSSi();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsight(); public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsight();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql() public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql()
{ {
@ -93,9 +79,7 @@ public class MET08RESIHGCV
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql() public void Staging__v2_49_0__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql()
{ {
@ -108,39 +92,27 @@ public class MET08RESIHGCV
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments(); public void Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__APC(); public void Staging__v2_49_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__APC();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__SPaCe(); public void Staging__v2_49_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__SPaCe();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Processed(); public void Staging__v2_49_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Processed();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Archive(); public void Staging__v2_49_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Archive();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Staging__v2_49_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Dummy(); public void Staging__v2_49_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_49_0__MET08RESIHGCV__Dummy();

View File

@ -0,0 +1,47 @@
using Adaptation.Shared;
using Adaptation.Shared.Methods;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_49_2;
[TestClass]
public class HGCV1
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_49_2.HGCV1 _HGCV1;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_49_2.HGCV1.ClassInitialize(testContext);
_HGCV1 = CreateSelfDescription.Staging.v2_49_2.HGCV1.EAFLoggingUnitTesting;
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV1__pcl() => _HGCV1.Staging__v2_49_2__HGCV1__pcl();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV1__pcl637955429602879992__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV1.Staging__v2_49_2__HGCV1__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV1.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV1.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
}
}

View File

@ -0,0 +1,47 @@
using Adaptation.Shared;
using Adaptation.Shared.Methods;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_49_2;
[TestClass]
public class HGCV2
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_49_2.HGCV2 _HGCV2;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_49_2.HGCV2.ClassInitialize(testContext);
_HGCV2 = CreateSelfDescription.Staging.v2_49_2.HGCV2.EAFLoggingUnitTesting;
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV2__pcl() => _HGCV2.Staging__v2_49_2__HGCV2__pcl();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV2__pcl637955471606299897__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV2.Staging__v2_49_2__HGCV2__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV2.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV2.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
}
}

View File

@ -0,0 +1,80 @@
using Adaptation.Shared;
using Adaptation.Shared.Methods;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_49_2;
[TestClass]
public class HGCV3
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_49_2.HGCV3 _HGCV3;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_49_2.HGCV3.ClassInitialize(testContext);
_HGCV3 = CreateSelfDescription.Staging.v2_49_2.HGCV3.EAFLoggingUnitTesting;
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV3__pcl() => _HGCV3.Staging__v2_49_2__HGCV3__pcl();
#if DEBUG
[Ignore]
#endif
[TestMethod]
[ExpectedException(typeof(AssertFailedException))]
public void Staging__v2_49_2__HGCV3__pcl637812984345592512__MinFileLength()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV3.Staging__v2_49_2__HGCV3__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV3__pcl637816384579205568__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV3.Staging__v2_49_2__HGCV3__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__HGCV3__pcl637955459372840332__Normal()
{
string check = "*.pcl";
bool validatePDSF = false;
_HGCV3.Staging__v2_49_2__HGCV3__pcl();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _HGCV3.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _HGCV3.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
}
}

View File

@ -0,0 +1,147 @@
using Adaptation.Shared;
using Adaptation.Shared.Methods;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_49_2;
[TestClass]
public class MET08RESIHGCV
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_49_2.MET08RESIHGCV _MET08RESIHGCV;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_49_2.MET08RESIHGCV.ClassInitialize(testContext);
_MET08RESIHGCV = CreateSelfDescription.Staging.v2_49_2.MET08RESIHGCV.EAFLoggingUnitTesting;
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal()
{
string check = "*.pdsf";
bool validatePDSF = false;
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__MoveMatchingFiles();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal()
{
string check = "*.pdsf";
bool validatePDSF = false;
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewer();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__IQSSi();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsight();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsight();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
_MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsight();
string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__APC() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__APC();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__SPaCe();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__Processed();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__Archive();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_2__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Staging__v2_49_2__MET08RESIHGCV__Dummy();
}

View File

@ -55,7 +55,7 @@ public class MET08RESIHGCV : LoggingUnitTesting, IDisposable
StringBuilder results = new(); StringBuilder results = new();
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
{ {
new("MET08RESIHGCV", "v2.47.5"), new("MET08RESIHGCV", "v2.49.2"),
}; };
string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2"; string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;

View File

@ -38,6 +38,13 @@ public class PCL : LoggingUnitTesting, IDisposable
LoggingUnitTesting?.Dispose(); LoggingUnitTesting?.Dispose();
} }
private static void NonThrowTryCatch()
{
try
{ throw new Exception(); }
catch (Exception) { }
}
[TestMethod] [TestMethod]
public void TestDateTime() public void TestDateTime()
{ {
@ -171,10 +178,10 @@ public class PCL : LoggingUnitTesting, IDisposable
Assert.IsTrue(descriptor.Reactor is "75"); Assert.IsTrue(descriptor.Reactor is "75");
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Zone)); Assert.IsTrue(string.IsNullOrEmpty(descriptor.Zone));
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Employee)); Assert.IsTrue(string.IsNullOrEmpty(descriptor.Employee));
descriptor = FileHandlers.pcl.ProcessData.GetDescriptor("p5801"); descriptor = FileHandlers.pcl.ProcessData.GetDescriptor("B48");
Assert.IsTrue(descriptor.Lot == "P5801"); Assert.IsTrue(descriptor.Lot == "B48");
descriptor = FileHandlers.pcl.ProcessData.GetDescriptor("P5801"); descriptor = FileHandlers.pcl.ProcessData.GetDescriptor("B48");
Assert.IsTrue(descriptor.Lot == "P5801"); Assert.IsTrue(descriptor.Lot == "B48");
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Layer)); Assert.IsTrue(string.IsNullOrEmpty(descriptor.Layer));
Assert.IsTrue(string.IsNullOrEmpty(descriptor.PSN)); Assert.IsTrue(string.IsNullOrEmpty(descriptor.PSN));
Assert.IsTrue(string.IsNullOrEmpty(descriptor.PSN)); Assert.IsTrue(string.IsNullOrEmpty(descriptor.PSN));
@ -182,6 +189,7 @@ public class PCL : LoggingUnitTesting, IDisposable
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Zone)); Assert.IsTrue(string.IsNullOrEmpty(descriptor.Zone));
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Employee)); Assert.IsTrue(string.IsNullOrEmpty(descriptor.Employee));
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
NonThrowTryCatch();
} }
#if DEBUG #if DEBUG
@ -194,9 +202,12 @@ public class PCL : LoggingUnitTesting, IDisposable
StringBuilder results = new(); StringBuilder results = new();
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
{ {
new("HGCV1", "v2.47.5"), new("HGCV1", "v2.49.2"),
new("HGCV2", "v2.47.5"), new("HGCV2", "v2.49.2"),
new("HGCV3", "v2.47.5"), new("HGCV3", "v2.49.2"),
new("HGCV1-EQPT", "v2.12.3"),
new("HGCV2-EQPT", "v2.12.3"),
new("HGCV3-EQPT", "v2.12.3"),
}; };
string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2"; string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;

View File

@ -165,7 +165,7 @@ public partial class FileRead : FileReaderHandler, ISMTP
Equipment.SelfDescriptionBuilder.AddParameterTypeDefinition(structuredType); Equipment.SelfDescriptionBuilder.AddParameterTypeDefinition(structuredType);
} }
if (!parameterTypeDefinitions.ContainsKey(jsonProperty.Value.ValueKind)) if (!parameterTypeDefinitions.ContainsKey(jsonProperty.Value.ValueKind))
throw new Exception(string.Concat('{', jsonProperty.Value.ValueKind, "} is not mapped!")); throw new Exception(string.Concat('<', jsonProperty.Name, "> {", jsonProperty.Value.ValueKind, "} is not mapped!"));
} }
foreach (JsonProperty jsonProperty in jsonProperties) foreach (JsonProperty jsonProperty in jsonProperties)
{ {

View File

@ -165,7 +165,7 @@
<Version>7.2.4630.5</Version> <Version>7.2.4630.5</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Infineon.EAF.Runtime"> <PackageReference Include="Infineon.EAF.Runtime">
<Version>2.49.0</Version> <Version>2.49.2</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Pdfbox"> <PackageReference Include="Pdfbox">
<Version>1.1.1</Version> <Version>1.1.1</Version>

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.49.0.0")] [assembly: AssemblyVersion("2.49.2.0")]
[assembly: AssemblyFileVersion("2.49.0.0")] [assembly: AssemblyFileVersion("2.49.2.0")]