From e365af3f6fd7bb755790dad72ed02df1327ad9d7 Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Wed, 12 Jun 2024 09:58:26 -0700 Subject: [PATCH] Bug fixes --- Adaptation/FileHandlers/csv/FileRead.cs | 3 ++- .../CreateSelfDescription/Staging/v2.56.0/METCLIMATEC.cs | 2 +- Adaptation/_Tests/Extract/Staging/v2.56.0/METCLIMATEC.cs | 1 + Adaptation/_Tests/Extract/Staging/v2.56.0/TRENDLOG.cs | 2 +- Properties/AssemblyInfo.cs | 4 ++-- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Adaptation/FileHandlers/csv/FileRead.cs b/Adaptation/FileHandlers/csv/FileRead.cs index b46d410..ccb4440 100644 --- a/Adaptation/FileHandlers/csv/FileRead.cs +++ b/Adaptation/FileHandlers/csv/FileRead.cs @@ -138,7 +138,8 @@ public class FileRead : Shared.FileRead, IFileRead if (iProcessData.Details.Count == 0) throw new Exception(string.Concat("C) No Data - ", dateTime.Ticks)); results = iProcessData.GetResults(this, _Logistics, results.Item4); - File.Delete(reportFullPath); + if (_IsEAFHosted) + File.Delete(reportFullPath); } #nullable disable return results; diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/METCLIMATEC.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/METCLIMATEC.cs index 7120448..a8175e7 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/METCLIMATEC.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/METCLIMATEC.cs @@ -106,7 +106,7 @@ public class METCLIMATEC : EAFLoggingUnitTesting [TestMethod] public void Staging__v2_56_0__METCLIMATEC__Dummy() { - string check = "637400762709163000.zip"; + string check = "637953064190000000.zip"; MethodBase methodBase = new StackFrame().GetMethod(); EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/METCLIMATEC.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/METCLIMATEC.cs index edf28ef..096f87a 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.56.0/METCLIMATEC.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/METCLIMATEC.cs @@ -53,6 +53,7 @@ public class METCLIMATEC IFileRead fileRead = _METCLIMATEC.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); Logistics logistics = new(fileRead); _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); } #if DEBUG diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/TRENDLOG.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/TRENDLOG.cs index 5153c86..f82baa1 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.56.0/TRENDLOG.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/TRENDLOG.cs @@ -65,7 +65,7 @@ public class TRENDLOG [Ignore] #endif [TestMethod] - public void Staging__v2_56_0__TRENDLOG__csv638465291633220311__Normal() + public void Staging__v2_56_0__TRENDLOG__csv638465291633220312__Normal() { bool validatePDSF = false; string check = "*.csv.trg"; diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index c81fc13..976fc2d 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.52.2.0")] -[assembly: AssemblyFileVersion("2.52.2.0")] +[assembly: AssemblyVersion("2.56.0.0")] +[assembly: AssemblyFileVersion("2.56.0.0")]