FourteenPoint and json tool file

This commit is contained in:
2023-05-02 10:46:36 -07:00
parent 8768aa72ce
commit 8e99879acd
13 changed files with 589 additions and 278 deletions

View File

@ -38,6 +38,13 @@ public class QS408M : LoggingUnitTesting, IDisposable
LoggingUnitTesting?.Dispose();
}
private static void NonThrowTryCatch()
{
try
{ throw new Exception(); }
catch (Exception) { }
}
[TestMethod]
public void TestDateTime()
{
@ -174,10 +181,10 @@ public class QS408M : LoggingUnitTesting, IDisposable
Assert.IsTrue(descriptor.Reactor is "75");
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Zone));
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Employee));
descriptor = FileHandlers.QS408M.ProcessData.GetDescriptor("p5801");
Assert.IsTrue(descriptor.Wafer == "P5801");
descriptor = FileHandlers.QS408M.ProcessData.GetDescriptor("P5801");
Assert.IsTrue(descriptor.Wafer == "P5801");
descriptor = FileHandlers.QS408M.ProcessData.GetDescriptor("B48");
Assert.IsTrue(descriptor.Wafer == "B48");
descriptor = FileHandlers.QS408M.ProcessData.GetDescriptor("B48");
Assert.IsTrue(descriptor.Wafer == "B48");
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Layer));
Assert.IsTrue(string.IsNullOrEmpty(descriptor.PSN));
Assert.IsTrue(string.IsNullOrEmpty(descriptor.PSN));
@ -185,9 +192,12 @@ public class QS408M : 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
[Ignore]
#endif
[TestMethod]
public void Staging()
{