MET08THFTIRSTRATUS - v2.39.0 - ProcessFailed

This commit is contained in:
2022-03-02 09:54:30 -07:00
parent 524afe5639
commit 75974ae87d
5 changed files with 38 additions and 10 deletions

View File

@ -44,6 +44,18 @@ public class BIORAD4
Helpers.Metrology.UpdatePassDirectory(variables[2]);
}
[TestMethod]
public void Staging__v2_39_0__BIORAD4__txt637818036815840307__ProcessFailed()
{
string check = "*DataBioRad.txt";
_BIORAD4.Staging__v2_39_0__BIORAD4__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
_ = fileRead.ReExtract();
Helpers.Metrology.UpdatePassDirectory(variables[2]);
}
[TestMethod]
public void Staging__v2_39_0__BIORAD4__txt637746296480404920__Failure()
{
@ -51,10 +63,7 @@ public class BIORAD4
_BIORAD4.Staging__v2_39_0__BIORAD4__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
_ = Helpers.Metrology.GetLogisticsColumnsAndBody(variables[2], variables[4]);
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
_ = fileRead.ReExtract();
Helpers.Metrology.UpdatePassDirectory(variables[2]);
}
@ -103,6 +112,18 @@ public class BIORAD4
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
[TestMethod]
public void Staging__v2_39_0__BIORAD4__Stratus637818036815840307__ProcessFailed()
{
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_39_0__BIORAD4__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
_ = fileRead.ReExtract();
Helpers.Metrology.UpdatePassDirectory(variables[2]);
}
[TestMethod]
public void Staging__v2_39_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_39_0__BIORAD4__QS408M();