v2.49.2 40 Tests Passed

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

View File

@ -55,7 +55,7 @@ public class MET08RESIHGCV : LoggingUnitTesting, IDisposable
StringBuilder results = new();
(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";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;

View File

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