Infineon.EAF.Runtime v2.60.0

This commit is contained in:
2025-06-16 11:31:20 -07:00
parent 87c9149e7e
commit 5a601420f4
30 changed files with 2279 additions and 1295 deletions

View File

@ -0,0 +1,58 @@
#if true
using Adaptation.Shared;
using Adaptation.Shared.Methods;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.Reflection;
namespace Adaptation._Tests.Extract.Production.v2_60_0;
[TestClass]
public class SRP
{
#pragma warning disable CA2254
#pragma warning disable IDE0060
private static CreateSelfDescription.Production.v2_60_0.SRP _SRP;
[ClassInitialize]
public static void ClassInitialize(TestContext testContext)
{
CreateSelfDescription.Production.v2_60_0.SRP.ClassInitialize(testContext);
_SRP = CreateSelfDescription.Production.v2_60_0.SRP.EAFLoggingUnitTesting;
}
private static void NonThrowTryCatch()
{
try
{ throw new Exception(); }
catch (Exception) { }
}
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Production__v2_60_0__SRP__json() => _SRP.Production__v2_60_0__SRP__json();
#if DEBUG
[Ignore]
#endif
[TestMethod]
public void Production__v2_60_0__SRP__json638185594063339969__First()
{
string check = "*.json";
bool validatePDSF = false;
_SRP.Production__v2_60_0__SRP__json();
MethodBase methodBase = new StackFrame().GetMethod();
string[] variables = _SRP.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
IFileRead fileRead = _SRP.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
Logistics logistics = new(fileRead);
_ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
NonThrowTryCatch();
}
}
#endif