Infineon.EAF.Runtime v2.59.0
This commit is contained in:
		
							
								
								
									
										59
									
								
								Adaptation/_Tests/Extract/Production/v2.59.0/HGCV1.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								Adaptation/_Tests/Extract/Production/v2.59.0/HGCV1.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,59 @@ | ||||
| #if true | ||||
| using Adaptation._Tests.Shared; | ||||
| 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_59_0; | ||||
|  | ||||
| [TestClass] | ||||
| public class HGCV1 | ||||
| { | ||||
|  | ||||
| #pragma warning disable CA2254 | ||||
| #pragma warning disable IDE0060 | ||||
|  | ||||
|     private static CreateSelfDescription.Production.v2_59_0.HGCV1 _HGCV1; | ||||
|  | ||||
|     [ClassInitialize] | ||||
|     public static void ClassInitialize(TestContext testContext) | ||||
|     { | ||||
|         CreateSelfDescription.Production.v2_59_0.HGCV1.ClassInitialize(testContext); | ||||
|         _HGCV1 = CreateSelfDescription.Production.v2_59_0.HGCV1.EAFLoggingUnitTesting; | ||||
|     } | ||||
|  | ||||
|     private static void NonThrowTryCatch() | ||||
|     { | ||||
|         try | ||||
|         { throw new Exception(); } | ||||
|         catch (Exception) { } | ||||
|     } | ||||
|  | ||||
| #if DEBUG | ||||
|     [Ignore] | ||||
| #endif | ||||
|     [TestMethod] | ||||
|     public void Production__v2_59_0__HGCV1__pcl() => _HGCV1.Production__v2_59_0__HGCV1__pcl(); | ||||
|  | ||||
| #if DEBUG | ||||
|     [Ignore] | ||||
| #endif | ||||
|     [TestMethod] | ||||
|     public void Production__v2_59_0__HGCV1__pcl637955429602879992__Normal() | ||||
|     { | ||||
|         string check = "*.pcl"; | ||||
|         bool validatePDSF = false; | ||||
|         _HGCV1.Production__v2_59_0__HGCV1__pcl(); | ||||
|         MethodBase methodBase = new StackFrame().GetMethod(); | ||||
|         string[] variables = _HGCV1.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); | ||||
|         IFileRead fileRead = _HGCV1.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); | ||||
|         Logistics logistics = new(fileRead); | ||||
|         _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); | ||||
|         NonThrowTryCatch(); | ||||
|     } | ||||
|  | ||||
| } | ||||
| #endif | ||||
		Reference in New Issue
	
	Block a user