200 lines
		
	
	
		
			7.7 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			200 lines
		
	
	
		
			7.7 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| #if v2_58_0
 | |
| 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_58_0;
 | |
| 
 | |
| [TestClass]
 | |
| public class MET08RESIHGCV
 | |
| {
 | |
| 
 | |
| #pragma warning disable CA2254
 | |
| #pragma warning disable IDE0060
 | |
| 
 | |
|     private static CreateSelfDescription.Production.v2_58_0.MET08RESIHGCV _MET08RESIHGCV;
 | |
| 
 | |
|     [ClassInitialize]
 | |
|     public static void ClassInitialize(TestContext testContext)
 | |
|     {
 | |
|         CreateSelfDescription.Production.v2_58_0.MET08RESIHGCV.ClassInitialize(testContext);
 | |
|         _MET08RESIHGCV = CreateSelfDescription.Production.v2_58_0.MET08RESIHGCV.EAFLoggingUnitTesting;
 | |
|     }
 | |
| 
 | |
|     private static void NonThrowTryCatch()
 | |
|     {
 | |
|         try
 | |
|         { throw new Exception(); }
 | |
|         catch (Exception) { }
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__MoveMatchingFiles() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__MoveMatchingFiles();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__MoveMatchingFiles637955459372840332__Normal()
 | |
|     {
 | |
|         string check = "*.pdsf";
 | |
|         bool validatePDSF = false;
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__MoveMatchingFiles();
 | |
|         string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
 | |
|         IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__OpenInsightMetrologyViewer() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__OpenInsightMetrologyViewer();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__OpenInsightMetrologyViewer637961644453719245__Normal()
 | |
|     {
 | |
|         string check = "*.pdsf";
 | |
|         bool validatePDSF = false;
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__OpenInsightMetrologyViewer();
 | |
|         string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
 | |
|         IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__IQSSi() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__IQSSi();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__OpenInsight() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__OpenInsight();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__OpenInsight638054470203066399__IqsSql()
 | |
|     {
 | |
|         string check = "*.pdsf";
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__OpenInsight();
 | |
|         string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
 | |
|         IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__OpenInsight638116020180910181__IqsSql()
 | |
|     {
 | |
|         string check = "*.pdsf";
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__OpenInsight();
 | |
|         string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
 | |
|         IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments638116020180910181__Viewer()
 | |
|     {
 | |
|         string check = "*.pdsf";
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__OpenInsightMetrologyViewerAttachments();
 | |
|         string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
 | |
|         IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__APC() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__APC();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__SPaCe() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__SPaCe();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__Processed() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__Processed();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__Archive() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__Archive();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__Dummy() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__Dummy();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__InterceptIQS() => _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__InterceptIQS();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_58_0__MET08RESIHGCV__InterceptIQS638507610398652181__First()
 | |
|     {
 | |
|         string check = "HgCV_Unload_Res_9Points*.txt";
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08RESIHGCV.Production__v2_58_0__MET08RESIHGCV__InterceptIQS();
 | |
|         string[] variables = _MET08RESIHGCV.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
 | |
|         IFileRead fileRead = _MET08RESIHGCV.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| }
 | |
| #endif |