Descriptor time format
This commit is contained in:
@ -38,6 +38,13 @@ public class Stratus : LoggingUnitTesting, IDisposable
|
||||
LoggingUnitTesting?.Dispose();
|
||||
}
|
||||
|
||||
private static void NonThrowTryCatch()
|
||||
{
|
||||
try
|
||||
{ throw new Exception(); }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void TestDateTime()
|
||||
{
|
||||
@ -171,10 +178,10 @@ public class Stratus : LoggingUnitTesting, IDisposable
|
||||
Assert.IsTrue(descriptor.Reactor is "75");
|
||||
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Zone));
|
||||
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Employee));
|
||||
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("p5801");
|
||||
Assert.IsTrue(descriptor.Cassette == "P5801");
|
||||
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("P5801");
|
||||
Assert.IsTrue(descriptor.Cassette == "P5801");
|
||||
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("B48");
|
||||
Assert.IsTrue(descriptor.Cassette == "B48");
|
||||
descriptor = FileHandlers.Stratus.ProcessData.GetDescriptor("B48");
|
||||
Assert.IsTrue(descriptor.Cassette == "B48");
|
||||
Assert.IsTrue(string.IsNullOrEmpty(descriptor.Layer));
|
||||
Assert.IsTrue(string.IsNullOrEmpty(descriptor.PSN));
|
||||
Assert.IsTrue(string.IsNullOrEmpty(descriptor.PSN));
|
||||
@ -182,9 +189,12 @@ public class Stratus : 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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user