Infineon.EAF.Runtime 2.49.0

net6.0 to net7.0
Removed hasRDS that was added for P2-LOW-RR
This commit is contained in:
2023-04-18 13:48:58 -07:00
parent 3c30da0bb1
commit 025ec077f5
19 changed files with 340 additions and 108 deletions

View File

@ -46,9 +46,7 @@ public class SP101_EQPT : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose();
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__SP101_EQPT__MoveAllFiles()
{

View File

@ -47,9 +47,7 @@ public class SP101 : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose();
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_0__SP101__txt()
{

View File

@ -6,7 +6,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_47_1;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_0;
[TestClass]
public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
@ -51,7 +51,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__MoveMatchingFiles()
public void Staging__v2_49_0__MET08DDUPSP1TBI__MoveMatchingFiles()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -64,7 +64,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__OpenInsightMetrologyViewer()
public void Staging__v2_49_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewer()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -77,7 +77,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__IQSSi()
public void Staging__v2_49_0__MET08DDUPSP1TBI__IQSSi()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -90,7 +90,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__OpenInsight()
public void Staging__v2_49_0__MET08DDUPSP1TBI__OpenInsight()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -103,7 +103,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments()
public void Staging__v2_49_0__MET08DDUPSP1TBI__OpenInsightMetrologyViewerAttachments()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -116,7 +116,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__APC()
public void Staging__v2_49_0__MET08DDUPSP1TBI__APC()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -129,7 +129,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__SPaCe()
public void Staging__v2_49_0__MET08DDUPSP1TBI__SPaCe()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -142,7 +142,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__Processed()
public void Staging__v2_49_0__MET08DDUPSP1TBI__Processed()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -155,7 +155,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__Archive()
public void Staging__v2_49_0__MET08DDUPSP1TBI__Archive()
{
string check = "*.pdsf";
MethodBase methodBase = new StackFrame().GetMethod();
@ -168,7 +168,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
[Ignore]
#endif
[TestMethod]
public void Staging__v2_47_1__MET08DDUPSP1TBI__Dummy()
public void Staging__v2_49_0__MET08DDUPSP1TBI__Dummy()
{
string check = "637400762024374000.zip";
MethodBase methodBase = new StackFrame().GetMethod();

View File

@ -0,0 +1,63 @@
using Adaptation._Tests.Shared;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_0;
[TestClass]
public class SP101 : EAFLoggingUnitTesting
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
internal static string DummyRoot { get; private set; }
internal static SP101 EAFLoggingUnitTesting { get; private set; }
static SP101() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy";
public SP101() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)
{
if (EAFLoggingUnitTesting is null)
throw new Exception();
}
public SP101(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false)
{
}
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
EAFLoggingUnitTesting ??= new SP101(testContext);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize"));
string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName);
File.WriteAllText(fileNameAndText[0], fileNameAndText[1]);
File.WriteAllText(fileNameAndText[2], fileNameAndText[3]);
}
[ClassCleanup()]
public static void ClassCleanup()
{
EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup");
EAFLoggingUnitTesting?.Dispose();
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Staging__v2_49_0__SP101__txt()
{
string check = "*.txt";
MethodBase methodBase = new StackFrame().GetMethod();
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
}
}