diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD4.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD4.cs index ef5c532..4c2e289 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD4.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD4.cs @@ -29,25 +29,6 @@ public class BIORAD4 [TestMethod] public void Staging__v2_47_0__BIORAD4__txt() => _BIORAD4.Staging__v2_47_0__BIORAD4__txt(); -#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, validatePDSF); - - _ = 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 DEBUG [Ignore] #endif @@ -99,7 +80,7 @@ public class BIORAD4 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); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } #if DEBUG @@ -115,7 +96,7 @@ public class BIORAD4 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); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); } #if DEBUG @@ -132,7 +113,7 @@ public class BIORAD4 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); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty); Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39"); diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD5.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD5.cs index 19db8ab..5af5b88 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/BIORAD5.cs @@ -29,27 +29,6 @@ public class BIORAD5 [TestMethod] public void Staging__v2_47_0__BIORAD5__txt() => _BIORAD5.Staging__v2_47_0__BIORAD5__txt(); -#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, 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); - 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 DEBUG [Ignore] #endif @@ -70,7 +49,7 @@ public class BIORAD5 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); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty); Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39"); @@ -91,7 +70,7 @@ public class BIORAD5 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); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, string.Empty); Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); dateTime = FileHandlers.Stratus.ProcessData.GetDateTime(logistics, "11/24/21 08:39"); diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08THFTIRSTRATUS.cs b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08THFTIRSTRATUS.cs index 1024d6a..209a932 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08THFTIRSTRATUS.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08THFTIRSTRATUS.cs @@ -29,7 +29,7 @@ public class MET08THFTIRSTRATUS [TestMethod] public void Staging__v2_47_1__MET08THFTIRSTRATUS__MoveMatchingFiles() => _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__MoveMatchingFiles(); -#if !(DEBUG) +#if DEBUG [Ignore] #endif [TestMethod] @@ -80,9 +80,10 @@ public class MET08THFTIRSTRATUS public void Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsight638054540026319596__IqsSql() { string check = "*.pdsf"; + bool validatePDSF = false; MethodBase methodBase = new StackFrame().GetMethod(); _MET08THFTIRSTRATUS.Staging__v2_47_1__MET08THFTIRSTRATUS__OpenInsight(); - string[] variables = _MET08THFTIRSTRATUS.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + string[] variables = _MET08THFTIRSTRATUS.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); IFileRead fileRead = _MET08THFTIRSTRATUS.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); Logistics logistics = new(fileRead); _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);