dotnet test -c Release

Passed!  - Failed:     0, Passed:    33, Skipped:   140, Total:   173
This commit is contained in:
2023-01-26 13:23:35 -07:00
parent 2ab1489909
commit 589844bc37
21 changed files with 498 additions and 1168 deletions

View File

@ -23,22 +23,23 @@ public class BIORAD4
_BIORAD4 = CreateSelfDescription.Staging.v2_47_0.BIORAD4.EAFLoggingUnitTesting;
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__txt() => _BIORAD4.Staging__v2_47_0__BIORAD4__txt();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__txt637730081979221342__Normal()
{
bool validatePDSF = false;
string check = "*DataBioRad.txt";
_BIORAD4.Staging__v2_47_0__BIORAD4__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
_ = Shared.AdaptationTesting.GetLogisticsColumnsAndBody(variables[2], variables[4]);
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
@ -47,83 +48,88 @@ public class BIORAD4
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__txt637818036815840307__ProcessFailed()
{
bool validatePDSF = false;
string check = "*DataBioRad.txt";
_BIORAD4.Staging__v2_47_0__BIORAD4__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
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 true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__txt637746296480404920__Failure()
{
bool validatePDSF = false;
string check = "*DataBioRad.txt";
_BIORAD4.Staging__v2_47_0__BIORAD4__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
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 true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__Stratus() => _BIORAD4.Staging__v2_47_0__BIORAD4__Stratus();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__Stratus637730081979221342__RDS()
{
bool validatePDSF = false;
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_0__BIORAD4__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__Stratus637730081979221342__1TRDS()
{
bool validatePDSF = false;
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_0__BIORAD4__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
{
DateTime dateTime;
bool validatePDSF = false;
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_0__BIORAD4__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
@ -133,37 +139,39 @@ public class BIORAD4
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__Stratus637818036815840307__ProcessFailed()
{
bool validatePDSF = false;
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_0__BIORAD4__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
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 true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__QS408M() => _BIORAD4.Staging__v2_47_0__BIORAD4__QS408M();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD4__Stratus638010209430211312__MissingRecipe()
{
bool validatePDSF = false;
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_0__BIORAD4__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
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]);

View File

@ -23,23 +23,24 @@ public class BIORAD5
_BIORAD5 = CreateSelfDescription.Staging.v2_47_0.BIORAD5.EAFLoggingUnitTesting;
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD5__txt() => _BIORAD5.Staging__v2_47_0__BIORAD5__txt();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD5__txt637805172599370243__Why()
{
DateTime dateTime;
bool validatePDSF = false;
string check = "*DataBioRad.txt";
_BIORAD5.Staging__v2_47_0__BIORAD5__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check);
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
@ -49,23 +50,24 @@ public class BIORAD5
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD5__Stratus() => _BIORAD5.Staging__v2_47_0__BIORAD5__Stratus();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
{
DateTime dateTime;
bool validatePDSF = false;
string check = "CassetteDataBioRad_*.txt";
_BIORAD5.Staging__v2_47_0__BIORAD5__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check);
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
@ -75,17 +77,18 @@ public class BIORAD5
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__BIORAD5__Stratus637805172599370243__Why()
{
DateTime dateTime;
bool validatePDSF = false;
string check = "CassetteDataBioRad_*.txt";
_BIORAD5.Staging__v2_47_0__BIORAD5__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check);
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
@ -95,7 +98,7 @@ public class BIORAD5
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]

View File

@ -1,112 +0,0 @@
using Adaptation._Tests.Shared;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_47_0;
[TestClass]
public class MET08THFTIRSTRATUS
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_47_0.MET08THFTIRSTRATUS _MET08THFTIRSTRATUS;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_47_0.MET08THFTIRSTRATUS.ClassInitialize(testContext);
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_47_0.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__MoveMatchingFiles();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__IQSSi();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsight() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsight();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsight638014829236768047__Normal()
{
string check = "*.pdsf";
_MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsight();
MethodBase method = new StackFrame().GetMethod();
string[] variables = _MET08THFTIRSTRATUS.AdaptationTesting.GetVariables(method, check);
_ = _MET08THFTIRSTRATUS.AdaptationTesting.Get(method, variables[2], variables[3], false).ReExtract();
AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsight638015284160909324__WO()
{
string check = "*.pdsf";
_MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsight();
MethodBase method = new StackFrame().GetMethod();
string[] variables = _MET08THFTIRSTRATUS.AdaptationTesting.GetVariables(method, check);
_ = _MET08THFTIRSTRATUS.AdaptationTesting.Get(method, variables[2], variables[3], false).ReExtract();
AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__APC();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__SPaCe();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__Processed();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__Archive();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__MET08THFTIRSTRATUS__Dummy() => _MET08THFTIRSTRATUS.Staging__v2_47_0__MET08THFTIRSTRATUS__Dummy();
}

View File

@ -1,172 +0,0 @@
using Adaptation.Shared;
using Adaptation.Shared.Methods;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_47_1;
[TestClass]
public class BIORAD4
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_47_1.BIORAD4 _BIORAD4;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_47_1.BIORAD4.ClassInitialize(testContext);
_BIORAD4 = CreateSelfDescription.Staging.v2_47_1.BIORAD4.EAFLoggingUnitTesting;
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__txt() => _BIORAD4.Staging__v2_47_1__BIORAD4__txt();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__txt637730081979221342__Normal()
{
string check = "*DataBioRad.txt";
_BIORAD4.Staging__v2_47_1__BIORAD4__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD4.AdaptationTesting.GetVariables(methodBase, check);
_ = Shared.AdaptationTesting.GetLogisticsColumnsAndBody(variables[2], variables[4]);
IFileRead fileRead = _BIORAD4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
_ = fileRead.ReExtract();
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__txt637818036815840307__ProcessFailed()
{
string check = "*DataBioRad.txt";
_BIORAD4.Staging__v2_47_1__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();
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__txt637746296480404920__Failure()
{
string check = "*DataBioRad.txt";
_BIORAD4.Staging__v2_47_1__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();
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__Stratus() => _BIORAD4.Staging__v2_47_1__BIORAD4__Stratus();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__Stratus637730081979221342__RDS()
{
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_1__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);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__Stratus637730081979221342__1TRDS()
{
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_1__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);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__Stratus637733400573863329__ReactorAndRDS()
{
DateTime dateTime;
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_1__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);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty);
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39");
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__Stratus637818036815840307__ProcessFailed()
{
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_1__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();
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__QS408M() => _BIORAD4.Staging__v2_47_1__BIORAD4__QS408M();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD4__Stratus638010209430211312__MissingRecipe()
{
string check = "CassetteDataBioRad_*.txt";
_BIORAD4.Staging__v2_47_1__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();
Shared.AdaptationTesting.UpdatePassDirectory(variables[2]);
}
}

View File

@ -1,104 +0,0 @@
using Adaptation.Shared;
using Adaptation.Shared.Methods;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Staging.v2_47_1;
[TestClass]
public class BIORAD5
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Staging.v2_47_1.BIORAD5 _BIORAD5;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Staging.v2_47_1.BIORAD5.ClassInitialize(testContext);
_BIORAD5 = CreateSelfDescription.Staging.v2_47_1.BIORAD5.EAFLoggingUnitTesting;
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD5__txt() => _BIORAD5.Staging__v2_47_1__BIORAD5__txt();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD5__txt637805172599370243__Why()
{
DateTime dateTime;
string check = "*DataBioRad.txt";
_BIORAD5.Staging__v2_47_1__BIORAD5__txt();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check);
IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty);
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39");
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD5__Stratus() => _BIORAD5.Staging__v2_47_1__BIORAD5__Stratus();
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD5__Stratus637738592809956919__ReactorAndRDS()
{
DateTime dateTime;
string check = "CassetteDataBioRad_*.txt";
_BIORAD5.Staging__v2_47_1__BIORAD5__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check);
IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty);
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39");
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD5__Stratus637805172599370243__Why()
{
DateTime dateTime;
string check = "CassetteDataBioRad_*.txt";
_BIORAD5.Staging__v2_47_1__BIORAD5__Stratus();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _BIORAD5.AdaptationTesting.GetVariables(methodBase, check);
IFileRead fileRead = _BIORAD5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty);
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39");
Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
}
#if true
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__BIORAD5__QS408M() => _BIORAD5.Staging__v2_47_1__BIORAD5__QS408M();
}

View File

@ -23,25 +23,25 @@ public class MET08THFTIRSTRATUS
_MET08THFTIRSTRATUS = CreateSelfDescription.Staging.v2_47_1.MET08THFTIRSTRATUS.EAFLoggingUnitTesting;
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__MoveMatchingFiles();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewer();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08THFTIRSTRATUS__IQSSi() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__IQSSi();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
@ -59,7 +59,7 @@ public class MET08THFTIRSTRATUS
AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
@ -73,7 +73,7 @@ public class MET08THFTIRSTRATUS
AdaptationTesting.UpdatePassDirectory(variables[2]);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
@ -88,37 +88,37 @@ public class MET08THFTIRSTRATUS
_ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
}
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsightMetrologyViewerAttachments();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08THFTIRSTRATUS__APC() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__APC();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08THFTIRSTRATUS__SPaCe() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__SPaCe();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08THFTIRSTRATUS__Processed() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__Processed();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08THFTIRSTRATUS__Archive() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__Archive();
#if true
#if DEBUG
[Ignore]
#endif
[TestMethod]