Descriptor time format
This commit is contained in:
@ -77,6 +77,22 @@ public class BIORAD4
|
||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging__v2_49_0__BIORAD4__txt638187028378748930__THigh()
|
||||
{
|
||||
bool validatePDSF = false;
|
||||
string check = "*DataBioRad.txt";
|
||||
_BIORAD4.Staging__v2_49_0__BIORAD4__txt();
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
|
||||
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
||||
_ = fileRead.ReExtract();
|
||||
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
|
@ -45,7 +45,9 @@ public class MET08THFTIRSTRATUS : LoggingUnitTesting, IDisposable
|
||||
Assert.IsTrue(dateTime.ToString("M/d/yyyy h:mm:ss tt") == dateTime.ToString());
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
public void Staging()
|
||||
{
|
||||
|
@ -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